ethtool 设置网卡接收哈希

检查

[root@localhost]# ethtool -n eth1 rx-flow-hash tcp4
TCP over IPV4 flows use these fields for computing Hash flow key:
IP SA
IP DA
L4 bytes 0 & 1 [TCP/UDP src port]
L4 bytes 2 & 3 [TCP/UDP dst port]

设置

ethtool -N eth1 rx-flow-hash udp4 sdfn
原文地址:https://www.cnblogs.com/wangjq19920210/p/12935878.html