net/iavf: fix RSS protocol field selector
authorJeff Guo <jia.guo@intel.com>
Sun, 24 May 2020 05:52:30 +0000 (13:52 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 28 May 2020 15:57:07 +0000 (17:57 +0200)
commitc9da9d4183821d92e2bca63e7fe22823366adabf
tree322a54742cc7cdd67914f891917bb3bc5fb2d125
parent59d3870c7facace93db794a37e136d4a9f6ef0a3
net/iavf: fix RSS protocol field selector

When VFs configure the rss rule by virtchnl, it need to set bit mask
into the field selector for the protocol, then PF got the configure
massage and parse the field selector to the corresponding protocol
field.

Fixes: 7be10c3004be ("net/iavf: add RSS configuration for VF")
Cc: stable@dpdk.org
Signed-off-by: Jeff Guo <jia.guo@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Tested-by: Zhiwei He <zhiwei.he@intel.com>
drivers/net/iavf/iavf_hash.c