opnsense-src/sys/dev/bxe
Mark Johnston b513c311d0 ifnet: Remove if_getamcount()
All uses of this function were incorrect.  if_amcount is a reference
count which tracks the number of times the network stack internally set
IFF_ALLMULTI.  (if_pcount is the corresponding counter for IFF_PROMISC.)

Remove if_getamcount() and fix up callers to get the number of assigned
multicast addresses instead, since that's what they actually want.

Sponsored by:	Klara, Inc.
Reviewed by:	zlei, glebius
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D46523

(cherry picked from commit 408c909dc64f77d2696d6fec77a2e0b00255cf96)
2024-09-20 11:39:16 +00:00
..
57710_init_values.c
57710_int_offsets.h
57711_init_values.c
57711_int_offsets.h
57712_init_values.c
57712_int_offsets.h
bxe.c ifnet: Remove if_getamcount() 2024-09-20 11:39:16 +00:00
bxe.h
bxe_dcb.h
bxe_debug.c
bxe_dump.h
bxe_elink.c
bxe_elink.h
bxe_ioctl.h
bxe_stats.c
bxe_stats.h
ecore_fw_defs.h
ecore_hsi.h
ecore_init.h
ecore_init_ops.h
ecore_mfw_req.h
ecore_reg.h
ecore_sp.c
ecore_sp.h