Hi Satish,

If the solution to the problem is to add configuration for DPDK for this 
interface type in this situation, can I request you ask the question on the 
DPDK support lists as to why the extra config to accept multicast packets is 
required.

Regards,
neale

From: Satish Singh <ssi...@altiostar.com>
Date: Monday 16 March 2020 at 10:10
To: "Jerome Tollet (jtollet)" <jtol...@cisco.com>, "Neale Ranns (nranns)" 
<nra...@cisco.com>, "Damjan Marion (damarion)" <damar...@cisco.com>, 
"vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Cc: Krishnamoney Elayathu <kelaya...@altiostar.com>, Mrityunjaya Kumar Altran 
<kmrityunj...@altiostar.com>, Prasad Hiremath <phirem...@altiostar.com>, 
Venkatarao M <venkatar...@altiostar.com>, praveenkumar A S 
<pkuma...@altiostar.com>, Venkatesh Narayanaswamy <nve...@altiostar.com>, "Ole 
Troan (otroan)" <otr...@cisco.com>, Mahesh Sivapuram 
<msivapu...@altiostar.com>, Prashanth Bhaskar <pbhas...@altiostar.com>, 
Basawaraj E N <bnadaga...@altiostar.com>, Lokesh Chimbili 
<lchimb...@altiostar.com>
Subject: RE: Unable to ping VPP interface when using SRIOV VF

Hi Jerome, Neale, Ole

Could you please check below mail and help us to find proper solution?

Regards,
Satish Singh

From: Satish Singh
Sent: 11 March 2020 12:52
To: Jerome Tollet (jtollet) <jtol...@cisco.com>; Neale Ranns (nranns) 
<nra...@cisco.com>; Damjan Marion (damarion) <damar...@cisco.com>; 
'vpp-dev@lists.fd.io' <vpp-dev@lists.fd.io>
Cc: Krishnamoney Elayathu <kelaya...@altiostar.com>; Mrityunjaya Kumar Altran 
<kmrityunj...@altiostar.com>; Prasad Hiremath <phirem...@altiostar.com>; 
Venkatarao M <venkatar...@altiostar.com>; praveenkumar A S 
<pkuma...@altiostar.com>; Venkatesh Narayanaswamy <nve...@altiostar.com>; Ole 
Troan (otroan) <otr...@cisco.com>; Mahesh Sivapuram <msivapu...@altiostar.com>; 
Prashanth Bhaskar <pbhas...@altiostar.com>; Basawaraj E N 
<bnadaga...@altiostar.com>; Lokesh Chimbili <lchimb...@altiostar.com>
Subject: RE: Unable to ping VPP interface when using SRIOV VF

Hi Jerome, Neale, Ole

We were debugging issue regarding IPV6 ping failure between 
Linux_host_interface-->vpp_SRIOV_VF_interface and also between 
vpp_SRIOV_VF_interface <---> vpp_SRIOV_VPP_interface.
While debugging we found that src interface is sending "Neighbour Solicitation" 
with correct destination multicast IP and mac addresses.
SRIOV PF is receiving "Neighbour Solicitation" message but not forwarding it to 
VPP VF.

To make it work, we explicitly set multicast mac address 
33:33:ff:IPv6_byte[2]:IPv6_byte[1]:IPv6_byte[0] on VPP VF interface , using 
dpdk API rte_eth_dev_set_mc_addr_list during IP assignment and IPV6 ping start 
working.

We want to confirm two points:
1) Do we need to explicitly assign multicast mac address in case of IPV6 in 
VPP?, if yes do we need to raise bug on VPP and provide patch for fix.
2) Are we missing some configuration in VPP which might not need above hack.

Versions:
Kernel version: 3.10.0
VPP version: vpp-20.01



Regards,
Satish Singh

From: Lokesh Chimbili
Sent: 26 February 2020 15:48
To: Jerome Tollet (jtollet) <jtol...@cisco.com<mailto:jtol...@cisco.com>>
Cc: Krishnamoney Elayathu 
<kelaya...@altiostar.com<mailto:kelaya...@altiostar.com>>; Mrityunjaya Kumar 
Altran <kmrityunj...@altiostar.com<mailto:kmrityunj...@altiostar.com>>; Neale 
Ranns (nranns) <nra...@cisco.com<mailto:nra...@cisco.com>>; Damjan Marion 
(damarion) <damar...@cisco.com<mailto:damar...@cisco.com>>; Prasad Hiremath 
<phirem...@altiostar.com<mailto:phirem...@altiostar.com>>; Venkatarao M 
<venkatar...@altiostar.com<mailto:venkatar...@altiostar.com>>; praveenkumar A S 
<pkuma...@altiostar.com<mailto:pkuma...@altiostar.com>>; Venkatesh 
Narayanaswamy <nve...@altiostar.com<mailto:nve...@altiostar.com>>; Ole Troan 
(otroan) <otr...@cisco.com<mailto:otr...@cisco.com>>; Mahesh Sivapuram 
<msivapu...@altiostar.com<mailto:msivapu...@altiostar.com>>; Prashanth Bhaskar 
<pbhas...@altiostar.com<mailto:pbhas...@altiostar.com>>; Basawaraj E N 
<bnadaga...@altiostar.com<mailto:bnadaga...@altiostar.com>>; Satish Singh 
<ssi...@altiostar.com<mailto:ssi...@altiostar.com>>
Subject: RE: Unable to ping VPP interface when using SRIOV VF


