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.
Showing the changes to include/uapi (1 of 5 files). Show all
Unified · Split
| @@ -338,6 +338,7 @@ enum { · 337 unmodified lines | |||
| 338 | ETHTOOL_A_RINGS_RX_BUF_LEN, /* u32 */ | 338 | ETHTOOL_A_RINGS_RX_BUF_LEN, /* u32 */ |
| 339 | ETHTOOL_A_RINGS_TCP_DATA_SPLIT, /* u8 */ | 339 | ETHTOOL_A_RINGS_TCP_DATA_SPLIT, /* u8 */ |
| 340 | ETHTOOL_A_RINGS_CQE_SIZE, /* u32 */ | 340 | ETHTOOL_A_RINGS_CQE_SIZE, /* u32 */ |
| 341 | ETHTOOL_A_RINGS_TX_PUSH, /* u8 */ | ||
| 341 | 342 | ||
| 342 | /* add new constants above here */ | 343 | /* add new constants above here */ |
| 343 | __ETHTOOL_A_RINGS_CNT, | 344 | __ETHTOOL_A_RINGS_CNT, |