]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit250882d65215c4b871c47b6d6bda23595d4c6e6b
tree1aba729d591cfa79454338629a3e2eff49e3529b
parente40529da5bf957ad4ec5dbc9565bbb4735371ef4
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