Now
MAIN commitmail json YAML
src/sys/arch/arm/sunxi/sunxi_emac.c@1.9
/
diff
/
nxr@1.9
src/sys/dev/ic/dwc_gmac.c@1.43 / diff / nxr@1.43
src/sys/dev/pci/if_wm.c@1.543 / diff / nxr@1.543
src/sys/dev/pci/ixgbe/ixgbe.c@1.112 / diff / nxr@1.112
src/sys/dev/pci/ixgbe/ixv.c@1.74 / diff / nxr@1.74
src/sys/net/if.h@1.242 / diff / nxr@1.242
src/sys/net/if_bridge.c@1.140 / diff / nxr@1.140
src/sys/net/if_ethersubr.c@1.246 / diff / nxr@1.246
src/sys/net/if_gif.c@1.132 / diff / nxr@1.132
src/sys/net/if_l2tp.c@1.15 / diff / nxr@1.15
src/sys/net/if_loop.c@1.98 / diff / nxr@1.98
src/sys/net/if_pppoe.c@1.131 / diff / nxr@1.131
src/sys/net/if_vlan.c@1.107 / diff / nxr@1.107
src/sys/netcan/if_canloop.c@1.3 / diff / nxr@1.3
src/sys/netinet/ip_carp.c@1.92 / diff / nxr@1.92
src/sys/dev/ic/dwc_gmac.c@1.43 / diff / nxr@1.43
src/sys/dev/pci/if_wm.c@1.543 / diff / nxr@1.543
src/sys/dev/pci/ixgbe/ixgbe.c@1.112 / diff / nxr@1.112
src/sys/dev/pci/ixgbe/ixv.c@1.74 / diff / nxr@1.74
src/sys/net/if.h@1.242 / diff / nxr@1.242
src/sys/net/if_bridge.c@1.140 / diff / nxr@1.140
src/sys/net/if_ethersubr.c@1.246 / diff / nxr@1.246
src/sys/net/if_gif.c@1.132 / diff / nxr@1.132
src/sys/net/if_l2tp.c@1.15 / diff / nxr@1.15
src/sys/net/if_loop.c@1.98 / diff / nxr@1.98
src/sys/net/if_pppoe.c@1.131 / diff / nxr@1.131
src/sys/net/if_vlan.c@1.107 / diff / nxr@1.107
src/sys/netcan/if_canloop.c@1.3 / diff / nxr@1.3
src/sys/netinet/ip_carp.c@1.92 / diff / nxr@1.92
Unify IFEF_*_MPSAFE into IFEF_MPSAFE
There are already two flags for if_output and if_start, however, it seems such
MPSAFE flags are eventually needed for all if_XXX operations. Having discrete
flags for each operation is wasteful of if_extflags bits. So let's unify
the flags into one: IFEF_MPSAFE.
Fortunately IFEF_*_MPSAFE flags have never been included in any releases, so
we can change them without breaking backward compatibility of the releases
(though the kernel version of -current should be bumped).
Note that if an interface have both MP-safe and non-MP-safe operations at a
time, we have to set the IFEF_MPSAFE flag and let callees of non-MP-safe
opeartions take the kernel lock.
Proposed on tech-kern@ and tech-net@
There are already two flags for if_output and if_start, however, it seems such
MPSAFE flags are eventually needed for all if_XXX operations. Having discrete
flags for each operation is wasteful of if_extflags bits. So let's unify
the flags into one: IFEF_MPSAFE.
Fortunately IFEF_*_MPSAFE flags have never been included in any releases, so
we can change them without breaking backward compatibility of the releases
(though the kernel version of -current should be bumped).
Note that if an interface have both MP-safe and non-MP-safe operations at a
time, we have to set the IFEF_MPSAFE flag and let callees of non-MP-safe
opeartions take the kernel lock.
Proposed on tech-kern@ and tech-net@