History

ethtool: add support to set/get rx buf len via ethtool

Add support to set rx buf len via ethtool -G parameter and get rx buf len via ethtool -g parameter.

Hao Chen committed 4 years ago

Commit 0b70c251 parent e445f085 files · +47 −7Browse files

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

Unified · Split

include/uapi/linux/ethtool_netlink.h+1−0
@@ -329,6 +329,7 @@ enum { · 328 unmodified lines
329329 ETHTOOL_A_RINGS_RX_MINI, /* u32 */
330330 ETHTOOL_A_RINGS_RX_JUMBO, /* u32 */
331331 ETHTOOL_A_RINGS_TX, /* u32 */
332+ ETHTOOL_A_RINGS_RX_BUF_LEN, /* u32 */
332333
333334 /* add new constants above here */
334335 __ETHTOOL_A_RINGS_CNT,