From: Jakub Kicinski <kuba@kernel.org>
To: Sudheer Mogilappagari <sudheer.mogilappagari@intel.com>
Cc: netdev@vger.kernel.org, mkubecek@suse.cz,
sridhar.samudrala@intel.com, anthony.l.nguyen@intel.com
Subject: Re: [PATCH net-next] ethtool: add netlink support for rss set
Date: Thu, 9 Mar 2023 23:21:26 -0800 [thread overview]
Message-ID: <20230309232126.7067af28@kernel.org> (raw)
In-Reply-To: <20230309220544.177248-1-sudheer.mogilappagari@intel.com>
On Thu, 9 Mar 2023 14:05:44 -0800 Sudheer Mogilappagari wrote:
> Add netlink based support for "ethtool -X <dev>" command by
> implementing ETHTOOL_MSG_RSS_SET netlink message. This is
> equivalent to functionality provided via ETHTOOL_SRSSH in
> ioctl path. It allows creation and deletion of RSS context
> and modifying RSS table, hash key and hash function of an
> interface.
>
> Functionality is backward compatible with the one available
> in ioctl path but enables addition of new RSS context based
> parameters in future.
RSS contexts are somewhat under-defined, so I'd prefer to wait
until we actually need to extend the API before going to netlink.
I think I told you as much when you posted initial code for RSS?
> diff --git a/include/uapi/linux/ethtool_netlink.h b/include/uapi/linux/ethtool_netlink.h
> index d39ce21381c5..56c4e8570dc6 100644
> --- a/include/uapi/linux/ethtool_netlink.h
> +++ b/include/uapi/linux/ethtool_netlink.h
> @@ -52,6 +52,7 @@ enum {
> ETHTOOL_MSG_PSE_GET,
> ETHTOOL_MSG_PSE_SET,
> ETHTOOL_MSG_RSS_GET,
> + ETHTOOL_MSG_RSS_SET,
> ETHTOOL_MSG_PLCA_GET_CFG,
> ETHTOOL_MSG_PLCA_SET_CFG,
> ETHTOOL_MSG_PLCA_GET_STATUS,
You certainly can't add entries half way thru an enum in uAPI..
next prev parent reply other threads:[~2023-03-10 7:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-09 22:05 [PATCH net-next] ethtool: add netlink support for rss set Sudheer Mogilappagari
2023-03-10 7:21 ` Jakub Kicinski [this message]
2023-03-13 22:34 ` Mogilappagari, Sudheer
2023-03-13 22:53 ` Jakub Kicinski
2023-03-14 13:34 ` Edward Cree
2023-03-14 23:51 ` Mogilappagari, Sudheer
2023-03-15 4:24 ` Jakub Kicinski
2023-03-15 7:37 ` Michal Kubecek
2023-03-15 15:37 ` Mogilappagari, Sudheer
2023-03-15 4:23 ` Jakub Kicinski
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=20230309232126.7067af28@kernel.org \
--to=kuba@kernel.org \
--cc=anthony.l.nguyen@intel.com \
--cc=mkubecek@suse.cz \
--cc=netdev@vger.kernel.org \
--cc=sridhar.samudrala@intel.com \
--cc=sudheer.mogilappagari@intel.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.