ice: Enable RSS configure for AVF
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 13 Apr 2021 00:48:39 +0000 (08:48 +0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 22 Apr 2021 16:26:22 +0000 (09:26 -0700)
commit222a8ab01698148c00c271cda82d96f4e6e7b0a8
tree1aba729d591cfa79454338629a3e2eff49e3529b
parentc5afbe99b778c15254d4496a74d3252ef6ba0a14
ice: Enable RSS configure for AVF

Currently, RSS hash input is not available to AVF by ethtool, it is set
by the PF directly.

Add the RSS configure support for AVF through new virtchnl message, and
define the capability flag VIRTCHNL_VF_OFFLOAD_ADV_RSS_PF to query this
new RSS offload support.

Signed-off-by: Jia Guo <jia.guo@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Tested-by: Bo Chen <BoX.C.Chen@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_flow.h
drivers/net/ethernet/intel/ice/ice_virtchnl_allowlist.c
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c
include/linux/avf/virtchnl.h