mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
net: ethtool: add ethtool COALESCE_RX_CQE_FRAMES/NSECS
Add two parameters for drivers supporting Rx CQE coalescing / descriptor writeback. ETHTOOL_A_COALESCE_RX_CQE_FRAMES: Maximum number of frames that can be coalesced into a CQE or writeback. ETHTOOL_A_COALESCE_RX_CQE_NSECS: Max time in nanoseconds after the first packet arrival in a coalesced CQE or writeback to be sent. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Link: https://patch.msgid.link/20260317191826.1346111-2-haiyangz@linux.microsoft.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
04cd075557
commit
dc3d720e12
@@ -857,6 +857,12 @@ attribute-sets:
|
||||
name: tx-profile
|
||||
type: nest
|
||||
nested-attributes: profile
|
||||
-
|
||||
name: rx-cqe-frames
|
||||
type: u32
|
||||
-
|
||||
name: rx-cqe-nsecs
|
||||
type: u32
|
||||
|
||||
-
|
||||
name: pause-stat
|
||||
@@ -2253,6 +2259,8 @@ operations:
|
||||
- tx-aggr-time-usecs
|
||||
- rx-profile
|
||||
- tx-profile
|
||||
- rx-cqe-frames
|
||||
- rx-cqe-nsecs
|
||||
dump: *coalesce-get-op
|
||||
-
|
||||
name: coalesce-set
|
||||
|
||||
Reference in New Issue
Block a user