diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-04-19 21:56:38 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-20 01:18:06 -0700 |
commit | b249dcb82d327e419d3cb45773b146ebb5faf419 (patch) | |
tree | 3424eac7e208c03a49ad182685f1ba3c836628b8 /drivers/net/bnx2x_link.h | |
parent | e36fa2f7e92f25aab2e3d787dcfe3590817f19d3 (diff) | |
download | lwn-b249dcb82d327e419d3cb45773b146ebb5faf419.tar.gz lwn-b249dcb82d327e419d3cb45773b146ebb5faf419.zip |
rps: consistent rxhash
In case we compute a software skb->rxhash, we can generate a consistent
hash : Its value will be the same in both flow directions.
This helps some workloads, like conntracking, since the same state needs
to be accessed in both directions.
tbench + RFS + this patch gives better results than tbench with default
kernel configuration (no RPS, no RFS)
Also fixed some sparse warnings.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_link.h')
0 files changed, 0 insertions, 0 deletions