mbox series

[ethtool-next,v1,0/3] add netlink support for rss get

Message ID 20221214235418.1033834-1-sudheer.mogilappagari@intel.com (mailing list archive)
Headers show
Series add netlink support for rss get | expand

Message

Mogilappagari, Sudheer Dec. 14, 2022, 11:54 p.m. UTC
These patches add netlink based handler to fetch RSS information
using "ethtool -x <eth> [context %d]" command.

Signed-off-by: Sudheer Mogilappagari <sudheer.mogilappagari@intel.com>

Sudheer Mogilappagari (3):
  update UAPI header copies for RSS_GET support
  refactor functions that print rss information
  netlink: add netlink handler for get rss (-x)

 Makefile.am                  |   2 +-
 common.c                     |  43 ++++++++
 common.h                     |   7 ++
 ethtool.c                    |  44 +-------
 netlink/desc-ethtool.c       |  11 ++
 netlink/extapi.h             |   2 +
 netlink/rss.c                | 198 +++++++++++++++++++++++++++++++++++
 uapi/linux/ethtool_netlink.h |  14 +++
 8 files changed, 280 insertions(+), 41 deletions(-)
 create mode 100644 netlink/rss.c

Comments

Jakub Kicinski Dec. 15, 2022, 3:55 a.m. UTC | #1
On Wed, 14 Dec 2022 15:54:15 -0800 Sudheer Mogilappagari wrote:
> These patches add netlink based handler to fetch RSS information
> using "ethtool -x <eth> [context %d]" command.

Can we please support JSON output from the start?
I can't stress enough how useful json output is in practice.
Mogilappagari, Sudheer Dec. 16, 2022, 9:06 p.m. UTC | #2
> -----Original Message-----
> From: Jakub Kicinski <kuba@kernel.org>
> Subject: Re: [PATCH ethtool-next v1 0/3] add netlink support for rss
> get
> 
> On Wed, 14 Dec 2022 15:54:15 -0800 Sudheer Mogilappagari wrote:
> > These patches add netlink based handler to fetch RSS information
> using
> > "ethtool -x <eth> [context %d]" command.
> 
> Can we please support JSON output from the start?
> I can't stress enough how useful json output is in practice.

Sure. Will send out v2 with JSON support.