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, 526 struct mlx4_en_priv { struct 673 int mlx4_en_try_alloc_resources(struct mlx4_en_priv *priv, 674 struct mlx4_en_priv *tmp, 677 void mlx4_en_safe_replace_resources(struct mlx4_en_priv *priv, 678 struct mlx4_en_priv *tmp); 680 int mlx4_en_create_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq **pcq, 682 void mlx4_en_destroy_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq **pcq); 683 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 | 60 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_setup_tc() 92 struct mlx4_en_priv *priv = netdev_priv(dev); in mlx4_en_alloc_tx_queue_per_tc() 95 struct mlx4_en_priv *tmp; in mlx4_en_alloc_tx_queue_per_tc() 172 struct mlx4_en_priv *priv; 182 static void mlx4_en_filter_rfs_expire(struct mlx4_en_priv *priv); 204 struct mlx4_en_priv *priv = filter->priv; in mlx4_en_filter_work() 274 filter_hash_bucket(struct mlx4_en_priv *priv, __be32 src_ip, __be32 dst_ip, in filter_hash_bucket() 290 mlx4_en_filter_alloc(struct mlx4_en_priv *priv, int rxq_index, __be32 src_ip, in mlx4_en_filter_alloc() 324 struct mlx4_en_priv *priv = filter->priv; in mlx4_en_filter_free() 337 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 | 51 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() 548 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() 173 void mlx4_en_destroy_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq **pcq) in mlx4_en_destroy_cq() 189 void mlx4_en_deactivate_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq) in mlx4_en_deactivate_cq() 200 int mlx4_en_set_cq_moder(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq) in mlx4_en_set_cq_moder() 206 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() 162 void mlx4_en_destroy_tx_ring(struct mlx4_en_priv *priv, in mlx4_en_destroy_tx_ring() 183 int mlx4_en_activate_tx_ring(struct mlx4_en_priv *priv, in mlx4_en_activate_tx_ring() 218 void mlx4_en_deactivate_tx_ring(struct mlx4_en_priv *priv, in mlx4_en_deactivate_tx_ring() 232 static void mlx4_en_stamp_wqe(struct mlx4_en_priv *priv, in mlx4_en_stamp_wqe() 266 INDIRECT_CALLABLE_DECLARE(u32 mlx4_en_free_tx_desc(struct mlx4_en_priv *priv, 271 u32 mlx4_en_free_tx_desc(struct mlx4_en_priv *priv, in mlx4_en_free_tx_desc() 338 INDIRECT_CALLABLE_DECLARE(u32 mlx4_en_recycle_tx_desc(struct mlx4_en_priv *priv, 343 u32 mlx4_en_recycle_tx_desc(struct mlx4_en_priv *priv, in mlx4_en_recycle_tx_desc() 365 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()
|