DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Dey, Souvik" <sodey@sonusnet.com>
To: "Lu, Wenzhuo" <wenzhuo.lu@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] VLAN with ixgbevf pmd
Date: Fri, 19 Aug 2016 23:23:01 +0000	[thread overview]
Message-ID: <BN3PR0301MB12028D839D737A45D841F58FDA160@BN3PR0301MB1202.namprd03.prod.outlook.com> (raw)
In-Reply-To: <6A0DE07E22DDAD4C9103DF62FEBC09090349C019@shsmsx102.ccr.corp.intel.com>

Hi Lu,

              I already have the hw_vlan_filter set to 0 to disable it in the port_conf .



struct rte_eth_conf port_conf =

{

    .rxmode = {

        .split_hdr_size = 0,

        .header_split   = 0, /**< Header Split disabled */

        .hw_ip_checksum = 0, /**< IP checksum offload disabled */

        .hw_vlan_filter = 0, /**< VLAN filtering disabled */

        .jumbo_frame    = 0, /**< Jumbo Frame Support disabled */

        .hw_strip_crc   = 0, /**< CRC stripped by hardware */

    },

    .txmode = {

        .mq_mode = ETH_MQ_TX_NONE,

    },

    .intr_conf = {

        .lsc = 0, /**< lsc interrupt feature enabled */

    },

#if 0

    .rx_adv_conf = {

        .rss_conf = {

            .rss_key = NULL,

            .rss_hf = ETH_RSS_IPV4 | ETH_RSS_IPV6,

        },

    }

#endif

};



Interestingly the same setup works fine with vlan without Dpdk. Any other suggestions ?



--

Regards,

Souvik



-----Original Message-----
From: Lu, Wenzhuo [mailto:wenzhuo.lu@intel.com]
Sent: Thursday, August 18, 2016 8:33 PM
To: Dey, Souvik <sodey@sonusnet.com>; dev@dpdk.org
Subject: RE: VLAN with ixgbevf pmd



Hi Souvik,

Take testpmd for example, normally we should disable HW vlan filter by adding parameter " --disable-hw-vlan-filter " or CLI " port config all hw-vlan-filter off". Hope it can help :)





Best regards

Wenzhuo Lu





> -----Original Message-----

> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Dey, Souvik

> Sent: Thursday, August 18, 2016 10:47 PM

> To: dev@dpdk.org<mailto:dev@dpdk.org>

> Subject: [dpdk-dev] VLAN with ixgbevf pmd

>

> Hi,

>

>

>

> I am trying to get tagged packets to work in SRIOV mode.  I am using

> dpdk  2.1 version with an application on KVM.

>

>  The setup is as below: The same configuration works for untagged packets.

>

>  Guest VM (Virtual Function/Created tagged kni interfaces)--- > KVM

> host (PF/no tag on the VF ) -->Client server

>

>  When the packet is tagged (vlan tag/id) the packet is sent from kni

> interface to the application is it received with the tag and is also

> sent out to the pmd. But the packets does not go out of the host.

> Neither any tagged packets are coming in from out to the application. The ol_flags is set to 0 in my application.

>

> Can someone let me know what I am missing? Do we need to do some

> specific configuration on the rx or tx ports for this ? Does the vlan

> id configured on the kni gets peculated down to the vf of the host too which is causing the issue ?

>

>

>

> Any help would be highly appreciated!

>

>

>

> --

>

> Regards,

>

> Souvik

      reply	other threads:[~2016-08-19 23:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-18 14:46 Dey, Souvik
2016-08-19  0:33 ` Lu, Wenzhuo
2016-08-19 23:23   ` Dey, Souvik [this message]

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=BN3PR0301MB12028D839D737A45D841F58FDA160@BN3PR0301MB1202.namprd03.prod.outlook.com \
    --to=sodey@sonusnet.com \
    --cc=dev@dpdk.org \
    --cc=wenzhuo.lu@intel.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 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).