History

net: ethtool: extend ringparam set/get APIs for tx_push

Currently tx push is a standard driver feature which controls use of a fast path descriptor push. So this patch extends the ringparam APIs and data structures to support set/get tx push by ethtool -G/g.

Jie Wang committed 4 years ago

Commit 4dc84c01 parent 0a03f3c5 files · +30 −3Browse files

Showing the changes to include/uapi (1 of 5 files). Show all

Unified · Split

include/uapi/linux/ethtool_netlink.h+1−0
@@ -338,6 +338,7 @@ enum { · 337 unmodified lines
338338 ETHTOOL_A_RINGS_RX_BUF_LEN, /* u32 */
339339 ETHTOOL_A_RINGS_TCP_DATA_SPLIT, /* u8 */
340340 ETHTOOL_A_RINGS_CQE_SIZE, /* u32 */
341+ ETHTOOL_A_RINGS_TX_PUSH, /* u8 */
341342
342343 /* add new constants above here */
343344 __ETHTOOL_A_RINGS_CNT,