History

ethtool: Add support for configuring tx_push_buf_len

This attribute, which is part of ethtool's ring param configuration allows the user to specify the maximum number of the packet's payload that can be written directly to the device. Example usage: # ethtool -G [interface] tx-push-buf-len [number of bytes]

Shay Agroskin committed 3 years ago

Commit 233eb4e1 parent 3e4d5ba6 files · +84 −23Browse files

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

Unified · Split

include/uapi/linux/ethtool_netlink.h+2−0
@@ -357,6 +357,8 @@ enum { · 356 unmodified lines
357 ETHTOOL_A_RINGS_CQE_SIZE, /* u32 */357 ETHTOOL_A_RINGS_CQE_SIZE, /* u32 */
358 ETHTOOL_A_RINGS_TX_PUSH, /* u8 */358 ETHTOOL_A_RINGS_TX_PUSH, /* u8 */
359 ETHTOOL_A_RINGS_RX_PUSH, /* u8 */359 ETHTOOL_A_RINGS_RX_PUSH, /* u8 */
360 ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN, /* u32 */
361 ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN_MAX, /* u32 */
360 362
361 /* add new constants above here */363 /* add new constants above here */
362 __ETHTOOL_A_RINGS_CNT,364 __ETHTOOL_A_RINGS_CNT,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t