Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/huawei/hinic/
H A 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))
H A 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()
H A 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/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.c575 int n, tc, nch, num_sqs = 0; in mlx5e_add_sqs_fwd_rules() local
597 sqs[num_sqs++] = c->sq[tc].sqn; in mlx5e_add_sqs_fwd_rules()
601 sqs[num_sqs++] = c->rq_xdpsq.sqn; in mlx5e_add_sqs_fwd_rules()
603 sqs[num_sqs++] = c->xdpsq.sqn; in mlx5e_add_sqs_fwd_rules()
610 sqs[num_sqs++] = ptp_ch->ptpsq[tc].txqsq.sqn; in mlx5e_add_sqs_fwd_rules()
613 err = mlx5e_sqs2vport_start(esw, rep, sqs, num_sqs); in mlx5e_add_sqs_fwd_rules()