Lines Matching refs:xcast_mode
973 int xcast_mode; in fm10k_set_rx_mode() local
980 xcast_mode = (dev->flags & IFF_PROMISC) ? FM10K_XCAST_MODE_PROMISC : in fm10k_set_rx_mode()
988 if (interface->xcast_mode != xcast_mode) { in fm10k_set_rx_mode()
990 if (xcast_mode == FM10K_XCAST_MODE_PROMISC) in fm10k_set_rx_mode()
992 if (interface->xcast_mode == FM10K_XCAST_MODE_PROMISC) in fm10k_set_rx_mode()
996 hw->mac.ops.update_xcast_mode(hw, interface->glort, xcast_mode); in fm10k_set_rx_mode()
999 interface->xcast_mode = xcast_mode; in fm10k_set_rx_mode()
1003 if (xcast_mode != FM10K_XCAST_MODE_PROMISC) { in fm10k_set_rx_mode()
1005 if (xcast_mode != FM10K_XCAST_MODE_ALLMULTI) in fm10k_set_rx_mode()
1016 int xcast_mode; in fm10k_restore_rx_state() local
1024 xcast_mode = FM10K_XCAST_MODE_PROMISC; in fm10k_restore_rx_state()
1026 xcast_mode = FM10K_XCAST_MODE_ALLMULTI; in fm10k_restore_rx_state()
1028 xcast_mode = FM10K_XCAST_MODE_MULTI; in fm10k_restore_rx_state()
1030 xcast_mode = FM10K_XCAST_MODE_NONE; in fm10k_restore_rx_state()
1039 xcast_mode == FM10K_XCAST_MODE_PROMISC); in fm10k_restore_rx_state()
1054 hw->mac.ops.update_xcast_mode(hw, glort, xcast_mode); in fm10k_restore_rx_state()
1057 if (xcast_mode != FM10K_XCAST_MODE_PROMISC) { in fm10k_restore_rx_state()
1059 if (xcast_mode != FM10K_XCAST_MODE_ALLMULTI) in fm10k_restore_rx_state()
1066 interface->xcast_mode = xcast_mode; in fm10k_restore_rx_state()
1086 interface->xcast_mode = FM10K_XCAST_MODE_NONE; in fm10k_reset_rx_state()