netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] idpf: add get/set for Ethtool's header split ringparam
@ 2023-12-12 14:27 Alexander Lobakin
  2023-12-12 14:27 ` [PATCH net-next 1/2] ethtool: add SET for TCP_DATA_SPLIT ringparam Alexander Lobakin
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Alexander Lobakin @ 2023-12-12 14:27 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: Alexander Lobakin, Michal Kubiak, Przemek Kitszel,
	Vladimir Oltean, Andrew Lunn, Michal Kubecek, Jiri Pirko,
	Paul Greenwalt, Tony Nguyen, intel-wired-lan, netdev,
	linux-kernel

Currently, the header split feature (putting headers in one smaller
buffer and then the data in a separate bigger one) is always enabled
in idpf when supported.
One may want to not have fragmented frames per each packet, for example,
to avoid XDP frags. To better optimize setups for particular workloads,
add ability to switch the header split state on and off via Ethtool's
ringparams, as well as to query the current status.
There's currently only GET in the Ethtool Netlink interface for now,
so add SET first. I suspect idpf is not the only one supporting this.

Alexander Lobakin (1):
  ethtool: add SET for TCP_DATA_SPLIT ringparam

Michal Kubiak (1):
  idpf: add get/set for Ethtool's header split ringparam

 drivers/net/ethernet/intel/idpf/idpf.h        |  7 +-
 .../net/ethernet/intel/idpf/idpf_ethtool.c    | 11 ++++
 drivers/net/ethernet/intel/idpf/idpf_lib.c    | 65 +++++++++++++++++++
 drivers/net/ethernet/intel/idpf/idpf_txrx.c   | 12 ++--
 .../net/ethernet/intel/idpf/idpf_virtchnl.c   |  2 +
 include/linux/ethtool.h                       |  2 +
 net/ethtool/rings.c                           | 12 ++++
 7 files changed, 104 insertions(+), 7 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2023-12-14  2:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-12 14:27 [PATCH net-next 0/2] idpf: add get/set for Ethtool's header split ringparam Alexander Lobakin
2023-12-12 14:27 ` [PATCH net-next 1/2] ethtool: add SET for TCP_DATA_SPLIT ringparam Alexander Lobakin
2023-12-12 14:27 ` [PATCH net-next 2/2] idpf: add get/set for Ethtool's header split ringparam Alexander Lobakin
2023-12-12 18:16 ` [PATCH net-next 0/2] " Jakub Kicinski
2023-12-14  2:40 ` patchwork-bot+netdevbpf

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