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
F107390612: D47103.id144795.diff
Mon, Jan 13, 11:54 AM
F107390609: D47103.id144795.diff
Mon, Jan 13, 11:54 AM
F107390605: D47103.id144795.diff
Mon, Jan 13, 11:54 AM
Unknown Object (File)
Fri, Jan 10, 5:40 AM
Unknown Object (File)
Dec 12 2024, 7:36 PM
Unknown Object (File)
Nov 29 2024, 10:20 AM
Unknown Object (File)
Nov 26 2024, 12:59 AM
Unknown Object (File)
Nov 25 2024, 3:04 PM

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 Passed
Unit
No Test Coverage
Build Status
Buildable 59965
Build 56850: arc lint + arc unit

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.