Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v2 0/2] Support ethtool ntuple rule count change
@ 2021-07-23 18:16 Sunil Goutham
  2021-07-23 18:16 ` [PATCH v2 1/2] net: ethtool: Support setting ntuple rule count Sunil Goutham
  2021-07-23 18:16 ` [PATCH v2 2/2] octeontx2-pf: " Sunil Goutham
  0 siblings, 2 replies; 5+ messages in thread
From: Sunil Goutham @ 2021-07-23 18:16 UTC (permalink / raw)
  To: netdev, davem, kuba; +Cc: Sunil Goutham

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(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-07-26 22:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-23 18:16 [PATCH v2 0/2] Support ethtool ntuple rule count change Sunil Goutham
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

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).