* [dpdk-dev] enic in passhtrough mode tx drops
[not found] <3C2AE3A004FB424A9D4DB093543E06A9E91B17C9@ILMB1.corp.radware.com>
@ 2016-06-16 13:13 ` Ruth Christen
2016-06-16 17:02 ` John Daley (johndale)
2016-06-21 7:34 ` Ruth Christen
0 siblings, 2 replies; 3+ messages in thread
From: Ruth Christen @ 2016-06-16 13:13 UTC (permalink / raw)
To: dev
Hi all,
I'm running a vm attached to 2 cisco Virtual Card Interfaces in passthrough mode in a cisco UCS. The vNICs are configured on access mode without VLAN ID.
The incoming packets are arriving with 802.1q header containing vlan priority bit according to the class of service configured on the vNIC. I understood this is expected from a fiber channel Ethernet card.
According to dpdk documentation there's a need to set the VLAN_STRIP_OFFLOAD flag and call rte_eth_dev_set_vlan_offload on the ports.
If I run a simple l2fwd application where the same packet received in one port is sent through the other the traffic works ok.
If I generate the packets in my vm and send them out traffic doesn't work. (I tried send the traffic out with/without a 802.1q header with priority bit)
Is there a specific configuration to be added to the mbuff for the tx packets generated in the VM? Could be the vlan_tci/ ol_flags/ or any other missing flag set?
Does somebody know the exact behavior of the enic card with the priority tagging?
BTW in virtio mode the traffic works in both the flows.
Thanks a lot!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] enic in passhtrough mode tx drops
2016-06-16 13:13 ` [dpdk-dev] enic in passhtrough mode tx drops Ruth Christen
@ 2016-06-16 17:02 ` John Daley (johndale)
2016-06-21 7:34 ` Ruth Christen
1 sibling, 0 replies; 3+ messages in thread
From: John Daley (johndale) @ 2016-06-16 17:02 UTC (permalink / raw)
To: Ruth Christen, dev
Hi Ruth,
I'm the enic pmd maintainer. To cut down on chatter I can work with you off list and then we can post the result to dev@.
I'd like to see the packet formed in the app and what's on the wire egress, that you are sending on a configured VLAN, etc.
I'll contact you directly.
-john
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ruth Christen
> Sent: Thursday, June 16, 2016 6:13 AM
> To: dev@dpdk.org
> Subject: [dpdk-dev] enic in passhtrough mode tx drops
>
> Hi all,
>
> I'm running a vm attached to 2 cisco Virtual Card Interfaces in passthrough
> mode in a cisco UCS. The vNICs are configured on access mode without VLAN
> ID.
>
> The incoming packets are arriving with 802.1q header containing vlan priority
> bit according to the class of service configured on the vNIC. I understood this
> is expected from a fiber channel Ethernet card.
>
> According to dpdk documentation there's a need to set the
> VLAN_STRIP_OFFLOAD flag and call rte_eth_dev_set_vlan_offload on the
> ports.
>
> If I run a simple l2fwd application where the same packet received in one
> port is sent through the other the traffic works ok.
>
> If I generate the packets in my vm and send them out traffic doesn't work. (I
> tried send the traffic out with/without a 802.1q header with priority bit)
>
>
>
> Is there a specific configuration to be added to the mbuff for the tx packets
> generated in the VM? Could be the vlan_tci/ ol_flags/ or any other missing
> flag set?
>
> Does somebody know the exact behavior of the enic card with the priority
> tagging?
>
>
>
> BTW in virtio mode the traffic works in both the flows.
>
>
>
> Thanks a lot!
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] enic in passhtrough mode tx drops
2016-06-16 13:13 ` [dpdk-dev] enic in passhtrough mode tx drops Ruth Christen
2016-06-16 17:02 ` John Daley (johndale)
@ 2016-06-21 7:34 ` Ruth Christen
1 sibling, 0 replies; 3+ messages in thread
From: Ruth Christen @ 2016-06-21 7:34 UTC (permalink / raw)
To: dev
Just wanted to update that the traffic problem was being caused by a completely different reason. Not related to the vlan priority as I thought.
It was because I was changing the mbuf data offset and I was missing this patch : http://www.dpdk.org/ml/archives/dev/2016-February/033887.html
Thanks !
-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ruth Christen
Sent: Thursday, June 16, 2016 04:13 PM
To: dev@dpdk.org
Subject: [dpdk-dev] enic in passhtrough mode tx drops
Hi all,
I'm running a vm attached to 2 cisco Virtual Card Interfaces in passthrough mode in a cisco UCS. The vNICs are configured on access mode without VLAN ID.
The incoming packets are arriving with 802.1q header containing vlan priority bit according to the class of service configured on the vNIC. I understood this is expected from a fiber channel Ethernet card.
According to dpdk documentation there's a need to set the VLAN_STRIP_OFFLOAD flag and call rte_eth_dev_set_vlan_offload on the ports.
If I run a simple l2fwd application where the same packet received in one port is sent through the other the traffic works ok.
If I generate the packets in my vm and send them out traffic doesn't work. (I tried send the traffic out with/without a 802.1q header with priority bit)
Is there a specific configuration to be added to the mbuff for the tx packets generated in the VM? Could be the vlan_tci/ ol_flags/ or any other missing flag set?
Does somebody know the exact behavior of the enic card with the priority tagging?
BTW in virtio mode the traffic works in both the flows.
Thanks a lot!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-06-21 7:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <3C2AE3A004FB424A9D4DB093543E06A9E91B17C9@ILMB1.corp.radware.com>
2016-06-16 13:13 ` [dpdk-dev] enic in passhtrough mode tx drops Ruth Christen
2016-06-16 17:02 ` John Daley (johndale)
2016-06-21 7:34 ` Ruth Christen
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).