diff options
| author | Haiyang Zhang <haiyangz@microsoft.com> | 2026-03-17 22:18:06 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-19 06:01:10 +0300 |
| commit | c2fe3ff3d66d6f53ec5857c277fae5b3ff9881c1 (patch) | |
| tree | a7eb7ec7a4cbf8cdcac6c786604e33a536d167cf /include/linux/errqueue.h | |
| parent | dc3d720e12f602059490c1ab2bfee84a7465998f (diff) | |
| download | linux-c2fe3ff3d66d6f53ec5857c277fae5b3ff9881c1.tar.xz | |
net: mana: Add support for RX CQE Coalescing
Our NIC can have up to 4 RX packets on 1 CQE. To support this feature,
check and process the type CQE_RX_COALESCED_4. The default setting is
disabled, to avoid possible regression on latency.
And, add ethtool handler to switch this feature. To turn it on, run:
ethtool -C <nic> rx-cqe-frames 4
To turn it off:
ethtool -C <nic> rx-cqe-frames 1
The rx-cqe-nsec is the time out value in nanoseconds after the first
packet arrival in a coalesced CQE to be sent. It's read-only for this
NIC.
Reviewed-by: Long Li <longli@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Link: https://patch.msgid.link/20260317191826.1346111-3-haiyangz@linux.microsoft.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
