Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149774658
D32603.1790890683.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
901 B
Referenced Files
None
Subscribers
None
D32603.1790890683.diff
View Options
Index: sys/dev/ixgbe/if_ix.c
===================================================================
--- sys/dev/ixgbe/if_ix.c
+++ sys/dev/ixgbe/if_ix.c
@@ -3368,6 +3368,12 @@
mcnt = if_foreach_llmaddr(iflib_get_ifp(ctx), ixgbe_mc_filter_apply, sc);
+ if (mcnt < MAX_NUM_MULTICAST_ADDRESSES) {
+ update_ptr = (u8 *)mta;
+ ixgbe_update_mc_addr_list(&sc->hw, update_ptr, mcnt,
+ ixgbe_mc_array_itr, true);
+ }
+
fctrl = IXGBE_READ_REG(&sc->hw, IXGBE_FCTRL);
if (ifp->if_flags & IFF_PROMISC)
@@ -3380,13 +3386,6 @@
fctrl &= ~(IXGBE_FCTRL_UPE | IXGBE_FCTRL_MPE);
IXGBE_WRITE_REG(&sc->hw, IXGBE_FCTRL, fctrl);
-
- if (mcnt < MAX_NUM_MULTICAST_ADDRESSES) {
- update_ptr = (u8 *)mta;
- ixgbe_update_mc_addr_list(&sc->hw, update_ptr, mcnt,
- ixgbe_mc_array_itr, true);
- }
-
} /* ixgbe_if_multi_set */
/************************************************************************
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 1, 9:38 PM (5 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30078884
Default Alt Text
D32603.1790890683.diff (901 B)
Attached To
Mode
D32603: ixgbe: Update mc filter before FCTRL flags
Attached
Detach File
Event Timeline
Log In to Comment