diff options
author | Govindarajulu Varadarajan <[email protected]> | 2016-11-01 17:58:50 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-11-02 15:32:53 -0400 |
commit | 17197236d62c44da127be461c63ac5cc2cce1e53 (patch) | |
tree | 1ef9fed744bcc22ce321623bd3d0d79634285096 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | f7a5537cd2a56b5fdd043f89d37d500b6c698422 (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions