Searched refs:xcast_mode (Results 1 – 9 of 9) sorted by relevance
1040 int xcast_mode; in fm10k_set_rx_mode() local1047 xcast_mode = (dev->flags & IFF_PROMISC) ? FM10K_XCAST_MODE_PROMISC : in fm10k_set_rx_mode()1055 if (interface->xcast_mode != xcast_mode) { in fm10k_set_rx_mode()1057 if (xcast_mode == FM10K_XCAST_MODE_PROMISC) in fm10k_set_rx_mode()1062 if (interface->xcast_mode == FM10K_XCAST_MODE_PROMISC) in fm10k_set_rx_mode()1068 xcast_mode); in fm10k_set_rx_mode()1071 interface->xcast_mode = xcast_mode; in fm10k_set_rx_mode()1086 int xcast_mode, i; in fm10k_restore_rx_state() local1094 xcast_mode = FM10K_XCAST_MODE_PROMISC; in fm10k_restore_rx_state()1096 xcast_mode = FM10K_XCAST_MODE_ALLMULTI; in fm10k_restore_rx_state()[all …]
295 int xcast_mode; member
160 int xcast_mode; in wx_set_rx_mode_vf() local162 xcast_mode = (flags & IFF_ALLMULTI) ? WXVF_XCAST_MODE_ALLMULTI : in wx_set_rx_mode_vf()167 xcast_mode = WXVF_XCAST_MODE_PROMISC; in wx_set_rx_mode_vf()169 xcast_mode = WXVF_XCAST_MODE_ALLMULTI; in wx_set_rx_mode_vf()171 xcast_mode = WXVF_XCAST_MODE_MULTI; in wx_set_rx_mode_vf()173 xcast_mode = WXVF_XCAST_MODE_NONE; in wx_set_rx_mode_vf()176 wx_update_xcast_mode_vf(wx, xcast_mode); in wx_set_rx_mode_vf()
108 wx->vfinfo[i].xcast_mode = WXVF_XCAST_MODE_NONE; in __wx_enable_sriov()711 int xcast_mode = msgbuf[1]; in wx_update_vf_xcast_mode() local714 if (wx->vfinfo[vf].xcast_mode == xcast_mode) in wx_update_vf_xcast_mode()717 switch (xcast_mode) { in wx_update_vf_xcast_mode()749 wx->vfinfo[vf].xcast_mode = xcast_mode; in wx_update_vf_xcast_mode()750 msgbuf[1] = xcast_mode; in wx_update_vf_xcast_mode()
242 int wx_update_xcast_mode_vf(struct wx *wx, int xcast_mode) in wx_update_xcast_mode_vf() argument244 u32 msgbuf[2] = {WX_VF_UPDATE_XCAST_MODE, xcast_mode}; in wx_update_xcast_mode_vf()
112 adapter->vfinfo[i].xcast_mode = IXGBEVF_XCAST_MODE_NONE; in __ixgbe_enable_sriov()1173 int xcast_mode = msgbuf[1]; in ixgbe_update_vf_xcast_mode() local1180 if (xcast_mode == IXGBEVF_XCAST_MODE_PROMISC) in ixgbe_update_vf_xcast_mode()1192 if (xcast_mode > IXGBEVF_XCAST_MODE_MULTI && in ixgbe_update_vf_xcast_mode()1194 xcast_mode = IXGBEVF_XCAST_MODE_MULTI; in ixgbe_update_vf_xcast_mode()1197 if (adapter->vfinfo[vf].xcast_mode == xcast_mode) in ixgbe_update_vf_xcast_mode()1200 switch (xcast_mode) { in ixgbe_update_vf_xcast_mode()1239 adapter->vfinfo[vf].xcast_mode = xcast_mode; in ixgbe_update_vf_xcast_mode()1242 msgbuf[1] = xcast_mode; in ixgbe_update_vf_xcast_mode()
230 int xcast_mode; member
545 static s32 ixgbevf_update_xcast_mode(struct ixgbe_hw *hw, int xcast_mode) in ixgbevf_update_xcast_mode() argument553 if (xcast_mode == IXGBEVF_XCAST_MODE_PROMISC) in ixgbevf_update_xcast_mode()567 msgbuf[1] = xcast_mode; in ixgbevf_update_xcast_mode()588 static s32 ixgbevf_hv_update_xcast_mode(struct ixgbe_hw *hw, int xcast_mode) in ixgbevf_hv_update_xcast_mode() argument
2132 int xcast_mode; in ixgbevf_set_rx_mode() local2136 xcast_mode = IXGBEVF_XCAST_MODE_PROMISC; in ixgbevf_set_rx_mode()2138 xcast_mode = IXGBEVF_XCAST_MODE_ALLMULTI; in ixgbevf_set_rx_mode()2140 xcast_mode = IXGBEVF_XCAST_MODE_MULTI; in ixgbevf_set_rx_mode()2142 xcast_mode = IXGBEVF_XCAST_MODE_NONE; in ixgbevf_set_rx_mode()2146 hw->mac.ops.update_xcast_mode(hw, xcast_mode); in ixgbevf_set_rx_mode()