[ovs-dev] [PATCH] netdev-afxdp: Add pcap dump support.

William Tu u9012063 at gmail.com
Mon Dec 16 13:43:59 UTC 2019


On Mon, Dec 16, 2019 at 1:41 AM Ilya Maximets <i.maximets at ovn.org> wrote:
>
> On 13.12.2019 21:59, William Tu wrote:
> > Debugging netdev-afxdp is hard because tcpdump does not work
> > at all, even for generic mode.  ovs-tcpdump which uses port
> > mirroring also does not work for netdev-afxdp.
>
> Hmm.  Why ovs-tcpdump doesn't work for you?  It should not depend
> on port type.  If it doesn't work we need to investigate this
> case and fix it because it's a very important tool.

Because ovs-tcpdump still uses 'tcpdump' tool to capture packets,
(dump-cmd=tcpdump) and forward to mirror port.  Since tcpdump
sees no packet at all when type=afxdp, there is no packets to mirror.

William


More information about the dev mailing list