All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
To: davem@davemloft.net
Cc: Preethi Banala <preethi.banala@intel.com>,
	netdev@vger.kernel.org, nhorman@redhat.com, sassmann@redhat.com,
	jogreene@redhat.com, guru.anbalagane@oracle.com,
	Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Subject: [net-next 07/17] i40e: group base mode VF offload flags
Date: Sat, 29 Oct 2016 00:30:48 -0700	[thread overview]
Message-ID: <1477726258-111563-8-git-send-email-jeffrey.t.kirsher@intel.com> (raw)
In-Reply-To: <1477726258-111563-1-git-send-email-jeffrey.t.kirsher@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 .

Change-ID: Id5e8f22ba169c8f0a38d22fc36b2cb531c02582c
Signed-off-by: Preethi Banala <preethi.banala@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
 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.7.4

  parent reply	other threads:[~2016-10-29  7:31 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-29  7:30 [net-next 00/17][pull request] 40GbE Intel Wired LAN Driver Updates 2016-10-28 Jeff Kirsher
2016-10-29  7:30 ` [net-next 01/17] i40e: Fix client interaction Jeff Kirsher
2016-10-29  7:30 ` [net-next 02/17] i40e: Rewrite Flow Director busy wait loop Jeff Kirsher
2016-10-29  7:30 ` [net-next 03/17] i40e: Bit test mask correction Jeff Kirsher
2016-10-29  7:30 ` [net-next 04/17] i40e: Remove unused function i40e_vsi_lookup Jeff Kirsher
2016-10-29  7:30 ` [net-next 05/17] i40e: Drop code for unsupported flow types Jeff Kirsher
2016-10-29  7:30 ` [net-next 06/17] i40e: reopen client after reset Jeff Kirsher
2016-10-29  7:30 ` Jeff Kirsher [this message]
2016-10-29  7:30 ` [net-next 08/17] i40e/i40evf: fix interrupt affinity bug Jeff Kirsher
2016-10-29  7:30 ` [net-next 09/17] i40e/i40evf: Changed version from 1.6.16 to 1.6.19 Jeff Kirsher
2016-10-29  7:30 ` [net-next 10/17] i40e: Make struct i40e_stats const Jeff Kirsher
2016-10-29  7:30 ` [net-next 11/17] i40e: fix confusing dmesg info for ethtool -L option Jeff Kirsher
2016-10-29  7:30 ` [net-next 12/17] i40e: Drop redundant Rx descriptor processing code Jeff Kirsher
2016-10-29  7:30 ` [net-next 13/17] i40e: Fix for long link down notification time Jeff Kirsher
2016-10-29  7:30 ` [net-next 14/17] i40e: Removal of workaround for simple MAC address filter deletion Jeff Kirsher
2016-10-29  7:30 ` [net-next 15/17] i40e/i40evf: Changed version from 1.6.19 to 1.6.21 Jeff Kirsher
2016-10-29  7:30 ` [net-next 16/17] i40e: Fix bit logic error in failure case Jeff Kirsher
2016-10-29  7:30 ` [net-next 17/17] i40e: Clean up handling of msglevel flags and debug parameter Jeff Kirsher
2016-10-29 20:21 ` [net-next 00/17][pull request] 40GbE Intel Wired LAN Driver Updates 2016-10-28 David Miller

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=1477726258-111563-8-git-send-email-jeffrey.t.kirsher@intel.com \
    --to=jeffrey.t.kirsher@intel.com \
    --cc=davem@davemloft.net \
    --cc=guru.anbalagane@oracle.com \
    --cc=jogreene@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=nhorman@redhat.com \
    --cc=preethi.banala@intel.com \
    --cc=sassmann@redhat.com \
    /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.