Commit a340f911 authored by Haiyue Wang's avatar Haiyue Wang Committed by Greg Kroah-Hartman
Browse files

ice: Support FCS/CRC strip disable for VF



[ Upstream commit 730cb741 ]

To support CRC strip enable/disable functionality, VF needs the explicit
request VIRTCHNL_VF_OFFLOAD_CRC offload. Then according to crc_disable
flag of Rx queue configuration information to set up the queue context.

Signed-off-by: default avatarHaiyue Wang <haiyue.wang@intel.com>
Reviewed-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: default avatarAhmed Zaki <ahmed.zaki@intel.com>
Tested-by: default avatarRafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Stable-dep-of: a884c304 ("ice: consistently use q_idx in ice_vc_cfg_qs_msg()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 2edb61b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment