Hi Matthew,

According to the information that you gave us, we run the below configuration :
VPP version         : 23.02-rc0~219-g6903da2

set int ip address TwentyFiveGigabitEthernetd8/0/0 10.20.10.22/24
set interface state TwentyFiveGigabitEthernetd8/0/0  up
create interface memif id 0 master
set int ip address memif0/0 10.10.1.1/24
set int state memif0/0 up
create interface memif id 1 master
set acl-plugin acl permit src 0.0.0.0/0 dst 10.20.10.22/32 proto 0-255 sport 
0-65535 dport 0-65535
abf policy add id 0 acl 0 via 10.10.1.1 memif0/0
abf attach ip4 policy 0 TwentyFiveGigabitEthernetd8/0/0

Even though adding memif0/0 interface as next hop,  the output of "show abf 
attach" command is shown as dpo-drop ip4 .

DBGvpp# show abf attach TwentyFiveGigabitEthernetd8/0/0
ipv4:
abf-interface-attach: policy:0 priority:0
[@1]: dpo-drop ip4

As you can see in the trace log below, after abf-input-ip4, the packet enters 
ip4-drop but we expect to see memif-input node instead of ip4-drop . Is there 
anything missing on the above configuration?

DBGvpp# sh trace
00:00:56:390399: dpdk-input
TwentyFiveGigabitEthernetd8/0/0 rx queue 0
buffer 0x1fffe55: current data 0, length 1242, buffer-pool 1, ref-count 1, 
trace handle 0x0
ext-hdr-valid
PKT MBUF: port 1, nb_segs 1, pkt_len 1242
buf_len 2176, data_len 1242, ol_flags 0x400180, data_off 128, phys_addr 
0x7fff95c0
packet_type 0x291 l2_len 0 l3_len 0 outer_l2_len 0 outer_l3_len 0
rss 0x0 fdir.hi 0x0 fdir.lo 0x0
Packet Offload Flags
PKT_RX_IP_CKSUM_GOOD (0x0080) IP cksum of RX pkt. is valid
PKT_RX_IP_CKSUM_NONE (0x0090) no IP cksum of RX pkt.
PKT_RX_L4_CKSUM_GOOD (0x0100) L4 cksum of RX pkt. is valid
PKT_RX_L4_CKSUM_NONE (0x0108) no L4 cksum of RX pkt.
PKT_RX_OUTER_L4_CKSUM_GOOD (0x4000) External L4 header checksum OK
Packet Types
RTE_PTYPE_L2_ETHER (0x0001) Ethernet packet
RTE_PTYPE_L3_IPV4_EXT_UNKNOWN (0x0090) IPv4 packet with or without extension 
headers
RTE_PTYPE_L4_UDP (0x0200) UDP packet
IP4: 3c:fd:fe:9c:6a:80 -> 40:a6:b7:82:1e:50
UDP: 10.20.10.19 -> 10.20.10.22
tos 0x00, ttl 64, length 1228, checksum 0x4a7e dscp CS0 ecn NON_ECN
fragment id 0xc352, flags DONT_FRAGMENT
UDP: 41669 -> 8891
length 1208, checksum 0x5813
00:00:56:390408: ethernet-input
frame: flags 0x3, hw-if-index 2, sw-if-index 2
IP4: 3c:fd:fe:9c:6a:80 -> 40:a6:b7:82:1e:50
00:00:56:390414: ip4-input-no-checksum
UDP: 10.20.10.19 -> 10.20.10.22
tos 0x00, ttl 64, length 1228, checksum 0x4a7e dscp CS0 ecn NON_ECN
fragment id 0xc352, flags DONT_FRAGMENT
UDP: 41669 -> 8891
length 1208, checksum 0x5813
00:00:56:390417: abf-input-ip4
next 1 index 0
00:00:56:390420: ip4-drop
UDP: 10.20.10.19 -> 10.20.10.22
tos 0x00, ttl 64, length 1228, checksum 0x4a7e dscp CS0 ecn NON_ECN
fragment id 0xc352, flags DONT_FRAGMENT
UDP: 41669 -> 8891
length 1208, checksum 0x5813
00:00:56:390423: error-drop
rx:TwentyFiveGigabitEthernetd8/0/0
00:00:56:390425: drop
dpdk-input: no error

Best Regards,
Burcu
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22590): https://lists.fd.io/g/vpp-dev/message/22590
Mute This Topic: https://lists.fd.io/mt/96850285/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to