Closed anujkaliaiitd closed 2 months ago
Also, this DHCP packet on an XL710 NIC:
11:372264 TRACE: Transport: RX pkthdr = [type REQ, dsn 6928, reqn 8392448, pktn 12237, msz 1537]. Frame = [ETH: dst ff:ff:ff:ff:ff:ff, src 64:9d:99:0:a8:b3, eth_type 2048], [IPv4: ihl 5, version 4, ecn 0, tot_len 329, id 0, frag_off 0, ttl 128, protocol 17, check 38201, src IP 0.0.0.0, dst IP 255.255.255.255], [UDP: src_port 68, dst_port 67, len 309, check 35220].
This bug probably happens as follows: Intel DPDK NICs steer packets that match no eRPC-installed filter rules to queue #0, which feeds into eRPC. This doesn't happen on Mellanox NICs because the kernel still controls some NIC queues.
This is hard to fix in software. The DPDK transport implementation cannot just drop these packets since the Rpc class expects packets in contiguous ring buffer slots.
A better fix might be to try adding a drop rule for all packets that don't match any filter rules.
On X710 NICs, this ARP packet got through the filter:
We need a filtering test.