Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Sunil Goutham <sgoutham@marvell.com>
To: <netdev@vger.kernel.org>, <davem@davemloft.net>, <kuba@kernel.org>
Cc: Sunil Goutham <sgoutham@marvell.com>
Subject: [PATCH v2 0/2] Support ethtool ntuple rule count change
Date: Fri, 23 Jul 2021 23:46:44 +0530 [thread overview]
Message-ID: <1627064206-16032-1-git-send-email-sgoutham@marvell.com> (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(-)
--
2.7.4
next 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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1627064206-16032-1-git-send-email-sgoutham@marvell.com \
--to=sgoutham@marvell.com \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--subject='Re: [PATCH v2 0/2] Support ethtool ntuple rule count change' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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).