All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jesse Brandeburg <jesse.brandeburg@intel.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [next PATCH S22 12/14] i40e/i40evf: Add a new offload for RSS PCTYPE V2 for X722
Date: Mon, 16 Nov 2015 12:47:11 -0800	[thread overview]
Message-ID: <20151116124711.00006c20@unknown> (raw)
In-Reply-To: <1447458434-4555-13-git-send-email-deepthi.kavalur@intel.com>

On Fri, 13 Nov 2015 15:47:12 -0800
Deepthi Kavalur <deepthi.kavalur@intel.com> wrote:

> From: Anjali Singhai Jain <anjali.singhai@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@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.


  reply	other threads:[~2015-11-16 20:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-13 23:47 [Intel-wired-lan] [next PATCH S22 00/15] i40e/i40evf updates Deepthi Kavalur
2015-11-13 23:47 ` [Intel-wired-lan] [next PATCH S22 01/14] i40e/i40evf: use logical operator Deepthi Kavalur
2015-11-13 23:47 ` [Intel-wired-lan] [next PATCH S22 02/14] i40e: chomp the BIT(_ULL) Deepthi Kavalur
2015-11-13 23:47 ` [Intel-wired-lan] [next PATCH S22 03/14] i40e: fix mismatched declaration Deepthi Kavalur
2015-11-13 23:47 ` [Intel-wired-lan] [next PATCH S22 04/14] i40e: properly delete VF MAC filters Deepthi Kavalur
2015-11-13 23:47 ` [Intel-wired-lan] [next PATCH S22 05/14] i40e: don't add zero MAC filter Deepthi Kavalur
2015-11-13 23:47 ` [Intel-wired-lan] [next PATCH S22 06/14] i40evf: check rings before freeing resources Deepthi Kavalur
2015-11-13 23:47 ` [Intel-wired-lan] [next PATCH S22 07/14] i40e: use explicit cast from u16 to u8 Deepthi Kavalur
2015-11-13 23:47 ` [Intel-wired-lan] [next PATCH S22 08/14] i40e: Opcode and structures required by OEM Post Update AQ command and add new NVM arq message Deepthi Kavalur
2015-11-13 23:47 ` [Intel-wired-lan] [next PATCH S22 09/14] i40e: hush little warnings Deepthi Kavalur
2015-11-13 23:47 ` [Intel-wired-lan] [next PATCH S22 10/14] i40e: Add a Virtchnl offload for RSS PCTYPE V2 Deepthi Kavalur
2015-11-13 23:47 ` [Intel-wired-lan] [next PATCH S22 11/14] i40e: clean whole mac filter list Deepthi Kavalur
2015-11-13 23:47 ` [Intel-wired-lan] [next PATCH S22 12/14] i40e/i40evf: Add a new offload for RSS PCTYPE V2 for X722 Deepthi Kavalur
2015-11-16 20:47   ` Jesse Brandeburg [this message]
2015-11-13 23:47 ` [Intel-wired-lan] [next PATCH S22 13/14] i40evf: change version string generation Deepthi Kavalur
2015-11-13 23:47 ` [Intel-wired-lan] [next PATCH S22 14/14] i40e/i40evf: Bump version to 1.4.7 for i40e and 1.4.3 for i40evf Deepthi Kavalur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151116124711.00006c20@unknown \
    --to=jesse.brandeburg@intel.com \
    --cc=intel-wired-lan@osuosl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.