From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout1.radware.com (mailout1.radwarecloud.com [192.115.180.130]) by dpdk.org (Postfix) with ESMTP id 6882BC66A for ; Thu, 16 Jun 2016 15:13:03 +0200 (CEST) Received: from ILMB1.corp.radware.com ([169.254.1.50]) by ILCAS2.corp.radware.com ([176.200.120.122]) with mapi id 14.03.0210.002; Thu, 16 Jun 2016 16:13:02 +0300 From: Ruth Christen To: "dev@dpdk.org" Thread-Topic: enic in passhtrough mode tx drops Thread-Index: AdHHzNjBZSTFZ75gSM2h3Xerbae5+gAA+3AQ Date: Thu, 16 Jun 2016 13:13:02 +0000 Message-ID: <3C2AE3A004FB424A9D4DB093543E06A9E91B18D0@ILMB1.corp.radware.com> References: <3C2AE3A004FB424A9D4DB093543E06A9E91B17C9@ILMB1.corp.radware.com> In-Reply-To: <3C2AE3A004FB424A9D4DB093543E06A9E91B17C9@ILMB1.corp.radware.com> Accept-Language: he-IL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [176.200.121.204] x-tm-as-product-ver: SMEX-11.0.0.4179-8.000.1202-22394.007 x-tm-as-result: No--44.652400-0.000000-31 x-tm-as-user-approved-sender: Yes x-tm-as-user-blocked-sender: No MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] enic in passhtrough mode tx drops X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2016 13:13:03 -0000 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 priori= ty bit according to the class of service configured on the vNIC. I understo= od this is expected from a fiber channel Ethernet card. According to dpdk documentation there's a need to set the VLAN_STRIP_OFFLOA= D 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 p= ort 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 bi= t) Is there a specific configuration to be added to the mbuff for the tx packe= ts generated in the VM? Could be the vlan_tci/ ol_flags/ or any other missi= ng flag set? Does somebody know the exact behavior of the enic card with the priority ta= gging? BTW in virtio mode the traffic works in both the flows. Thanks a lot!