Searched refs:mlx4_en_priv (Results 1 – 11 of 11) sorted by relevance
/drivers/net/ethernet/mellanox/mlx4/ |
D | mlx4_en.h | 259 struct mlx4_en_priv; 269 u32 (*free_tx_desc)(struct mlx4_en_priv *priv, 523 struct mlx4_en_priv { struct 670 int mlx4_en_try_alloc_resources(struct mlx4_en_priv *priv, 671 struct mlx4_en_priv *tmp, 674 void mlx4_en_safe_replace_resources(struct mlx4_en_priv *priv, 675 struct mlx4_en_priv *tmp); 677 int mlx4_en_create_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq **pcq, 679 void mlx4_en_destroy_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq **pcq); 680 int mlx4_en_activate_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq, [all …]
|
D | en_dcb_nl.c | 90 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 …]
|
D | en_netdev.c | 59 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_setup_tc() 91 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_alloc_tx_queue_per_tc() 94 struct mlx4_en_priv *tmp; in mlx4_en_alloc_tx_queue_per_tc() 171 struct mlx4_en_priv *priv; 181 static void mlx4_en_filter_rfs_expire(struct mlx4_en_priv *priv); 203 struct mlx4_en_priv *priv = filter->priv; in mlx4_en_filter_work() 273 filter_hash_bucket(struct mlx4_en_priv *priv, __be32 src_ip, __be32 dst_ip, in filter_hash_bucket() 289 mlx4_en_filter_alloc(struct mlx4_en_priv *priv, int rxq_index, __be32 src_ip, in mlx4_en_filter_alloc() 323 struct mlx4_en_priv *priv = filter->priv; in mlx4_en_filter_free() 336 mlx4_en_filter_find(struct mlx4_en_priv *priv, __be32 src_ip, __be32 dst_ip, in mlx4_en_filter_find() [all …]
|
D | en_selftest.c | 43 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()
|
D | en_ethtool.c | 50 int mlx4_en_moderation_update(struct mlx4_en_priv *priv) in mlx4_en_moderation_update() 88 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_get_drvinfo() 218 return ((struct mlx4_en_priv *) netdev_priv(dev))->msg_enable; in mlx4_en_get_msglevel() 223 ((struct mlx4_en_priv *) netdev_priv(dev))->msg_enable = val; in mlx4_en_set_msglevel() 229 struct mlx4_en_priv *priv = netdev_priv(netdev); in mlx4_en_get_wol() 269 struct mlx4_en_priv *priv = netdev_priv(netdev); in mlx4_en_set_wol() 343 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_get_sset_count() 366 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_get_ethtool_stats() 447 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_get_strings() 539 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_autoneg_get() [all …]
|
D | en_rx.c | 53 static int mlx4_alloc_page(struct mlx4_en_priv *priv, in mlx4_alloc_page() 74 static int mlx4_en_alloc_frags(struct mlx4_en_priv *priv, in mlx4_en_alloc_frags() 94 static void mlx4_en_free_frag(const struct mlx4_en_priv *priv, in mlx4_en_free_frag() 108 static void mlx4_en_init_rx_desc(const struct mlx4_en_priv *priv, in mlx4_en_init_rx_desc() 133 static int mlx4_en_prepare_rx_desc(struct mlx4_en_priv *priv, in mlx4_en_prepare_rx_desc() 168 static void mlx4_en_free_rx_desc(const struct mlx4_en_priv *priv, in mlx4_en_free_rx_desc() 183 static int mlx4_en_fill_rx_buffers(struct mlx4_en_priv *priv) in mlx4_en_fill_rx_buffers() 226 static void mlx4_en_free_rx_buf(struct mlx4_en_priv *priv, in mlx4_en_free_rx_buf() 263 int mlx4_en_create_rx_ring(struct mlx4_en_priv *priv, in mlx4_en_create_rx_ring() 326 int mlx4_en_activate_rx_rings(struct mlx4_en_priv *priv) in mlx4_en_activate_rx_rings() [all …]
|
D | en_cq.c | 46 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() 174 void mlx4_en_destroy_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq **pcq) in mlx4_en_destroy_cq() 190 void mlx4_en_deactivate_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq) in mlx4_en_deactivate_cq() 201 int mlx4_en_set_cq_moder(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq) in mlx4_en_set_cq_moder() 207 void mlx4_en_arm_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq) in mlx4_en_arm_cq()
|
D | en_tx.c | 50 int mlx4_en_create_tx_ring(struct mlx4_en_priv *priv, in mlx4_en_create_tx_ring() 161 void mlx4_en_destroy_tx_ring(struct mlx4_en_priv *priv, in mlx4_en_destroy_tx_ring() 182 int mlx4_en_activate_tx_ring(struct mlx4_en_priv *priv, in mlx4_en_activate_tx_ring() 217 void mlx4_en_deactivate_tx_ring(struct mlx4_en_priv *priv, in mlx4_en_deactivate_tx_ring() 231 static void mlx4_en_stamp_wqe(struct mlx4_en_priv *priv, in mlx4_en_stamp_wqe() 265 INDIRECT_CALLABLE_DECLARE(u32 mlx4_en_free_tx_desc(struct mlx4_en_priv *priv, 270 u32 mlx4_en_free_tx_desc(struct mlx4_en_priv *priv, in mlx4_en_free_tx_desc() 337 INDIRECT_CALLABLE_DECLARE(u32 mlx4_en_recycle_tx_desc(struct mlx4_en_priv *priv, 342 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 …]
|
D | en_resources.c | 40 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()
|
D | en_main.c | 81 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() 197 struct mlx4_en_priv *priv; in mlx4_en_event()
|
D | en_port.c | 44 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()
|