/kernel/linux/linux-5.10/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, in fm10k_restore_rx_state() local [all...] |
H A D | fm10k_pf.c | 395 u32 msg[3], xcast_mode; in fm10k_update_xcast_mode_pf() local 408 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()
|
H A D | fm10k.h | 294 int xcast_mode; member
|
/kernel/linux/linux-6.6/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, in fm10k_restore_rx_state() local [all...] |
H A D | fm10k_pf.c | 395 u32 msg[3], xcast_mode; in fm10k_update_xcast_mode_pf() local 408 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()
|
H A D | fm10k.h | 294 int xcast_mode; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_sriov.c | 113 adapter->vfinfo[i].xcast_mode = IXGBEVF_XCAST_MODE_NONE; in __ixgbe_enable_sriov() 1164 int xcast_mode = msgbuf[1]; in ixgbe_update_vf_xcast_mode() local 1171 if (xcast_mode == IXGBEVF_XCAST_MODE_PROMISC) in ixgbe_update_vf_xcast_mode() 1181 if (xcast_mode > IXGBEVF_XCAST_MODE_MULTI && in ixgbe_update_vf_xcast_mode() 1183 xcast_mode = IXGBEVF_XCAST_MODE_MULTI; in ixgbe_update_vf_xcast_mode() 1186 if (adapter->vfinfo[vf].xcast_mode == xcast_mode) in ixgbe_update_vf_xcast_mode() 1189 switch (xcast_mode) { in ixgbe_update_vf_xcast_mode() 1228 adapter->vfinfo[vf].xcast_mode = xcast_mode; in ixgbe_update_vf_xcast_mode() [all...] |
H A D | ixgbe.h | 187 int xcast_mode; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_sriov.c | 113 adapter->vfinfo[i].xcast_mode = IXGBEVF_XCAST_MODE_NONE; in __ixgbe_enable_sriov() 1164 int xcast_mode = msgbuf[1]; in ixgbe_update_vf_xcast_mode() local 1171 if (xcast_mode == IXGBEVF_XCAST_MODE_PROMISC) in ixgbe_update_vf_xcast_mode() 1181 if (xcast_mode > IXGBEVF_XCAST_MODE_MULTI && in ixgbe_update_vf_xcast_mode() 1183 xcast_mode = IXGBEVF_XCAST_MODE_MULTI; in ixgbe_update_vf_xcast_mode() 1186 if (adapter->vfinfo[vf].xcast_mode == xcast_mode) in ixgbe_update_vf_xcast_mode() 1189 switch (xcast_mode) { in ixgbe_update_vf_xcast_mode() 1228 adapter->vfinfo[vf].xcast_mode = xcast_mode; in ixgbe_update_vf_xcast_mode() [all...] |
H A D | ixgbe.h | 226 int xcast_mode; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/ |
H A D | vf.c | 529 * @xcast_mode: new multicast mode 533 static s32 ixgbevf_update_xcast_mode(struct ixgbe_hw *hw, int xcast_mode) in ixgbevf_update_xcast_mode() argument 541 if (xcast_mode == IXGBEVF_XCAST_MODE_PROMISC) in ixgbevf_update_xcast_mode() 552 msgbuf[1] = xcast_mode; in ixgbevf_update_xcast_mode() 569 * @xcast_mode: unused 571 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbevf/ |
H A D | vf.c | 537 * @xcast_mode: new multicast mode 541 static s32 ixgbevf_update_xcast_mode(struct ixgbe_hw *hw, int xcast_mode) in ixgbevf_update_xcast_mode() argument 549 if (xcast_mode == IXGBEVF_XCAST_MODE_PROMISC) in ixgbevf_update_xcast_mode() 561 msgbuf[1] = xcast_mode; in ixgbevf_update_xcast_mode() 578 * @xcast_mode: unused 582 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 | 2131 int xcast_mode; in ixgbevf_set_rx_mode() local 2135 xcast_mode = IXGBEVF_XCAST_MODE_PROMISC; in ixgbevf_set_rx_mode() 2137 xcast_mode = IXGBEVF_XCAST_MODE_ALLMULTI; in ixgbevf_set_rx_mode() 2139 xcast_mode = IXGBEVF_XCAST_MODE_MULTI; in ixgbevf_set_rx_mode() 2141 xcast_mode = IXGBEVF_XCAST_MODE_NONE; in ixgbevf_set_rx_mode() 2145 hw->mac.ops.update_xcast_mode(hw, xcast_mode); in ixgbevf_set_rx_mode()
|