Searched refs:mlx5_core_dma_dev (Results 1 – 19 of 19) sorted by relevance
| /linux/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 | 2268 cmd->cmd_alloc_buf = dma_alloc_coherent(mlx5_core_dma_dev(dev), MLX5_ADAPTER_PAGE_SIZE, in alloc_cmd_page() 2281 dma_free_coherent(mlx5_core_dma_dev(dev), MLX5_ADAPTER_PAGE_SIZE, cmd->cmd_alloc_buf, in alloc_cmd_page() 2283 cmd->cmd_alloc_buf = dma_alloc_coherent(mlx5_core_dma_dev(dev), in alloc_cmd_page() 2297 dma_free_coherent(mlx5_core_dma_dev(dev), cmd->alloc_size, cmd->cmd_alloc_buf, in free_cmd_page() 2374 cmd->pool = dma_pool_create("mlx5_cmd", mlx5_core_dma_dev(dev), size, align, 0); in mlx5_cmd_enable()
|
| A D | mlx5_core.h | 141 static inline struct device *mlx5_core_dma_dev(struct mlx5_core_dev *dev) in mlx5_core_dma_dev() function
|
| A D | en_main.c | 2691 c->pdev = mlx5_core_dma_dev(mdev); in mlx5e_open_channel() 3473 param->wq.buf_numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_alloc_drop_cq() 3474 param->wq.db_numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_alloc_drop_cq() 5961 node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_priv_init()
|
| A D | main.c | 1856 priv->numa_node = dev_to_node(mlx5_core_dma_dev(dev)); in mlx5_mdev_init()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A D | ptp.c | 347 node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_ptp_alloc_txqsq() 481 err = mlx5e_ptp_alloc_traffic_db(ptpsq, dev_to_node(mlx5_core_dma_dev(c->mdev))); in mlx5e_ptp_open_txqsq() 563 ccp.node = dev_to_node(mlx5_core_dma_dev(c->mdev)); in mlx5e_ptp_open_tx_cqs() 612 ccp.node = dev_to_node(mlx5_core_dma_dev(c->mdev)); in mlx5e_ptp_open_rx_cq() 874 c = kvzalloc_node(sizeof(*c), GFP_KERNEL, dev_to_node(mlx5_core_dma_dev(mdev))); in mlx5e_ptp_open() 884 c->pdev = mlx5_core_dma_dev(priv->mdev); in mlx5e_ptp_open()
|
| A D | trap.c | 147 t->pdev = mlx5_core_dma_dev(priv->mdev); in mlx5e_open_trap()
|
| A D | params.c | 956 param->wq.buf_numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_build_rq_param() 972 param->wq.buf_numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_build_drop_rq_param() 996 param->wq.buf_numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_build_sq_param_common()
|
| /linux/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()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| A D | ipsec_offload.c | 527 pdev = mlx5_core_dma_dev(mdev); in mlx5e_ipsec_aso_init() 562 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()
|
| /linux/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()
|
| /linux/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()
|
| /linux/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()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
| A D | dr_send.c | 1186 dma_device = mlx5_core_dma_dev(mdev); in dr_reg_mr() 1215 dma_unmap_single(mlx5_core_dma_dev(mdev), mr->dma_addr, mr->size, in dr_dereg_mr()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| A D | mlx5hws_send.c | 879 int numa_node = dev_to_node(mlx5_core_dma_dev(ctx->mdev)); in mlx5hws_send_ring_open()
|
Completed in 78 milliseconds