From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id F0692A034E for ; Thu, 7 May 2020 00:38:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8C96E1DB64; Thu, 7 May 2020 00:38:52 +0200 (CEST) Received: from smtp.fortinet.com (smtp.fortinet.com [208.91.113.81]) by dpdk.org (Postfix) with ESMTP id 3D6331DB60 for ; Thu, 7 May 2020 00:38:51 +0200 (CEST) Received: from mail.fortinet.com ([192.168.221.132]) by smtp.fortinet.com with ESMTP id 046McoCj029489-046McoCl029489 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=FAIL); Wed, 6 May 2020 15:38:50 -0700 Received: from FGT-EXCH-MBX132.fortinet-us.com (192.168.221.132) by FGT-EXCH-MBX132.fortinet-us.com (192.168.221.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Wed, 6 May 2020 15:38:49 -0700 Received: from FGT-EXCH-MBX132.fortinet-us.com ([fe80::78b9:5f97:8cec:b419]) by FGT-EXCH-MBX132.fortinet-us.com ([fe80::78b9:5f97:8cec:b419%5]) with mapi id 15.01.1979.003; Wed, 6 May 2020 15:38:49 -0700 From: Liwu Liu To: Thomas Monjalon CC: "users@dpdk.org" , "erezf@mellanox.com" , "kiranv@mellanox.com" , "rasland@mellanox.com" , "asafp@mellanox.com" Thread-Topic: [dpdk-users] mlx5 PMD fails to receive certain icmpv6 multicast Thread-Index: AdXzTxE0nI1mz7srSrm2rbWw6UkR+QQnq3AACA/X6wAADaDuAA== Date: Wed, 6 May 2020 22:38:49 +0000 Message-ID: <37164517d0c54b65b088386d1b7ec7b5@fortinet.com> References: <8e9c1a6b5c3148ecbaba453652bce127@fortinet.com> <1753687.1xdlsreqCQ@xps> <3620277.fW5hKsROvD@thomas> In-Reply-To: <3620277.fW5hKsROvD@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [96.45.36.15] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-FE-Policy-ID-smtp.fortinet.com: 392:1:4:SYSTEM DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; d=fortinet.com; s=dkim; c=relaxed/relaxed; h=from:to:cc:subject:date:message-id:references:content-type:mime-version; bh=jyrp6r/bmIAv1AEdzbNQDqo6AHQqAHZQ9frmrXoQKns=; b=YX7GwYyW/kKA9zpFEtVi4DpQQZpgmxlb+8jWqxFtac7zdZmCtOuTZV87+kFX/5PSm6Zv57GujNYG 8syJFfd6vlW2cor7hQ9Y8Ag7MjzcJN4JvrdhHcbfHVbzHEzbUVcTg3DYhk1Ml+ZCACFliU9t1ToI Z5xkzDHQsHn91W3r5Xu46HZscQlzoUQH+iRhJy6ZPIJtrq/KDuIxFNWUCsCkJ4728Bv+npf+jIZv 7PCJcXTouaFvY/OuCNgPis+/JSTxOpJ+r+1nZZZpfZL7TwyHC5PDOFELEbd4PXxCBOWf3DZVZ2pi x1RbJcuWuHQmXCHWZqsaxxVWLJKh1HuJiCujeA== Subject: Re: [dpdk-users] mlx5 PMD fails to receive certain icmpv6 multicast X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" 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 seco= ndary mac address addition. IF I turn off promiscuous mode for vfNCI, adding secondary mac then work= s. +#if 1 + struct rte_ether_addr addr =3D { .addr_bytes =3D "\x33\x33\xff\x00\x00= \x01",}; <=3D=3Dwhen set this + rte_eth_dev_mac_addr_add(portid, &addr, 0); +#else + rte_eth_promiscuous_enable(portid); <=3D=3D=3D=3Dwe need to avoid thi= s Best, Liwu -----Original Message----- From: Thomas Monjalon =20 Sent: Wednesday, May 6, 2020 3:05 PM To: Liwu Liu Cc: users@dpdk.org; erezf@mellanox.com; kiranv@mellanox.com; rasland@mellan= ox.com; asafp@mellanox.com Subject: Re: [dpdk-users] mlx5 PMD fails to receive certain icmpv6 multicas= t 26/03/2020 22:11, Thomas Monjalon: > 06/03/2020 01:45, Liwu Liu: > > Hi Team, > >=20 > > 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 Famil= y [ConnectX-5 Virtual Function]" > >=20 > > I am using DPDK 19.11 with kind of standard configurations, and when DP= DK application runs I still have the kernel mlx5e net device present. I hav= e both promiscuous and all-multicast turned on. > >=20 > > It works fine for IPV4, but for IPV6 it fails. It can receive packets d= estined 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). > >=20 > > But if I avoid DPDK, directly use the OFED-4.6 based kernel driver, eve= rything works fine as expected. > >=20 > > I am thinking there is some mismatch happened for MLX5 PMD. Please give= some advice/hints. >=20 > Adding Mellanox engineers in Cc list for help. Any update to share please?