-
Bug
-
Resolution: Done
-
Undefined
-
None
-
rhel-8.9.0
-
None
-
None
-
None
-
rhel-sst-network-fastdatapath
-
ssg_networking
-
None
-
False
-
-
None
-
None
-
None
-
None
-
-
x86_64
-
None
What were you trying to do that didn't work?
Please provide the package NVR for which bug is seen:
4.18.0-513.5.1.el8_9.x86_64
dpdk-21.11-3.el8.x86_64
How reproducible:
always
Steps to reproduce
there are back-to-back topology. Client runs scapy, Server runs dpdk-testpmd
for server
- create 1 vf on pf, then set spoofchk on and trust on for vf
- run dpdk-testpmd
- dpdk-testpmd
a 0000:04:00.2-i --forward-mode=macswap --auto-start - run command inside testpmd> stop
> set verbose 9
>port stop all
>set promisc all off
>port start all
>start - after client send traffic, there are 2 packets captured in testpmd
for client
- send no tag /tag/qinq traffic separated
python -c 'from scapy.all import *; sendp(Ether(src="0c:42:a1:22:a3:46", dst="f6:2e:92:c3:f1:ae")//IP(src="1.1.1.1", dst="2.2.2.2")/ICMP(), iface="enp4s0f0", inter=1)' ##dstmac is server vf mac
python -c 'from scapy.all import *; sendp(Ether(src="0c:42:a1:22:a3:46", dst="f6:2e:92:c3:f1:ae")/Dot1Q(vlan=10)/Dot1Q(vlan=20)/IP(src="1.1.1.1", dst="2.2.2.2")/ICMP(), iface="enp4s0f0", inter=1)' ##dstmac is server vf mac
python -c 'from scapy.all import *; sendp(Ether(src="0c:42:a1:22:a3:46", dst="f6:2e:92:c3:f1:ae")/Dot1Q(vlan=10)/IP(src="1.1.1.1", dst="2.2.2.2")/ICMP(), iface="enp4s0f0", inter=1)' ##dstmac is server vf mac
2. capture packets on enp4s0f0 ,
Expected results
capture 2 packets on client side
Actual results
there is just 1 packet once
- is cloned by
-
RHEL-14737 [CX5][RHEL9.3]dpdk-testpmd sriov vf promisc doesn't work
- Closed