ixgbe: Clean up unneeded set in ixgbe_if_multi_set
We don't need to set the bits here since the if/else if/else statements fully cover setting these bit pairs. Reported by: markj Reviewed by: markj, erj Approved by: #intel_networking MFC aftter: 1 week Differential Revision: https://reviews.freebsd.org/D29827
This commit is contained in:
parent
407abff2b9
commit
deecaa1445
@ -3294,7 +3294,7 @@ ixgbe_if_multi_set(if_ctx_t ctx)
|
||||
adapter);
|
||||
|
||||
fctrl = IXGBE_READ_REG(&adapter->hw, IXGBE_FCTRL);
|
||||
fctrl |= (IXGBE_FCTRL_UPE | IXGBE_FCTRL_MPE);
|
||||
|
||||
if (ifp->if_flags & IFF_PROMISC)
|
||||
fctrl |= (IXGBE_FCTRL_UPE | IXGBE_FCTRL_MPE);
|
||||
else if (mcnt >= MAX_NUM_MULTICAST_ADDRESSES ||
|
||||
|
Loading…
Reference in New Issue
Block a user