Hi, All I used VPP21.01 and AF_XDP on a physical nic. I followed the guide in https://docs.fd.io/vpp/21.01/d8/d44/af_xdp_doc.html that
1. ip link set dev <iface> promisc on 2. vppctl create int af_xdp host-if ... // load the default one, which I think should forward all received packets from kernel to VPP 3. vppctl set int mac address <iface> <mac> // set to the NIC MAC. 4. vppctl set int ip addr ... However "vppctl ping" still failed with "l3 mac mismatch". vpp# show errors Count Node Reason Severity 20 ip4-glean ARP requests sent error 20 enp9s0f0/0-tx sendto required error 82 ethernet-input l3 mac mismatch error >From the remote ping target machine, tcpdump did show receiving the arp >request and sending the arp reply with the correct dmac. However in VPP, "trace add af_xdp-input 10", and "show trace" Packet 1 00:14:16:539735: af_xdp-input af_xdp: enp9s0f0/0 (2) next-node ethernet-input 00:14:16:539744: ethernet-input frame: flags 0x1, hw-if-index 2, sw-if-index 2 0x0000: 00:00:00:00:00:00 -> 00:00:00:00:00:00 00:14:16:539748: error-punt rx:enp9s0f0/0 00:14:16:539750: punt ethernet-input: l3 mac mismatch Does anyone have any ideas? Many thanks. Thx, Xuekun
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19381): https://lists.fd.io/g/vpp-dev/message/19381 Mute This Topic: https://lists.fd.io/mt/82798670/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-