All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bimmy Pujari <bimmy.pujari@intel.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [next PATCH S47 7/9] i40e: group base mode VF offload flags
Date: Wed, 14 Sep 2016 16:24:37 -0700	[thread overview]
Message-ID: <1473895479-23035-8-git-send-email-bimmy.pujari@intel.com> (raw)
In-Reply-To: <1473895479-23035-1-git-send-email-bimmy.pujari@intel.com>

From: Preethi Banala <preethi.banala@intel.com>

Group together the minimum set of offload capabilities that are always
supported by VF in base mode. This define would be used by PF to make
sure VF in base mode gets minimum of base capabilities .

Signed-off-by: Preethi Banala <preethi.banala@intel.com>
Change-ID: Id5e8f22ba169c8f0a38d22fc36b2cb531c02582c
---
 drivers/net/ethernet/intel/i40e/i40e_virtchnl.h   | 4 ++++
 drivers/net/ethernet/intel/i40evf/i40e_virtchnl.h | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/drivers/net/ethernet/intel/i40e/i40e_virtchnl.h b/drivers/net/ethernet/intel/i40e/i40e_virtchnl.h
index f861d31..974ba2b 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_virtchnl.h
+++ b/drivers/net/ethernet/intel/i40e/i40e_virtchnl.h
@@ -165,6 +165,10 @@ struct i40e_virtchnl_vsi_resource {
 #define I40E_VIRTCHNL_VF_OFFLOAD_RSS_PF		0X00080000
 #define I40E_VIRTCHNL_VF_OFFLOAD_ENCAP_CSUM	0X00100000
 
+#define I40E_VF_BASE_MODE_OFFLOADS (I40E_VIRTCHNL_VF_OFFLOAD_L2 | \
+				    I40E_VIRTCHNL_VF_OFFLOAD_VLAN | \
+				    I40E_VIRTCHNL_VF_OFFLOAD_RSS_PF)
+
 struct i40e_virtchnl_vf_resource {
 	u16 num_vsis;
 	u16 num_queue_pairs;
diff --git a/drivers/net/ethernet/intel/i40evf/i40e_virtchnl.h b/drivers/net/ethernet/intel/i40evf/i40e_virtchnl.h
index bd691ad..fc374f8 100644
--- a/drivers/net/ethernet/intel/i40evf/i40e_virtchnl.h
+++ b/drivers/net/ethernet/intel/i40evf/i40e_virtchnl.h
@@ -162,6 +162,10 @@ struct i40e_virtchnl_vsi_resource {
 #define I40E_VIRTCHNL_VF_OFFLOAD_RSS_PF		0X00080000
 #define I40E_VIRTCHNL_VF_OFFLOAD_ENCAP_CSUM	0X00100000
 
+#define I40E_VF_BASE_MODE_OFFLOADS (I40E_VIRTCHNL_VF_OFFLOAD_L2 | \
+				    I40E_VIRTCHNL_VF_OFFLOAD_VLAN | \
+				    I40E_VIRTCHNL_VF_OFFLOAD_RSS_PF)
+
 struct i40e_virtchnl_vf_resource {
 	u16 num_vsis;
 	u16 num_queue_pairs;
-- 
2.4.11


  parent reply	other threads:[~2016-09-14 23:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-14 23:24 [Intel-wired-lan] [next PATCH S47 0/9] i40e/i40evf updates Bimmy Pujari
2016-09-14 23:24 ` [Intel-wired-lan] [next PATCH S47 1/9] i40e: Fix client interaction Bimmy Pujari
2016-09-14 23:24 ` [Intel-wired-lan] [next PATCH S47 2/9] i40e: Rewrite Flow Director busy wait loop Bimmy Pujari
2016-09-22 17:25   ` Bowers, AndrewX
2016-09-14 23:24 ` [Intel-wired-lan] [next PATCH S47 3/9] i40e: Bit test mask correction Bimmy Pujari
2016-09-21 17:15   ` Bowers, AndrewX
2016-09-14 23:24 ` [Intel-wired-lan] [next PATCH S47 4/9] i40e: Remove unused function i40e_vsi_lookup Bimmy Pujari
2016-09-21 17:22   ` Bowers, AndrewX
2016-09-14 23:24 ` [Intel-wired-lan] [next PATCH S47 5/9] i40e: Drop code for unsupported flow types Bimmy Pujari
2016-09-22 17:26   ` Bowers, AndrewX
2016-09-14 23:24 ` [Intel-wired-lan] [next PATCH S47 6/9] i40e: reopen client after reset Bimmy Pujari
2016-09-14 23:24 ` Bimmy Pujari [this message]
2016-09-21 17:24   ` [Intel-wired-lan] [next PATCH S47 7/9] i40e: group base mode VF offload flags Bowers, AndrewX
2016-09-14 23:24 ` [Intel-wired-lan] [next PATCH S47 8/9] i40e/i40evf: fix interrupt affinity bug Bimmy Pujari
2016-09-21 16:17   ` Bowers, AndrewX
2016-09-14 23:24 ` [Intel-wired-lan] [next PATCH S47 9/9] i40e/i40evf: Changed version from 1.6.16 to 1.6.19 Bimmy Pujari
2016-09-21 17:49   ` Bowers, AndrewX
2016-09-27 18:26 [Intel-wired-lan] [next PATCH S47 0/9] i40e/i40evf updates Bimmy Pujari
2016-09-27 18:26 ` [Intel-wired-lan] [next PATCH S47 7/9] i40e: group base mode VF offload flags Bimmy Pujari

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=1473895479-23035-8-git-send-email-bimmy.pujari@intel.com \
    --to=bimmy.pujari@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.