mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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] Co-developed-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Shay Agroskin <shayagr@amazon.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
3e4d5ba9a3
commit
233eb4e786
@@ -165,6 +165,12 @@ attribute-sets:
|
||||
-
|
||||
name: rx-push
|
||||
type: u8
|
||||
-
|
||||
name: tx-push-buf-len
|
||||
type: u32
|
||||
-
|
||||
name: tx-push-buf-len-max
|
||||
type: u32
|
||||
|
||||
-
|
||||
name: mm-stat
|
||||
@@ -311,6 +317,8 @@ operations:
|
||||
- cqe-size
|
||||
- tx-push
|
||||
- rx-push
|
||||
- tx-push-buf-len
|
||||
- tx-push-buf-len-max
|
||||
dump: *ring-get-op
|
||||
-
|
||||
name: rings-set
|
||||
|
Reference in New Issue
Block a user