Searched refs:xcast_mode (Results 1 – 12 of 12) sorted by relevance
| /linux/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_netdev.c | 1040 int xcast_mode; in fm10k_set_rx_mode() local 1047 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() local 1094 xcast_mode = FM10K_XCAST_MODE_PROMISC; in fm10k_restore_rx_state() 1096 xcast_mode = FM10K_XCAST_MODE_ALLMULTI; in fm10k_restore_rx_state() [all …]
|
| H A D | fm10k_pf.c | 396 u32 msg[3], xcast_mode; in fm10k_update_xcast_mode_pf() local 409 xcast_mode = ((u32)mode << 16) | glort; in fm10k_update_xcast_mode_pf() 413 fm10k_tlv_attr_put_u32(msg, FM10K_PF_ATTR_ID_XCAST_MODE, xcast_mode); in fm10k_update_xcast_mode_pf()
|
| H A D | fm10k.h | 295 int xcast_mode; member
|
| /linux/drivers/net/ethernet/wangxun/libwx/ |
| H A D | wx_vf_common.c | 159 int xcast_mode; in wx_set_rx_mode_vf() local 161 xcast_mode = (flags & IFF_ALLMULTI) ? WXVF_XCAST_MODE_ALLMULTI : in wx_set_rx_mode_vf() 166 xcast_mode = WXVF_XCAST_MODE_PROMISC; in wx_set_rx_mode_vf() 168 xcast_mode = WXVF_XCAST_MODE_ALLMULTI; in wx_set_rx_mode_vf() 170 xcast_mode = WXVF_XCAST_MODE_MULTI; in wx_set_rx_mode_vf() 172 xcast_mode = WXVF_XCAST_MODE_NONE; in wx_set_rx_mode_vf() 175 wx_update_xcast_mode_vf(wx, xcast_mode); in wx_set_rx_mode_vf()
|
| H A D | wx_sriov.c | 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() local 714 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()
|
| H A D | wx_vf.c | 242 int wx_update_xcast_mode_vf(struct wx *wx, int xcast_mode) in wx_update_xcast_mode_vf() argument 244 u32 msgbuf[2] = {WX_VF_UPDATE_XCAST_MODE, xcast_mode}; in wx_update_xcast_mode_vf()
|
| H A D | wx_vf.h | 123 int wx_update_xcast_mode_vf(struct wx *wx, int xcast_mode);
|
| H A D | wx_type.h | 1200 int xcast_mode; member
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_sriov.c | 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() local 1180 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()
|
| H A D | ixgbe.h | 230 int xcast_mode; member
|
| /linux/drivers/net/ethernet/intel/ixgbevf/ |
| H A D | vf.c | 545 static s32 ixgbevf_update_xcast_mode(struct ixgbe_hw *hw, int xcast_mode) in ixgbevf_update_xcast_mode() argument 553 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
|
| H A D | ixgbevf_main.c | 2132 int xcast_mode; in ixgbevf_set_rx_mode() local 2136 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()
|