Searched refs:xcast_mode (Results 1 – 7 of 7) sorted by relevance
1154 int xcast_mode; in fm10k_set_rx_mode() local1161 xcast_mode = (dev->flags & IFF_PROMISC) ? FM10K_XCAST_MODE_PROMISC : in fm10k_set_rx_mode()1169 if (interface->xcast_mode != xcast_mode) { in fm10k_set_rx_mode()1171 if (xcast_mode == FM10K_XCAST_MODE_PROMISC) in fm10k_set_rx_mode()1176 if (interface->xcast_mode == FM10K_XCAST_MODE_PROMISC) in fm10k_set_rx_mode()1182 xcast_mode); in fm10k_set_rx_mode()1185 interface->xcast_mode = xcast_mode; in fm10k_set_rx_mode()1200 int xcast_mode, i; in fm10k_restore_rx_state() local1208 xcast_mode = FM10K_XCAST_MODE_PROMISC; in fm10k_restore_rx_state()1210 xcast_mode = FM10K_XCAST_MODE_ALLMULTI; in fm10k_restore_rx_state()[all …]
395 u32 msg[3], xcast_mode; in fm10k_update_xcast_mode_pf() local408 xcast_mode = ((u32)mode << 16) | glort; in fm10k_update_xcast_mode_pf()412 fm10k_tlv_attr_put_u32(msg, FM10K_PF_ATTR_ID_XCAST_MODE, xcast_mode); in fm10k_update_xcast_mode_pf()
304 int xcast_mode; member
111 adapter->vfinfo[i].xcast_mode = IXGBEVF_XCAST_MODE_NONE; in __ixgbe_enable_sriov()1116 int xcast_mode = msgbuf[1]; in ixgbe_update_vf_xcast_mode() local1123 if (xcast_mode == IXGBEVF_XCAST_MODE_PROMISC) in ixgbe_update_vf_xcast_mode()1132 if (xcast_mode > IXGBEVF_XCAST_MODE_MULTI && in ixgbe_update_vf_xcast_mode()1134 xcast_mode = IXGBEVF_XCAST_MODE_MULTI; in ixgbe_update_vf_xcast_mode()1137 if (adapter->vfinfo[vf].xcast_mode == xcast_mode) in ixgbe_update_vf_xcast_mode()1140 switch (xcast_mode) { in ixgbe_update_vf_xcast_mode()1179 adapter->vfinfo[vf].xcast_mode = xcast_mode; in ixgbe_update_vf_xcast_mode()1182 msgbuf[1] = xcast_mode; in ixgbe_update_vf_xcast_mode()
185 int xcast_mode; member
532 static s32 ixgbevf_update_xcast_mode(struct ixgbe_hw *hw, int xcast_mode) in ixgbevf_update_xcast_mode() argument540 if (xcast_mode == IXGBEVF_XCAST_MODE_PROMISC) in ixgbevf_update_xcast_mode()550 msgbuf[1] = xcast_mode; in ixgbevf_update_xcast_mode()569 static s32 ixgbevf_hv_update_xcast_mode(struct ixgbe_hw *hw, int xcast_mode) in ixgbevf_hv_update_xcast_mode() argument
2105 int xcast_mode; in ixgbevf_set_rx_mode() local2109 xcast_mode = IXGBEVF_XCAST_MODE_PROMISC; in ixgbevf_set_rx_mode()2111 xcast_mode = IXGBEVF_XCAST_MODE_ALLMULTI; in ixgbevf_set_rx_mode()2113 xcast_mode = IXGBEVF_XCAST_MODE_MULTI; in ixgbevf_set_rx_mode()2115 xcast_mode = IXGBEVF_XCAST_MODE_NONE; in ixgbevf_set_rx_mode()2119 hw->mac.ops.update_xcast_mode(hw, xcast_mode); in ixgbevf_set_rx_mode()