MrBr-github / lshca

GNU General Public License v3.0
9 stars 6 forks source link

Fix LLDP query on DPUs #48

Open MrBr-github opened 2 years ago

MrBr-github commented 2 years ago

Issue 1: Currently DPUs has default rule that drops LLDP

root@drock02-bf2:~# ovs-appctl dpctl/dump-flows | grep '0x88cc'
recirc_id(0),in_port(5),eth(src=e4:1d:2d:44:ad:84,dst=01:80:c2:00:00:0e),eth_type(0x88cc), packets:0, bytes:0, used:4.620s, actions:drop

LLDP info can be heard if the script will listen on Upstream representor instead of network interface

Issue 2: No information received via raw socket even on upstream representor (via tcpdump there is LLDP packets)

Issue 3: Filter out packets that originate from the DPU itself Can be identified by SRC MAC

MrBr-github commented 2 years ago
 tcpdump -nn -i p0 -c 2 -A -s0 ether proto 0x88cc