aboutsummaryrefslogtreecommitdiff
path: root/contrib/ofed/include/infiniband/endian.h
diff options
context:
space:
mode:
authorZhenlei Huang <zlei@FreeBSD.org>2024-10-12 13:56:56 +0000
committerZhenlei Huang <zlei@FreeBSD.org>2024-10-12 13:56:56 +0000
commitc7a2636889a649985e323de23fe495608b6fe483 (patch)
treec6c14954d89744de17a77644f656520ce3952f7f /contrib/ofed/include/infiniband/endian.h
parenteacad82f3ad0af7d74968e73ed383fc4531d1924 (diff)
downloadsrc-main.tar.gz
src-main.zip
axgbe: Fix setting promisc modeHEADmain
Ethernet drivers should respect IFF_PROMISC rather than IFF_PPROMISC. The latter is for user-requested promisc mode, it implies the former but not vice versa. Some in-kernel components such as if_bridge(4) and bpf(4) will set promisc mode for interfaces on-demand. While here, update the debugging message to be not confusing. This was spotted while reviewing markj@ 's work D46524. Test from Franco shows that the interface seems to be unconditionally initialized to promisc mode regardless of this fix. That needs further investigation. Reviewed by: markj, Franco Fichtner <franco@opnsense.org> Tested by: Franco Fichtner <franco@opnsense.org> MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D46794
Diffstat (limited to 'contrib/ofed/include/infiniband/endian.h')
0 files changed, 0 insertions, 0 deletions