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 1A833A053A; Thu, 23 Jan 2020 16:36:53 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BD1AA2B98; Thu, 23 Jan 2020 16:36:51 +0100 (CET) Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) by dpdk.org (Postfix) with ESMTP id D23EA2A62 for ; Thu, 23 Jan 2020 16:36:49 +0100 (CET) Received: by mail-qk1-f180.google.com with SMTP id j20so3780454qka.10 for ; Thu, 23 Jan 2020 07:36:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=aL5qn+PbWtOLml8fGDAgK3G6F+Pyy4pKaA4WkOBFgYw=; b=JjE24bAhJlocQnFd7WADUe37AQ2bn7rSIU7M54wfnYO+op4b8U67M8WuQ0DUn0Ghl0 xSCsDDvid/CcDM1SdXnAM80Q6t2XY2h0fKAPrtj1Y/Z/HZmAITE7ubghKYFZSDLTXabB 9E/+o03A1A9+GEf7DafTOEvPPBBTcS1t2l4HrOzT2nzVHbmtvX+PYcyQ72Jl2sHdH6p+ R5GGTMDgdialHxFvy3wubpYoxmBEJUtkDDuIA5zZiMAgyL7MbUDrWAS/9FeMjjXtPvCS KeRLMPIjZeTEGeyEqZCtmvzku2rDNCpKo4csPuH2FRNYKcXKBQQjL7mn8GcBkaTSvzz3 xE+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=aL5qn+PbWtOLml8fGDAgK3G6F+Pyy4pKaA4WkOBFgYw=; b=SavRZTjn15GY+G8BcwlALrBk0vtWdxOpcERB2w+uB05yt859hJMltF/M8ofueiS+08 zGZyFM+s8pZ1AeGQFU2W0COMgK118EqjvVrWg9bolVXI/aRLCqD2M6MGnPnSZ0xLfroS VJVRLiKWIwDqkLRJrYIbBCSsKy7F+KjR9xFwcLrN++nOCpNMtVVzOR6ekGjUC9lS0Mhg 3wloTH2mjG1caczKDAFGuYK5niFhpdaSRU63+HwYs1Z7HcGh7/+4ppjaO/WnYafxKeaN //LhbvS6nR8nxnOLADpIXmSKCT0E3/bdEISmF2jFiUdt2AqjANmesPUoH0lDbsJE/nE0 KN3A== X-Gm-Message-State: APjAAAWKiPziXIx9wxC1n//izfxKgOqnd75kwaRG5Li+pD6VUowo1h2V GS4/WAd+PfGu1Ew57e2kVvrhBAZSC9PUcY8zkGoBOs09 X-Google-Smtp-Source: APXvYqyamcYuAtB8SrNPfUlSn5NdjHEfUQS1Vrtn93NSVr0kxKIIHmOR7D1QV83qPAPRycMxrz4Z7QCSPHxwEs2vzvc= X-Received: by 2002:a05:620a:16d1:: with SMTP id a17mr16093207qkn.49.1579793808854; Thu, 23 Jan 2020 07:36:48 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Srinivasan J Date: Thu, 23 Jan 2020 21:06:38 +0530 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] Kni interface unable to receive ipv6 solicited node multicast addressed frames X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On further investigation, it' seen that the dvSwitch does not have any multicast MAC registered when using DPDK vmxnet3 poll mode driver along with the KNI sample app post configuring IPv6 address on the vEth0 KNI interface. The same interface when used with the kernel driver works fine. Any help or pointers are really appreciated. Regards, Srini Non Working case: Using DPDK sample KNI interface in the same Ubuntu ================ /net/portsets/DvsPortset-0/ports/50331667/> cat status port { port index:19 portCfg: dvPortId:17 clientName:Ubuntu 18 64bit.eth1 clientType:port types: 5 -> VMM Virtual NIC clientSubType:port types: 9 -> Vmxnet3 Client world leader:180572 flags:port flags: 0x401d3 -> IN_USE ENABLED WORLD_ASSOC RX_COALESCE TX_COALESCE TX_COMP_COALESCE CONNECTED Impl customized blocked flags:0x00000000 Passthru status:: 0x20 -> DISABLED_BY_PG fixed Hw Id:00:50:56:80:b3:6e: ethFRP:frame routing { requested:filter { flags:0x00000019 unicastAddr:00:50:56:80:b3:6e: numMulticastAddresses:0 multicastAddresses: LADRF:[0]: 0x0 [1]: 0x0 } accepted:filter { flags:0x00000009 unicastAddr:00:50:56:80:b3:6e: numMulticastAddresses:0 multicastAddresses: LADRF:[0]: 0x0 [1]: 0x0 } } filter supported features:features: 0 -> NONE filter properties:properties: 0 -> NONE rx mode:properties: 0 -> INLINE tune mode:Tuning mode: 0 -> default } Working case: Using Kernel interface in Ubuntu =========== /net/portsets/DvsPortset-0/ports/50331667/> cat status port { port index:19 portCfg: dvPortId:17 clientName:Ubuntu 18 64bit.eth1 clientType:port types: 5 -> VMM Virtual NIC clientSubType:port types: 9 -> Vmxnet3 Client world leader:180572 flags:port flags: 0x401d3 -> IN_USE ENABLED WORLD_ASSOC RX_COALESCE TX_COALESCE TX_COMP_COALESCE CONNECTED Impl customized blocked flags:0x00000000 Passthru status:: 0x20 -> DISABLED_BY_PG fixed Hw Id:00:50:56:80:b3:6e: ethFRP:frame routing { requested:filter { flags:0x0000000b unicastAddr:00:50:56:80:b3:6e: numMulticastAddresses:6 multicastAddresses:01:00:5e:00:00:01,01:80:c2:00:00:00,01:80:c2:00:00:03,01:80:c2:00:00:0e,33:33:00:00:00:01,33:33:ff:80:b3:6e, LADRF:[0]: 0x0 [1]: 0x0 } accepted:filter { flags:0x0000000b unicastAddr:00:50:56:80:b3:6e: numMulticastAddresses:6 multicastAddresses:01:00:5e:00:00:01,01:80:c2:00:00:00,01:80:c2:00:00:03,01:80:c2:00:00:0e,33:33:00:00:00:01,33:33:ff:80:b3:6e, LADRF:[0]: 0x0 [1]: 0x0 } } filter supported features:features: 0x1 -> LRO filter properties:properties: 0 -> NONE rx mode:properties: 0 -> INLINE tune mode:Tuning mode: 0 -> default } On Fri, Jan 17, 2020 at 10:56 PM Srinivasan J wrote: > > Hi, > I observed that DPDK kni interface is not able to receive solicited > node multicast addressed (derived from the IPv6 address configured on > vEth0 interface) when the kni sample app is being run in Ubuntu VM on > ESXI server. The only way to have the frames reach the kni interface > is by setting the promiscuous mode in dvSwitch. However regular kernel > interface with IPv6 address on the same vmxnet3 port works fine > without having to set promiscuous mode in the dvSwitch. Has anyone > seen this issue before? Any suggestions to have kni interface working > with ipv6 addresses in non promiscuous mode of dvSwitch. > > Ubuntu version used = Ubuntu 18.04.3 LTS > DPDK version: 18.08.1 > VMware ESXI 6.5.0 > > auto@auto_ubuntu18:~/source/dpdk-stable-18.08.1/usertools$ uname -a > Linux auto_ubuntu18 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 > 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux > > sudo /tmp/kni -l 6-7 -- -P -p 0x1 --config="(0,6,7)" > > Thanks, > Srini