HomeFreeBSD

infiniband: Convert BPF handling for IfAPI

Description

infiniband: Convert BPF handling for IfAPI

Summary:
All callers of infiniband_bpf_mtap() call it through the wrapper macro,
which checks the if_bpf member explicitly. Since this is getting
hidden, move this check into the internal function and remove the
wrapper macro.

Reviewed by: hselasky
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D39024

Details

Provenance
jhibbitsAuthored on Feb 9 2023, 2:32 AM
Reviewer
hselasky
Differential Revision
D39024: infiniband: Convert BPF handling for IfAPI
Parents
rG19aba210e1a1: ssh: fix leak and apply style(9) to hostname canonicalization
Branches
Unknown
Tags
Unknown