Searched refs:cparam (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
H A D | setup.c | 54 struct mlx5e_channel_param *cparam) in mlx5e_build_xsk_cparam() argument 56 mlx5e_build_rq_param(mdev, params, xsk, &cparam->rq); in mlx5e_build_xsk_cparam() 57 mlx5e_build_xdpsq_param(mdev, params, xsk, &cparam->xdp_sq); in mlx5e_build_xsk_cparam() 117 struct mlx5e_channel_param *cparam; in mlx5e_open_xsk() local 126 cparam = kvzalloc(sizeof(*cparam), GFP_KERNEL); in mlx5e_open_xsk() 127 if (!cparam) in mlx5e_open_xsk() 130 mlx5e_build_xsk_cparam(priv->mdev, params, xsk, cparam); in mlx5e_open_xsk() 132 err = mlx5e_open_cq(c->mdev, params->rx_cq_moderation, &cparam->rq.cqp, &ccp, in mlx5e_open_xsk() 137 err = mlx5e_open_xsk_rq(c, params, &cparam->rq, pool, xsk); in mlx5e_open_xsk() 141 err = mlx5e_open_cq(c->mdev, params->tx_cq_moderation, &cparam->xdp_sq.cqp, &ccp, in mlx5e_open_xsk() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | params.c | 1249 struct mlx5e_channel_param *cparam) in mlx5e_build_channel_param() argument 1254 err = mlx5e_build_rq_param(mdev, params, NULL, &cparam->rq); in mlx5e_build_channel_param() 1258 icosq_log_wq_sz = mlx5e_build_icosq_log_wq_sz(mdev, params, &cparam->rq); in mlx5e_build_channel_param() 1261 mlx5e_build_sq_param(mdev, params, &cparam->txq_sq); in mlx5e_build_channel_param() 1262 mlx5e_build_xdpsq_param(mdev, params, NULL, &cparam->xdp_sq); in mlx5e_build_channel_param() 1263 mlx5e_build_icosq_param(mdev, icosq_log_wq_sz, &cparam->icosq); in mlx5e_build_channel_param() 1264 mlx5e_build_async_icosq_param(mdev, async_icosq_log_wq_sz, &cparam->async_icosq); in mlx5e_build_channel_param()
|
H A D | params.h | 146 struct mlx5e_channel_param *cparam);
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_main.c | 2274 struct mlx5e_channel_param *cparam) in mlx5e_open_tx_cqs() argument 2280 err = mlx5e_open_cq(c->mdev, params->tx_cq_moderation, &cparam->txq_sq.cqp, in mlx5e_open_tx_cqs() 2341 struct mlx5e_channel_param *cparam) in mlx5e_open_sqs() argument 2357 params, &cparam->txq_sq, &c->sq[tc], tc, in mlx5e_open_sqs() 2477 struct mlx5e_channel_param *cparam) in mlx5e_open_queues() argument 2485 err = mlx5e_open_cq(c->mdev, icocq_moder, &cparam->async_icosq.cqp, &ccp, in mlx5e_open_queues() 2490 err = mlx5e_open_cq(c->mdev, icocq_moder, &cparam->icosq.cqp, &ccp, in mlx5e_open_queues() 2495 err = mlx5e_open_tx_cqs(c, params, &ccp, cparam); in mlx5e_open_queues() 2499 err = mlx5e_open_cq(c->mdev, params->tx_cq_moderation, &cparam->xdp_sq.cqp, &ccp, in mlx5e_open_queues() 2504 err = mlx5e_open_cq(c->mdev, params->rx_cq_moderation, &cparam->rq.cqp, &ccp, in mlx5e_open_queues() [all …]
|