Page MenuHomeFreeBSD

dpaa2: allow tapping of tx packet in dpni
ClosedPublic

Authored by bz on Oct 13 2024, 11:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 11, 10:46 PM
Unknown Object (File)
Sat, Apr 11, 8:35 PM
Unknown Object (File)
Sat, Apr 11, 10:52 AM
Unknown Object (File)
Sat, Apr 11, 2:12 AM
Unknown Object (File)
Sat, Apr 11, 1:49 AM
Unknown Object (File)
Tue, Apr 7, 9:47 AM
Unknown Object (File)
Mon, Apr 6, 2:49 PM
Unknown Object (File)
Mon, Mar 30, 8:16 AM

Details

Summary

Packet capturing on dpni is only half-working given the BPF_MTAP call
in the TX is missing. Add it to see packets in both directions.

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.Oct 13 2024, 11:18 PM

LGTM, but why "half-working"? Is there BFP_MTAP on Rx somewhere?

This revision is now accepted and ready to land.Oct 14 2024, 10:57 AM
In D47103#1073636, @dsl wrote:

LGTM, but why "half-working"? Is there BFP_MTAP on Rx somewhere?

ether_input_internal()

This revision was automatically updated to reflect the committed changes.