[dpdk-dev] [opnfv-tech-discuss][apex][ovsnfv]Problem showed up with OVS/DPDK with Cisco VIC adapter

2016-10-20 Thread John Daley (johndale)
Hi,
Please see inline.
Thanks,
john

> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas F Herbert
> Sent: Tuesday, October 18, 2016 1:35 PM
> To: dev at dpdk.org
> Cc: Keith Burns ; Edward Warnicke
> ; opnfv-tech-discuss at lists.opnfv.org
> Subject: [dpdk-dev] [opnfv-tech-discuss][apex][ovsnfv]Problem showed up
> with OVS/DPDK with Cisco VIC adapter
> 
> All:
> 
> This is not necessarily related to VPP but rather to OVS/DPDK.
> In OPNFV we found the following problem when using UCS NIC.
> The UCS fabric seems to set a VLAN tag on untagged packets.
> Any thoughts from DPDK and VPP folks would be appreciated.
> 
In a UCS fabric, all frames between the VIC and the Fabric Interconnect will be 
tagged. This is required to carry both VLAN information and, being a converged 
adapter supporting both Ethernet and FCoE, traffic class. For non-UCS fabric 
deployments, there is currently no way to turn off egress priority tagging on 
the VIC adapter. If a packet being sent from DPDK to the enic PMD is priority 
tagged (VLAN=0) or has no VLAN tag, the default VLAN tag (as set up in 
CIMC/UCSM manager) will be inserted.  This should only be an issue with 
C-series UCS servers connected point to point or through a switch that can't 
cope with priority tags. Is that the case here?

> ...
> --
> *Thomas F Herbert*
> SDN Group
> Office of Technology
> *Red Hat*


[dpdk-dev] [opnfv-tech-discuss][apex][ovsnfv]Problem showed up with OVS/DPDK with Cisco VIC adapter

2016-10-18 Thread Thomas F Herbert
All:

This is not necessarily related to VPP but rather to OVS/DPDK.

In OPNFV we found the following problem when using UCS NIC.

The UCS fabric seems to set a VLAN tag on untagged packets.

Any thoughts from DPDK and VPP folks would be appreciated.

http://dpdk.org/doc/guides-16.07/nics/enic.html

https://jira.opnfv.org/browse/APEX-333

It is currently deploying DPDK 16.04 and OVS 2.5.90

I could not find a user accessible setting to do this that would work. 
The workaround for now we came up with is to set a flow in OVS to strip 
the tag.

https://gerrit.opnfv.org/gerrit/#/c/23315/

Another solution is to set the nic to strip the vlan in rte eth code or 
write a DPDK "app" to set the nic.

http://dpdk.org/doc/guides-16.07/nics/enic.html

--TFH


-- 
*Thomas F Herbert*
SDN Group
Office of Technology
*Red Hat*