Merge branch 'idpf-add-get-set-for-ethtool-s-header-split-ringparam'
authorJakub Kicinski <kuba@kernel.org>
Thu, 14 Dec 2023 02:22:10 +0000 (18:22 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 14 Dec 2023 02:22:10 +0000 (18:22 -0800)
commit36d8afbb2b89cdd4af1051d0a9afebb5511099df
tree892917a719668ce929927ebeac97eae07d39f242
parent173b6d1cdf582e7438b3ab4ef2f40e6833579490
parent9b1aa3ef2328aeef35b388c4c22323eaa792c1aa
Merge branch 'idpf-add-get-set-for-ethtool-s-header-split-ringparam'

Alexander Lobakin says:

====================
idpf: add get/set for Ethtool's header split ringparam

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

Link: https://lore.kernel.org/r/20231212142752.935000-1-aleksander.lobakin@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>