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 _______________________________________________ Intel-wired-lan mailing list [email protected] https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
