Home
last modified time | relevance | path

Searched refs:num_sqs (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_qp_ctxt.h126 #define HINIC_SQ_CTXT_SIZE(num_sqs) (sizeof(struct hinic_qp_ctxt_header) \ argument
127 + (num_sqs) * sizeof(struct hinic_sq_ctxt))
Dhinic_hw_io.c106 u16 num_sqs) in write_sq_ctxts() argument
127 num_sqs, func_to_io->max_qps); in write_sq_ctxts()
128 for (i = 0; i < num_sqs; i++) { in write_sq_ctxts()
135 cmdq_buf.size = HINIC_SQ_CTXT_SIZE(num_sqs); in write_sq_ctxts()
Dhinic_main.c818 u16 num_sqs, q_id; in hinic_tx_timeout() local
820 num_sqs = hinic_hwdev_num_qps(nic_dev->hwdev); in hinic_tx_timeout()
824 for (q_id = 0; q_id < num_sqs; q_id++) { in hinic_tx_timeout()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c409 int n, tc, nch, num_sqs = 0; in mlx5e_add_sqs_fwd_rules() local
431 sqs[num_sqs++] = c->sq[tc].sqn; in mlx5e_add_sqs_fwd_rules()
435 sqs[num_sqs++] = c->rq_xdpsq.sqn; in mlx5e_add_sqs_fwd_rules()
437 sqs[num_sqs++] = c->xdpsq.sqn; in mlx5e_add_sqs_fwd_rules()
444 sqs[num_sqs++] = ptp_ch->ptpsq[tc].txqsq.sqn; in mlx5e_add_sqs_fwd_rules()
447 err = mlx5e_sqs2vport_start(esw, rep, sqs, num_sqs); in mlx5e_add_sqs_fwd_rules()