Home
last modified time | relevance | path

Searched refs:mlx4_en_priv (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4_en.h259 struct mlx4_en_priv;
269 u32 (*free_tx_desc)(struct mlx4_en_priv *priv,
529 struct mlx4_en_priv { struct
676 int mlx4_en_try_alloc_resources(struct mlx4_en_priv *priv,
677 struct mlx4_en_priv *tmp,
680 void mlx4_en_safe_replace_resources(struct mlx4_en_priv *priv,
681 struct mlx4_en_priv *tmp);
683 int mlx4_en_create_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq **pcq,
685 void mlx4_en_destroy_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq **pcq);
686 int mlx4_en_activate_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq,
[all …]
H A Den_dcb_nl.c90 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_dcbnl_getcap()
112 struct mlx4_en_priv *priv = netdev_priv(netdev); in mlx4_en_dcbnl_getpfcstate()
119 struct mlx4_en_priv *priv = netdev_priv(netdev); in mlx4_en_dcbnl_setpfcstate()
127 struct mlx4_en_priv *priv = netdev_priv(netdev); in mlx4_en_dcbnl_get_pfc_cfg()
135 struct mlx4_en_priv *priv = netdev_priv(netdev); in mlx4_en_dcbnl_set_pfc_cfg()
143 struct mlx4_en_priv *priv = netdev_priv(netdev); in mlx4_en_dcbnl_getnumtcs()
158 struct mlx4_en_priv *priv = netdev_priv(netdev); in mlx4_en_dcbnl_set_all()
221 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_dcbnl_get_state()
231 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_dcbnl_set_state()
259 struct mlx4_en_priv *priv = netdev_priv(netdev); in mlx4_en_dcbnl_getapp()
[all …]
H A Den_selftest.c43 static int mlx4_en_test_registers(struct mlx4_en_priv *priv) in mlx4_en_test_registers()
49 static int mlx4_en_test_loopback_xmit(struct mlx4_en_priv *priv) in mlx4_en_test_loopback_xmit()
80 static int mlx4_en_test_loopback(struct mlx4_en_priv *priv) in mlx4_en_test_loopback()
115 static int mlx4_en_test_interrupts(struct mlx4_en_priv *priv) in mlx4_en_test_interrupts()
139 static int mlx4_en_test_link(struct mlx4_en_priv *priv) in mlx4_en_test_link()
149 static int mlx4_en_test_speed(struct mlx4_en_priv *priv) in mlx4_en_test_speed()
170 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_ex_selftest()
H A Den_netdev.c62 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()
[all …]
H A Den_ethtool.c51 int mlx4_en_moderation_update(struct mlx4_en_priv *priv) in mlx4_en_moderation_update()
89 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_get_drvinfo()
221 return ((struct mlx4_en_priv *) netdev_priv(dev))->msg_enable; in mlx4_en_get_msglevel()
226 ((struct mlx4_en_priv *) netdev_priv(dev))->msg_enable = val; in mlx4_en_set_msglevel()
232 struct mlx4_en_priv *priv = netdev_priv(netdev); in mlx4_en_get_wol()
272 struct mlx4_en_priv *priv = netdev_priv(netdev); in mlx4_en_set_wol()
346 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_get_sset_count()
369 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_get_ethtool_stats()
452 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_get_strings()
529 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_autoneg_get()
[all …]
H A Den_rx.c55 static int mlx4_en_alloc_frags(struct mlx4_en_priv *priv, in mlx4_en_alloc_frags()
82 static void mlx4_en_free_frag(const struct mlx4_en_priv *priv, in mlx4_en_free_frag()
94 static void mlx4_en_init_rx_desc(const struct mlx4_en_priv *priv, in mlx4_en_init_rx_desc()
119 static int mlx4_en_prepare_rx_desc(struct mlx4_en_priv *priv, in mlx4_en_prepare_rx_desc()
142 static void mlx4_en_free_rx_desc(const struct mlx4_en_priv *priv, in mlx4_en_free_rx_desc()
157 static int mlx4_en_fill_rx_buffers(struct mlx4_en_priv *priv) in mlx4_en_fill_rx_buffers()
200 static void mlx4_en_free_rx_buf(struct mlx4_en_priv *priv, in mlx4_en_free_rx_buf()
237 int mlx4_en_create_rx_ring(struct mlx4_en_priv *priv, in mlx4_en_create_rx_ring()
322 int mlx4_en_activate_rx_rings(struct mlx4_en_priv *priv) in mlx4_en_activate_rx_rings()
389 void mlx4_en_recover_from_oom(struct mlx4_en_priv *priv) in mlx4_en_recover_from_oom()
[all …]
H A Den_tx.c51 int mlx4_en_create_tx_ring(struct mlx4_en_priv *priv, in mlx4_en_create_tx_ring()
165 void mlx4_en_destroy_tx_ring(struct mlx4_en_priv *priv, in mlx4_en_destroy_tx_ring()
186 int mlx4_en_activate_tx_ring(struct mlx4_en_priv *priv, in mlx4_en_activate_tx_ring()
221 void mlx4_en_deactivate_tx_ring(struct mlx4_en_priv *priv, in mlx4_en_deactivate_tx_ring()
237 static void mlx4_en_stamp_wqe(struct mlx4_en_priv *priv, in mlx4_en_stamp_wqe()
271 INDIRECT_CALLABLE_DECLARE(u32 mlx4_en_free_tx_desc(struct mlx4_en_priv *priv,
276 u32 mlx4_en_free_tx_desc(struct mlx4_en_priv *priv, in mlx4_en_free_tx_desc()
343 INDIRECT_CALLABLE_DECLARE(u32 mlx4_en_recycle_tx_desc(struct mlx4_en_priv *priv,
348 u32 mlx4_en_recycle_tx_desc(struct mlx4_en_priv *priv, in mlx4_en_recycle_tx_desc()
364 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_free_tx_buf()
[all …]
H A Den_cq.c46 int mlx4_en_create_cq(struct mlx4_en_priv *priv, in mlx4_en_create_cq()
89 int mlx4_en_activate_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq, in mlx4_en_activate_cq()
180 void mlx4_en_destroy_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq **pcq) in mlx4_en_destroy_cq()
196 void mlx4_en_deactivate_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq) in mlx4_en_deactivate_cq()
215 int mlx4_en_set_cq_moder(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq) in mlx4_en_set_cq_moder()
221 void mlx4_en_arm_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq) in mlx4_en_arm_cq()
H A Den_resources.c40 void mlx4_en_fill_qp_context(struct mlx4_en_priv *priv, int size, int stride, in mlx4_en_fill_qp_context()
94 int mlx4_en_change_mcast_lb(struct mlx4_en_priv *priv, struct mlx4_qp *qp, in mlx4_en_change_mcast_lb()
H A Den_main.c81 void en_print(const char *level, const struct mlx4_en_priv *priv, in en_print()
104 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_update_loopback_state()
192 struct mlx4_en_priv *priv; in mlx4_en_event()
H A Den_port.c44 int mlx4_SET_VLAN_FLTR(struct mlx4_dev *dev, struct mlx4_en_priv *priv) in mlx4_SET_VLAN_FLTR()
75 struct mlx4_en_priv *priv = netdev_priv(mdev->pndev[port]); in mlx4_en_QUERY_PORT()
152 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_fold_software_stats()
189 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_DUMP_ETH_STATS()