diff options
author | Govindarajulu Varadarajan <_govind@gmx.com> | 2016-11-01 17:58:50 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-02 15:32:53 -0400 |
commit | 17197236d62c44da127be461c63ac5cc2cce1e53 (patch) | |
tree | 1ef9fed744bcc22ce321623bd3d0d79634285096 /net/ipv4/raw_diag.c | |
parent | f7a5537cd2a56b5fdd043f89d37d500b6c698422 (diff) | |
download | op-kernel-dev-17197236d62c44da127be461c63ac5cc2cce1e53.zip op-kernel-dev-17197236d62c44da127be461c63ac5cc2cce1e53.tar.gz |
enic: set skb->hash type properly
Driver sets the skb l4/l3 hash based on NIC_CFG_RSS_HASH_TYPE_*,
which is bit mask. This is wrong. Hw actually provides us enum.
Use CQ_ENET_RQ_DESC_RSS_TYPE_* to set l3 and l4 hash type.
Fixes: bf751ba802fe ("driver/net: enic: record q_number and rss_hash for skb")
Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/raw_diag.c')
0 files changed, 0 insertions, 0 deletions