Lines Matching refs:mlx4_en_priv

62 	struct mlx4_en_priv *priv = netdev_priv(dev);  in mlx4_en_setup_tc()
94 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_alloc_tx_queue_per_tc()
97 struct mlx4_en_priv *tmp; in mlx4_en_alloc_tx_queue_per_tc()
174 struct mlx4_en_priv *priv;
184 static void mlx4_en_filter_rfs_expire(struct mlx4_en_priv *priv);
206 struct mlx4_en_priv *priv = filter->priv; in mlx4_en_filter_work()
276 filter_hash_bucket(struct mlx4_en_priv *priv, __be32 src_ip, __be32 dst_ip, in filter_hash_bucket()
292 mlx4_en_filter_alloc(struct mlx4_en_priv *priv, int rxq_index, __be32 src_ip, in mlx4_en_filter_alloc()
326 struct mlx4_en_priv *priv = filter->priv; in mlx4_en_filter_free()
339 mlx4_en_filter_find(struct mlx4_en_priv *priv, __be32 src_ip, __be32 dst_ip, in mlx4_en_filter_find()
366 struct mlx4_en_priv *priv = netdev_priv(net_dev); in mlx4_en_filter_rfs()
426 void mlx4_en_cleanup_filters(struct mlx4_en_priv *priv) in mlx4_en_cleanup_filters()
444 static void mlx4_en_filter_rfs_expire(struct mlx4_en_priv *priv) in mlx4_en_filter_rfs_expire()
481 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_vlan_rx_add_vid()
511 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_vlan_rx_kill_vid()
542 static int mlx4_en_tunnel_steer_add(struct mlx4_en_priv *priv, in mlx4_en_tunnel_steer_add()
563 static int mlx4_en_uc_steer_add(struct mlx4_en_priv *priv, in mlx4_en_uc_steer_add()
615 static void mlx4_en_uc_steer_release(struct mlx4_en_priv *priv, in mlx4_en_uc_steer_release()
643 static int mlx4_en_get_qp(struct mlx4_en_priv *priv) in mlx4_en_get_qp()
682 static void mlx4_en_put_qp(struct mlx4_en_priv *priv) in mlx4_en_put_qp()
701 static int mlx4_en_replace_mac(struct mlx4_en_priv *priv, int qpn, in mlx4_en_replace_mac()
751 static void mlx4_en_update_user_mac(struct mlx4_en_priv *priv, in mlx4_en_update_user_mac()
766 static int mlx4_en_do_set_mac(struct mlx4_en_priv *priv, in mlx4_en_do_set_mac()
788 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_set_mac()
813 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_clear_list()
824 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_cache_mclist()
840 static void update_mclist_flags(struct mlx4_en_priv *priv, in update_mclist_flags()
889 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_set_rx_mode()
897 static void mlx4_en_set_promisc_mode(struct mlx4_en_priv *priv, in mlx4_en_set_promisc_mode()
957 static void mlx4_en_clear_promisc_mode(struct mlx4_en_priv *priv, in mlx4_en_clear_promisc_mode()
1004 static void mlx4_en_do_multicast(struct mlx4_en_priv *priv, in mlx4_en_do_multicast()
1138 static void mlx4_en_do_uc_filter(struct mlx4_en_priv *priv, in mlx4_en_do_uc_filter()
1261 struct mlx4_en_priv *priv = container_of(work, struct mlx4_en_priv, in mlx4_en_do_set_rx_mode()
1304 static int mlx4_en_set_rss_steer_rules(struct mlx4_en_priv *priv) in mlx4_en_set_rss_steer_rules()
1343 static void mlx4_en_delete_rss_steer_rules(struct mlx4_en_priv *priv) in mlx4_en_delete_rss_steer_rules()
1375 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_tx_timeout()
1397 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_get_stats64()
1405 static void mlx4_en_set_default_moderation(struct mlx4_en_priv *priv) in mlx4_en_set_default_moderation()
1452 static void mlx4_en_auto_moderation(struct mlx4_en_priv *priv) in mlx4_en_auto_moderation()
1520 struct mlx4_en_priv *priv = container_of(delay, struct mlx4_en_priv, in mlx4_en_do_get_stats()
1550 struct mlx4_en_priv *priv = container_of(delay, struct mlx4_en_priv, in mlx4_en_service_task()
1566 static void mlx4_en_linkstate(struct mlx4_en_priv *priv) in mlx4_en_linkstate()
1590 struct mlx4_en_priv *priv = container_of(work, struct mlx4_en_priv, in mlx4_en_linkstate_work()
1599 static int mlx4_en_init_affinity_hint(struct mlx4_en_priv *priv, int ring_idx) in mlx4_en_init_affinity_hint()
1612 static void mlx4_en_free_affinity_hint(struct mlx4_en_priv *priv, int ring_idx) in mlx4_en_free_affinity_hint()
1617 static void mlx4_en_init_recycle_ring(struct mlx4_en_priv *priv, in mlx4_en_init_recycle_ring()
1631 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_start_port()
1890 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_stop_port()
2021 struct mlx4_en_priv *priv = container_of(work, struct mlx4_en_priv, in mlx4_en_restart()
2041 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_clear_stats()
2083 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_open()
2112 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_close()
2126 static void mlx4_en_free_resources(struct mlx4_en_priv *priv) in mlx4_en_free_resources()
2156 static int mlx4_en_alloc_resources(struct mlx4_en_priv *priv) in mlx4_en_alloc_resources()
2220 static int mlx4_en_copy_priv(struct mlx4_en_priv *dst, in mlx4_en_copy_priv()
2221 struct mlx4_en_priv *src, in mlx4_en_copy_priv()
2268 static void mlx4_en_update_priv(struct mlx4_en_priv *dst, in mlx4_en_update_priv()
2269 struct mlx4_en_priv *src) in mlx4_en_update_priv()
2288 int mlx4_en_try_alloc_resources(struct mlx4_en_priv *priv, in mlx4_en_try_alloc_resources()
2289 struct mlx4_en_priv *tmp, in mlx4_en_try_alloc_resources()
2329 void mlx4_en_safe_replace_resources(struct mlx4_en_priv *priv, in mlx4_en_safe_replace_resources()
2330 struct mlx4_en_priv *tmp) in mlx4_en_safe_replace_resources()
2338 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_destroy_netdev()
2375 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_check_xdp_mtu()
2388 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_change_mtu()
2425 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_hwtstamp_set()
2481 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_hwtstamp_get()
2502 struct mlx4_en_priv *en_priv = netdev_priv(netdev); in mlx4_en_fix_features()
2521 struct mlx4_en_priv *priv = netdev_priv(netdev); in mlx4_en_set_features()
2574 struct mlx4_en_priv *en_priv = netdev_priv(dev); in mlx4_en_set_vf_mac()
2583 struct mlx4_en_priv *en_priv = netdev_priv(dev); in mlx4_en_set_vf_vlan()
2593 struct mlx4_en_priv *en_priv = netdev_priv(dev); in mlx4_en_set_vf_rate()
2602 struct mlx4_en_priv *en_priv = netdev_priv(dev); in mlx4_en_set_vf_spoofchk()
2610 struct mlx4_en_priv *en_priv = netdev_priv(dev); in mlx4_en_get_vf_config()
2618 struct mlx4_en_priv *en_priv = netdev_priv(dev); in mlx4_en_set_vf_link_state()
2627 struct mlx4_en_priv *en_priv = netdev_priv(dev); in mlx4_en_get_vf_stats()
2637 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_get_phys_port_id()
2655 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_udp_tunnel_sync()
2693 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_features_check()
2706 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_set_tx_maxrate()
2733 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_xdp_set()
2737 struct mlx4_en_priv *tmp; in mlx4_xdp_set()
3107 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_get_queue_stats_rx()
3127 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_get_queue_stats_tx()
3147 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_get_base_stats()
3179 struct mlx4_en_priv *priv; in mlx4_en_init_netdev()
3183 dev = alloc_etherdev_mqs(sizeof(struct mlx4_en_priv), in mlx4_en_init_netdev()
3199 memset(priv, 0, sizeof(struct mlx4_en_priv)); in mlx4_en_init_netdev()
3519 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_reset_config()
3522 struct mlx4_en_priv *tmp; in mlx4_en_reset_config()