[Intel-wired-lan] [next PATCH S22 12/14] i40e/i40evf: Add a new offload for RSS PCTYPE V2 for X722
Jesse Brandeburg
jesse.brandeburg at intel.com
Mon Nov 16 20:47:11 UTC 2015
On Fri, 13 Nov 2015 15:47:12 -0800
Deepthi Kavalur <deepthi.kavalur at intel.com> wrote:
> From: Anjali Singhai Jain <anjali.singhai at intel.com>
>
> X722 supports Expanded version of TCP, UDP PCTYPES for RSS.
> Add a Virtchnl offload to support this.
>
> Without this patch with X722 devices, driver will set wrong PCTYPES
> for VF and UDP flows will not fan out.
>
> Signed-off-by: Anjali Singhai Jain <anjali.singhai at intel.com>
> Change-ID: I04fe4988253b7cd108c9179a643c969764efcb76
> ---
> Testing-Hints:
> Try multiple UDP flows on VF driver to see they get spread out by RSS.
>
> drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c b/drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c
> index 3c9c008..c1c5262 100644
> --- a/drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c
> +++ b/drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c
> @@ -157,7 +157,9 @@ int i40evf_send_vf_config_msg(struct i40evf_adapter *adapter)
> I40E_VIRTCHNL_VF_OFFLOAD_RSS_AQ |
> I40E_VIRTCHNL_VF_OFFLOAD_RSS_REG |
> I40E_VIRTCHNL_VF_OFFLOAD_VLAN |
> - I40E_VIRTCHNL_VF_OFFLOAD_WB_ON_ITR;
> + I40E_VIRTCHNL_VF_OFFLOAD_WB_ON_ITR |
> + I40E_VIRTCHNL_VF_OFFLOAD_RSS_PCTYPE_V2;
> +
> adapter->current_op = I40E_VIRTCHNL_OP_GET_VF_RESOURCES;
> adapter->aq_required &= ~I40EVF_FLAG_AQ_GET_CONFIG;
> if (PF_IS_V11(adapter))
This patch should be squashed on 10/14 which just declares these new
defines. The description should be used from this patch for the
combined set.
More information about the Intel-wired-lan
mailing list