* [dpdk-dev] [PATCH 1/2] net/enic: add PCI ID for new virtual function
@ 2019-09-05 21:33 John Daley
2019-09-05 21:33 ` [dpdk-dev] [PATCH 2/2] doc: remove comments about deprecated fdir in enic guide John Daley
2019-10-02 10:21 ` [dpdk-dev] [PATCH 1/2] net/enic: add PCI ID for new virtual function Ferruh Yigit
0 siblings, 2 replies; 3+ messages in thread
From: John Daley @ 2019-09-05 21:33 UTC (permalink / raw)
To: ferruh.yigit; +Cc: dev, John Daley, Hyong Youb Kim
Probe for the PCI ID of a new mode of VF which will be added to VIC
adapter firmware. When fully implemented, the new mode will operate
independent of the Cisco Virtual Machine Fabric Extender (VM-FEX) and
will not need to be provisioned through libvirt. The new mode is dubbed
"Standalone vNic" mode or "SN" mode.
Also, minor formatting changes.
Signed-off-by: John Daley <johndale@cisco.com>
Reviewed-by: Hyong Youb Kim <hyonkim@cisco.com>
---
drivers/net/enic/enic.h | 2 ++
drivers/net/enic/enic_ethdev.c | 5 +++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/net/enic/enic.h b/drivers/net/enic/enic.h
index 5a92508f0..ff4de8898 100644
--- a/drivers/net/enic/enic.h
+++ b/drivers/net/enic/enic.h
@@ -42,6 +42,8 @@
#define PCI_DEVICE_ID_CISCO_VIC_ENET 0x0043 /* ethernet vnic */
#define PCI_DEVICE_ID_CISCO_VIC_ENET_VF 0x0071 /* enet SRIOV VF */
+/* enet SRIOV Standalone vNic VF */
+#define PCI_DEVICE_ID_CISCO_VIC_ENET_SN 0x02B7
/* Special Filter id for non-specific packet flagging. Don't change value */
#define ENIC_MAGIC_FILTER_ID 0xffff
diff --git a/drivers/net/enic/enic_ethdev.c b/drivers/net/enic/enic_ethdev.c
index 06dc67122..5560af151 100644
--- a/drivers/net/enic/enic_ethdev.c
+++ b/drivers/net/enic/enic_ethdev.c
@@ -28,8 +28,9 @@ int enic_pmd_logtype;
*/
#define CISCO_PCI_VENDOR_ID 0x1137
static const struct rte_pci_id pci_id_enic_map[] = {
- { RTE_PCI_DEVICE(CISCO_PCI_VENDOR_ID, PCI_DEVICE_ID_CISCO_VIC_ENET) },
- { RTE_PCI_DEVICE(CISCO_PCI_VENDOR_ID, PCI_DEVICE_ID_CISCO_VIC_ENET_VF) },
+ {RTE_PCI_DEVICE(CISCO_PCI_VENDOR_ID, PCI_DEVICE_ID_CISCO_VIC_ENET)},
+ {RTE_PCI_DEVICE(CISCO_PCI_VENDOR_ID, PCI_DEVICE_ID_CISCO_VIC_ENET_VF)},
+ {RTE_PCI_DEVICE(CISCO_PCI_VENDOR_ID, PCI_DEVICE_ID_CISCO_VIC_ENET_SN)},
{.vendor_id = 0, /* sentinel */},
};
--
2.22.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [dpdk-dev] [PATCH 2/2] doc: remove comments about deprecated fdir in enic guide
2019-09-05 21:33 [dpdk-dev] [PATCH 1/2] net/enic: add PCI ID for new virtual function John Daley
@ 2019-09-05 21:33 ` John Daley
2019-10-02 10:21 ` [dpdk-dev] [PATCH 1/2] net/enic: add PCI ID for new virtual function Ferruh Yigit
1 sibling, 0 replies; 3+ messages in thread
From: John Daley @ 2019-09-05 21:33 UTC (permalink / raw)
To: ferruh.yigit; +Cc: dev, John Daley, Hyong Youb Kim
The legacy filter API "flow director" has been superseded by rte_flow
since 2017. Remove comments in the enic guide regarding the deprecated
feature.
Signed-off-by: John Daley <johndale@cisco.com>
Reviewed-by: Hyong Youb Kim <hyonkim@cisco.com>
---
doc/guides/nics/enic.rst | 33 +++++++--------------------------
1 file changed, 7 insertions(+), 26 deletions(-)
diff --git a/doc/guides/nics/enic.rst b/doc/guides/nics/enic.rst
index 5681bdb54..5e80398bf 100644
--- a/doc/guides/nics/enic.rst
+++ b/doc/guides/nics/enic.rst
@@ -107,24 +107,6 @@ Configuration information
TCP, IPv4, TCP-IPv4, IPv6, TCP-IPv6, IPv6 Extension, TCP-IPv6 Extension.
-.. _enic-flow-director:
-
-Flow director support
----------------------
-
-Advanced filtering support was added to 1300 series VIC firmware starting
-with version 2.0.13 for C-series UCS servers and version 3.1.2 for UCSM
-managed blade servers. In order to enable advanced filtering the 'Advanced
-filter' radio button should be enabled via CIMC or UCSM followed by a reboot
-of the server.
-
-With advanced filters, perfect matching of all fields of IPv4, IPv6 headers
-as well as TCP, UDP and SCTP L4 headers is available through flow director.
-Masking of these fields for partial match is also supported.
-
-Without advanced filter support, the flow director is limited to IPv4
-perfect filtering of the 5-tuple with no masking of fields supported.
-
SR-IOV mode utilization
-----------------------
@@ -229,7 +211,13 @@ the use of SR-IOV.
Generic Flow API support
------------------------
-Generic Flow API is supported. The baseline support is:
+Generic Flow API (also called "rte_flow" API) is supported. More advanced
+capabilities are available when "Advanced Filtering" is enabled on the adapter.
+Advanced filtering was added to 1300 series VIC firmware starting with version
+2.0.13 for C-series UCS servers and version 3.1.2 for UCSM managed blade
+servers. Advanced filtering is available on 1400 series adapters and beyond.
+To enable advanced filtering, the 'Advanced filter' radio button should be
+selected via CIMC or UCSM followed by a reboot of the server.
- **1200 series VICs**
@@ -420,12 +408,6 @@ PKT_RX_VLAN_STRIPPED mbuf flags would not be set. This mode is enabled with the
-w 12:00.0,ig-vlan-rewrite=untag
-- Limited flow director support on 1200 series and 1300 series Cisco VIC
- adapters with old firmware. Please see :ref:`enic-flow-director`.
-
-- Flow director features are not supported on generation 1 Cisco VIC adapters
- (M81KR and P81E)
-
- **SR-IOV**
- KVM hypervisor support only. VMware has not been tested.
@@ -512,7 +494,6 @@ Supported features
- IP checksum offload
- Receive side VLAN stripping
- Multiple receive and transmit queues
-- Flow Director ADD, UPDATE, DELETE, STATS operation support IPv4 and IPv6
- Promiscuous mode
- Setting RX VLAN (supported via UCSM/CIMC only)
- VLAN filtering (supported via UCSM/CIMC only)
--
2.22.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH 1/2] net/enic: add PCI ID for new virtual function
2019-09-05 21:33 [dpdk-dev] [PATCH 1/2] net/enic: add PCI ID for new virtual function John Daley
2019-09-05 21:33 ` [dpdk-dev] [PATCH 2/2] doc: remove comments about deprecated fdir in enic guide John Daley
@ 2019-10-02 10:21 ` Ferruh Yigit
1 sibling, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2019-10-02 10:21 UTC (permalink / raw)
To: John Daley; +Cc: dev, Hyong Youb Kim
On 9/5/2019 10:33 PM, John Daley wrote:
> Probe for the PCI ID of a new mode of VF which will be added to VIC
> adapter firmware. When fully implemented, the new mode will operate
> independent of the Cisco Virtual Machine Fabric Extender (VM-FEX) and
> will not need to be provisioned through libvirt. The new mode is dubbed
> "Standalone vNic" mode or "SN" mode.
>
> Also, minor formatting changes.
>
> Signed-off-by: John Daley <johndale@cisco.com>
> Reviewed-by: Hyong Youb Kim <hyonkim@cisco.com>
Series applied to dpdk-next-net/master, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-02 10:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-05 21:33 [dpdk-dev] [PATCH 1/2] net/enic: add PCI ID for new virtual function John Daley
2019-09-05 21:33 ` [dpdk-dev] [PATCH 2/2] doc: remove comments about deprecated fdir in enic guide John Daley
2019-10-02 10:21 ` [dpdk-dev] [PATCH 1/2] net/enic: add PCI ID for new virtual function Ferruh Yigit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).