Home
last modified time | relevance | path

Searched refs:xcast_mode (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c959 int xcast_mode; in fm10k_set_rx_mode() local
966 xcast_mode = (dev->flags & IFF_PROMISC) ? FM10K_XCAST_MODE_PROMISC : in fm10k_set_rx_mode()
974 if (interface->xcast_mode != xcast_mode) { in fm10k_set_rx_mode()
976 if (xcast_mode == FM10K_XCAST_MODE_PROMISC) in fm10k_set_rx_mode()
978 if (interface->xcast_mode == FM10K_XCAST_MODE_PROMISC) in fm10k_set_rx_mode()
982 hw->mac.ops.update_xcast_mode(hw, interface->glort, xcast_mode); in fm10k_set_rx_mode()
985 interface->xcast_mode = xcast_mode; in fm10k_set_rx_mode()
989 if (xcast_mode != FM10K_XCAST_MODE_PROMISC) { in fm10k_set_rx_mode()
991 if (xcast_mode != FM10K_XCAST_MODE_ALLMULTI) in fm10k_set_rx_mode()
1002 int xcast_mode; in fm10k_restore_rx_state() local
[all …]
Dfm10k.h254 int xcast_mode; member
Dfm10k_pf.c416 u32 msg[3], xcast_mode; in fm10k_update_xcast_mode_pf() local
428 xcast_mode = ((u32)mode << 16) | glort; in fm10k_update_xcast_mode_pf()
432 fm10k_tlv_attr_put_u32(msg, FM10K_PF_ATTR_ID_XCAST_MODE, xcast_mode); in fm10k_update_xcast_mode_pf()