Netdev Archive on
help / color / mirror / Atom feed
From: Sunil Goutham <>
To: <>, <>, <>
Cc: Sunil Goutham <>
Subject: [PATCH v2 0/2] Support ethtool ntuple rule count change
Date: Fri, 23 Jul 2021 23:46:44 +0530	[thread overview]
Message-ID: <> (raw)

Some NICs share resources like packet filters across
multiple interfaces they support. From HW point of view
it is possible to use all filters for a single interface.
This 2 patch series adds support to modify ntuple rule
count for OcteonTx2 netdev.

Changes from v1:
   * No changes in code.
   * Previous discussion didn't conclude, submiting patches again to revive it.
   * Jakub suggested if devlink-resource can be used for this.
   * But since ntuple rule insert and delete are part of ethtool,
     I thought having this config also in ethtool makes sense ie
     all ntuple related stuff within one tool.
   * Also number of MCAM entries can be changed at runtime
     without a driver reload.

Sunil Goutham (2):
  net: ethtool: Support setting ntuple rule count
  octeontx2-pf: Support setting ntuple rule count

 .../ethernet/marvell/octeontx2/nic/otx2_common.h   |  1 +
 .../ethernet/marvell/octeontx2/nic/otx2_ethtool.c  |  3 +++
 .../ethernet/marvell/octeontx2/nic/otx2_flows.c    | 27 ++++++++++++++++++++--
 include/uapi/linux/ethtool.h                       |  1 +
 net/ethtool/ioctl.c                                |  1 +
 5 files changed, 31 insertions(+), 2 deletions(-)


             reply	other threads:[~2021-07-23 18:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-23 18:16 Sunil Goutham [this message]
2021-07-23 18:16 ` [PATCH v2 1/2] net: ethtool: Support setting ntuple rule count Sunil Goutham
2021-07-24 17:23   ` Andrew Lunn
2021-07-26 22:29     ` Saeed Mahameed
2021-07-23 18:16 ` [PATCH v2 2/2] octeontx2-pf: " Sunil Goutham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \
    --subject='Re: [PATCH v2 0/2] Support ethtool ntuple rule count change' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).