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

 

posted @ 2020-05-22 10:55  salami_china  阅读(1002)  评论(0编辑  收藏  举报