DPDK usage discussions
 help / color / Atom feed
From: Liwu Liu <liwuliu@fortinet.com>
To: Thomas Monjalon <thomas@monjalon.net>
Cc: "users@dpdk.org" <users@dpdk.org>,
	"erezf@mellanox.com" <erezf@mellanox.com>,
	"kiranv@mellanox.com" <kiranv@mellanox.com>,
	"rasland@mellanox.com" <rasland@mellanox.com>,
	"asafp@mellanox.com" <asafp@mellanox.com>
Subject: Re: [dpdk-users] mlx5 PMD fails to receive certain icmpv6 multicast
Date: Wed, 6 May 2020 22:38:49 +0000
Message-ID: <37164517d0c54b65b088386d1b7ec7b5@fortinet.com> (raw)
In-Reply-To: <3620277.fW5hKsROvD@thomas>

Hi Team,
   I did some test today for "trusted off" vfNIC.
   We use to enable (multi-unicast) promiscuous mode for vfNIC---it has no use if the vfNIC is not in trusted (super user) mode. But it masks out secondary mac address addition.
   IF I turn off promiscuous mode for vfNCI, adding secondary mac then works.

+#if 1
+    struct rte_ether_addr addr = { .addr_bytes = "\x33\x33\xff\x00\x00\x01",};  <==when set this
+    rte_eth_dev_mac_addr_add(portid, &addr, 0);
     rte_eth_promiscuous_enable(portid);  <====we need to avoid this



-----Original Message-----
From: Thomas Monjalon <thomas@monjalon.net> 
Sent: Wednesday, May 6, 2020 3:05 PM
To: Liwu Liu <liwuliu@fortinet.com>
Cc: users@dpdk.org; erezf@mellanox.com; kiranv@mellanox.com; rasland@mellanox.com; asafp@mellanox.com
Subject: Re: [dpdk-users] mlx5 PMD fails to receive certain icmpv6 multicast

26/03/2020 22:11, Thomas Monjalon:
> 06/03/2020 01:45, Liwu Liu:
> > Hi Team,
> > 
> > I am using the mlx5/100G in KVM guest. The host shows this PCI vfNIC is provisioned to the guest:
> >       "17:01.1 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX-5 Virtual Function]"
> > 
> > I am using DPDK 19.11 with kind of standard configurations, and when DPDK application runs I still have the kernel mlx5e net device present. I have both promiscuous and all-multicast turned on.
> > 
> > It works fine for IPV4, but for IPV6 it fails. It can receive packets destined to 33:33:00:00:00:02 (IPV6 Router solicitation), but cannot receive packets destined to 33:33:ff:00:00:01 (IPV6 neighbor solicitation for some address).
> > 
> > But if I avoid DPDK, directly use the OFED-4.6 based kernel driver, everything works fine as expected.
> > 
> > I am thinking there is some mismatch happened for MLX5 PMD. Please give some advice/hints.
> Adding Mellanox engineers in Cc list for help.

Any update to share please?

      reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-06  0:45 Liwu Liu
2020-03-26 21:11 ` Thomas Monjalon
2020-05-06 22:05   ` Thomas Monjalon
2020-05-06 22:38     ` Liwu Liu [this message]

Reply instructions:

You may reply publically 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=37164517d0c54b65b088386d1b7ec7b5@fortinet.com \
    --to=liwuliu@fortinet.com \
    --cc=asafp@mellanox.com \
    --cc=erezf@mellanox.com \
    --cc=kiranv@mellanox.com \
    --cc=rasland@mellanox.com \
    --cc=thomas@monjalon.net \
    --cc=users@dpdk.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK usage discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
	public-inbox-index users

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/ public-inbox