Searched refs:mlx5_core_dma_dev (Results 1 – 19 of 19) sorted by relevance
| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | alloc.c | 59 struct device *device = mlx5_core_dma_dev(dev); in mlx5_dma_zalloc_coherent_node() 96 dma_free_coherent(mlx5_core_dma_dev(dev), frag_sz, in mlx5_frag_buf_alloc_node() 109 dma_free_coherent(mlx5_core_dma_dev(dev), PAGE_SIZE, buf->frags[i].buf, in mlx5_frag_buf_alloc_node() 125 dma_free_coherent(mlx5_core_dma_dev(dev), frag_sz, buf->frags[i].buf, in mlx5_frag_buf_free() 225 dma_free_coherent(mlx5_core_dma_dev(dev), PAGE_SIZE, in mlx5_db_free()
|
| A D | pagealloc.c | 266 dma_unmap_page(mlx5_core_dma_dev(dev), fwp->addr & MLX5_U64_4K_PAGE_MASK, in free_fwp() 293 struct device *device = mlx5_core_dma_dev(dev); in alloc_system_page()
|
| A D | cmd.c | 2332 cmd->cmd_alloc_buf = dma_alloc_coherent(mlx5_core_dma_dev(dev), MLX5_ADAPTER_PAGE_SIZE, in alloc_cmd_page() 2345 dma_free_coherent(mlx5_core_dma_dev(dev), MLX5_ADAPTER_PAGE_SIZE, cmd->cmd_alloc_buf, in alloc_cmd_page() 2347 cmd->cmd_alloc_buf = dma_alloc_coherent(mlx5_core_dma_dev(dev), in alloc_cmd_page() 2361 dma_free_coherent(mlx5_core_dma_dev(dev), cmd->alloc_size, cmd->cmd_alloc_buf, in free_cmd_page() 2442 cmd->pool = dma_pool_create("mlx5_cmd", mlx5_core_dma_dev(dev), size, align, 0); in mlx5_cmd_enable()
|
| A D | mlx5_core.h | 161 static inline struct device *mlx5_core_dma_dev(struct mlx5_core_dev *dev) in mlx5_core_dma_dev() function
|
| A D | en_main.c | 2792 c->pdev = mlx5_core_dma_dev(mdev); in mlx5e_open_channel() 3569 param->wq.buf_numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_alloc_drop_cq() 3570 param->wq.db_numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_alloc_drop_cq() 6172 node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_priv_init()
|
| A D | main.c | 1871 priv->numa_node = dev_to_node(mlx5_core_dma_dev(dev)); in mlx5_mdev_init()
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A D | ptp.c | 346 node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_ptp_alloc_txqsq() 494 err = mlx5e_ptp_alloc_traffic_db(ptpsq, dev_to_node(mlx5_core_dma_dev(c->mdev))); in mlx5e_ptp_open_txqsq() 576 ccp.node = dev_to_node(mlx5_core_dma_dev(c->mdev)); in mlx5e_ptp_open_tx_cqs() 625 ccp.node = dev_to_node(mlx5_core_dma_dev(c->mdev)); in mlx5e_ptp_open_rx_cq() 887 c = kvzalloc_node(sizeof(*c), GFP_KERNEL, dev_to_node(mlx5_core_dma_dev(mdev))); in mlx5e_ptp_open() 897 c->pdev = mlx5_core_dma_dev(priv->mdev); in mlx5e_ptp_open()
|
| A D | params.c | 954 param->wq.buf_numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_build_rq_param() 970 param->wq.buf_numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_build_drop_rq_param() 994 param->wq.buf_numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_build_sq_param_common()
|
| A D | trap.c | 147 t->pdev = mlx5_core_dma_dev(priv->mdev); in mlx5e_open_trap()
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
| A D | pool.c | 12 struct device *dev = mlx5_core_dma_dev(mdev); in mlx5e_xsk_map_pool()
|
| /drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| A D | ipsec_offload.c | 531 pdev = mlx5_core_dma_dev(mdev); in mlx5e_ipsec_aso_init() 566 pdev = mlx5_core_dma_dev(mdev); in mlx5e_ipsec_aso_cleanup()
|
| A D | ktls_rx.c | 270 pdev = mlx5_core_dma_dev(sq->channel->mdev); in resync_post_get_progress_params() 433 dev = mlx5_core_dma_dev(sq->channel->mdev); in mlx5e_ktls_handle_get_psv_completion()
|
| A D | macsec.c | 173 dma_device = mlx5_core_dma_dev(mdev); in mlx5e_macsec_aso_reg_mr()
|
| /drivers/net/ethernet/mellanox/mlx5/core/diag/ |
| A D | rsc_dump.c | 99 struct device *ddev = mlx5_core_dma_dev(dev); in mlx5_rsc_dump_trigger()
|
| A D | fw_tracer.c | 146 ddev = mlx5_core_dma_dev(dev); in mlx5_fw_tracer_create_log_buf() 172 ddev = mlx5_core_dma_dev(dev); in mlx5_fw_tracer_destroy_log_buf()
|
| /drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| A D | aso.c | 310 int numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5_aso_create()
|
| /drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
| A D | conn.c | 57 dma_device = mlx5_core_dma_dev(conn->fdev->mdev); in mlx5_fpga_conn_map_buf() 89 dma_device = mlx5_core_dma_dev(conn->fdev->mdev); in mlx5_fpga_conn_unmap_buf()
|
| /drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| A D | dr_send.c | 1184 dma_device = mlx5_core_dma_dev(mdev); in dr_reg_mr() 1213 dma_unmap_single(mlx5_core_dma_dev(mdev), mr->dma_addr, mr->size, in dr_dereg_mr()
|
| /drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| A D | send.c | 1004 int numa_node = dev_to_node(mlx5_core_dma_dev(ctx->mdev)); in mlx5hws_send_ring_open()
|
Completed in 75 milliseconds