mellanox网卡对shampo的支持

目前看到的资料是仅ConnectX-7以上的网卡才支持,而且我ConnectX-4 LX的网卡确实用不了。

参考以下内容:

https://kernel.googlesource.com/pub/scm/linux/kernel/git/bpf/bpf-next/+/7da375e2c7e023957b71fce44a72107559cfa6d0%5E1..7da375e2c7e023957b71fce44a72107559cfa6d0

https://forums.developer.nvidia.com/t/stride-size-in-multi-packet-and-how-to-enable-shampo-in-connectx-6/232013

如果用的是ConnectX-7网卡的话可以用以下命令开启:

ethtool -K enp2s0f0np0 rx-gro-hw on

Views: 0