Hi Jerome, Neale, Ole,

On running “pcap trace tx intfc vpp_eth1” on the VPP interface, we see that 
“Multicast Listener Report Message” messages are not sent whenever we 
add/remove an IPv6 address on the VPP interface using SRIOV VF.

Aren’t these messages expected to be sent? I see them getting sent whenever I 
add/remove an IPv6 address on a linux interface.

I tried subscribing to vpp-dev mailing list.
I’m not receiving any confirmation email, even though I sent an email with the 
subject “I Use Exchange And I'm Not Receiving Group Emails” to 
supp...@groups.io<mailto:supp...@groups.io>

I’ll repost as soon as the subscription is complete, meanwhile can you please 
take a look at this issue and suggest.

Please find the VPP startup.conf attached.
Please let me know if I need to share any additional information/logs.

VPP version:
vpp-20.01

VPP start:
vpp -c startup.conf

vppctl commands executed:
set interface state vpp_eth1 up
set interface ip address vpp_eth1 fd02:298c:8dfe:0402:0000:0000:0000:126b/124

i40e driver version:
[root@n4bng1 ~]# ethtool -i sriov0
driver: i40e
version: 2.8.10-k
firmware-version: 4.00 0x800014f3 1.2228.0
expansion-rom-version:
bus-info: 0000:67:00.1
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes

NIC Hardware:
67:00.1 Ethernet controller: Intel Corporation Ethernet Connection X722 for 
10GbE SFP+ (rev 09)

OS version:
CentOS Linux release 7.7.1908 (Core)

Kernel version:
3.10.0-1062.el7.x86_64

Thanks and Regards,
Lokesh.C

From: Jerome Tollet (jtollet) [mailto:jtol...@cisco.com]
Sent: 25 February 2020 23:46
To: Lokesh Chimbili
Cc: Krishnamoney Elayathu; Mrityunjaya Kumar Altran; Neale Ranns (nranns); 
Damjan Marion (damarion); Prasad Hiremath; Venkatarao M; praveenkumar A S; 
Venkatesh Narayanaswamy; Ole Troan (otroan); Mahesh Sivapuram; Prashanth 
Bhaskar; Basawaraj E N; Satish Singh
Subject: Re: Unable to ping VPP interface when using SRIOV VF

Hi Lokesh,
May I ask you to repost this question on public mailing list?
Other persons in the future may have similar issue 😉
Jerome

De : Lokesh Chimbili <lchimb...@altiostar.com<mailto:lchimb...@altiostar.com>>
Date : mardi 25 février 2020 à 18:55
À : Jerome Tollet <jtol...@cisco.com<mailto:jtol...@cisco.com>>
Cc : Krishnamoney Elayathu 
<kelaya...@altiostar.com<mailto:kelaya...@altiostar.com>>, Mrityunjaya Kumar 
Altran <kmrityunj...@altiostar.com<mailto:kmrityunj...@altiostar.com>>, "Neale 
Ranns (nranns)" <nra...@cisco.com<mailto:nra...@cisco.com>>, Damjan Marion 
<damar...@cisco.com<mailto:damar...@cisco.com>>, Prasad Hiremath 
<phirem...@altiostar.com<mailto:phirem...@altiostar.com>>, Venkatarao M 
<venkatar...@altiostar.com<mailto:venkatar...@altiostar.com>>, praveenkumar A S 
<pkuma...@altiostar.com<mailto:pkuma...@altiostar.com>>, Venkatesh 
Narayanaswamy <nve...@altiostar.com<mailto:nve...@altiostar.com>>, Ole Troan 
<otr...@cisco.com<mailto:otr...@cisco.com>>, Mahesh Sivapuram 
<msivapu...@altiostar.com<mailto:msivapu...@altiostar.com>>, Prashanth Bhaskar 
<pbhas...@altiostar.com<mailto:pbhas...@altiostar.com>>, Basawaraj E N 
<bnadaga...@altiostar.com<mailto:bnadaga...@altiostar.com>>, Satish Singh 
<ssi...@altiostar.com<mailto:ssi...@altiostar.com>>
Objet : Unable to ping VPP interface when using SRIOV VF

Hi Jerome,

When we use VPP with SRIOV VF we are unable to ping the static IPv6 address 
assigned to the VPP interface.
We tried ping from another SRIOV VF interface bound to the linux 
driver(iavf/i40e) and having a static IPv6 address in the same subnet as shown 
in the figures below,
In both cases we don’t see the IPv6 Neighbour Solicit message reaching the VPP 
interface.

[cid:image001.png@01D5FB7D.42F0D1A0]
                             Figure (a)

[cid:image002.png@01D5FB7D.42F0D1A0]
                            Figure (b)


However we are able to ping from VPP interface to external IPv6 addresses in 
the same subnet.
We don’t see this issue with IPv4 addresses.

The VF setting as shown in “ip link show <PF interface>” is as follows,
spoof checking on, link-state auto, trust off

Please find the packet captures taken on the VPP interface attached.
The case which is not working is captured in 
“ipv6_ping_from_linux_iavf_to_vpp_not_working.pcap”

Could you please suggest if we are missing some VPP configuration step due to 
which the VPP interface is not receiving any IPv6 Neighbour Solicit messages.

Thanks and Regards,
Lokesh.C
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15789): https://lists.fd.io/g/vpp-dev/message/15789
Mute This Topic: https://lists.fd.io/mt/71993742/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to