Where are packets tapped in from when simple switch binds to an physical interface?

So I wanted to know from where exactly are the packets tapped from when an physical interface is binded to simple switch as one of its port? Is it from device driver or ring buffer like DPDK gets packets?

Hi @kspimparkar,

If you are using the bmv2 switch you can take a look at the source code GitHub - p4lang/behavioral-model: The reference P4 software switch. They implemented it with the libpcap

1 Like