Searched refs:num_wqebbs (Results 1 – 11 of 11) sorted by relevance
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_wq.c | 702 int num_wqebbs, u16 idx) in copy_wqe_to_shadow() argument 707 for (i = 0; i < num_wqebbs; i++, idx++) { in copy_wqe_to_shadow() 719 int num_wqebbs, u16 idx) in copy_wqe_from_shadow() argument 724 for (i = 0; i < num_wqebbs; i++, idx++) { in copy_wqe_from_shadow() 745 int curr_pg, end_pg, num_wqebbs; in hinic_get_wqe() local 750 num_wqebbs = ALIGN(wqe_size, wq->wqebb_size) >> wq->wqebb_size_shift; in hinic_get_wqe() 752 if (atomic_sub_return(num_wqebbs, &wq->delta) <= 0) { in hinic_get_wqe() 753 atomic_add(num_wqebbs, &wq->delta); in hinic_get_wqe() 757 end_prod_idx = atomic_add_return(num_wqebbs, &wq->prod_idx); in hinic_get_wqe() 760 curr_prod_idx = end_prod_idx - num_wqebbs; in hinic_get_wqe() [all …]
|
D | hinic_hw_cmdq.c | 347 int errcode, wrapped, num_wqebbs; in cmdq_sync_cmd_direct_resp() local 366 num_wqebbs = ALIGN(WQE_LCMD_SIZE, wq->wqebb_size) / wq->wqebb_size; in cmdq_sync_cmd_direct_resp() 367 next_prod_idx = curr_prod_idx + num_wqebbs; in cmdq_sync_cmd_direct_resp() 427 int wrapped, num_wqebbs; in cmdq_set_arm_bit() local 443 num_wqebbs = ALIGN(WQE_SCMD_SIZE, wq->wqebb_size) / wq->wqebb_size; in cmdq_set_arm_bit() 444 next_prod_idx = curr_prod_idx + num_wqebbs; in cmdq_set_arm_bit()
|
D | hinic_hw_qp.c | 877 unsigned int num_wqebbs; in hinic_rq_read_next_wqe() local 880 num_wqebbs = wqe_size / wq->wqebb_size; in hinic_rq_read_next_wqe() 882 *cons_idx = RQ_MASKED_IDX(rq, *cons_idx + num_wqebbs); in hinic_rq_read_next_wqe()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tx.c | 239 u8 opcode, u16 ds_cnt, u8 num_wqebbs, u32 num_bytes, u8 num_dma, in mlx5e_txwqe_complete() argument 248 wi->num_wqebbs = num_wqebbs; in mlx5e_txwqe_complete() 257 sq->pc += wi->num_wqebbs; in mlx5e_txwqe_complete() 281 u8 num_wqebbs, opcode; in mlx5e_sq_xmit() local 318 num_wqebbs = DIV_ROUND_UP(ds_cnt, MLX5_SEND_WQEBB_NUM_DS); in mlx5e_sq_xmit() 320 if (unlikely(contig_wqebbs_room < num_wqebbs)) { in mlx5e_sq_xmit() 373 mlx5e_txwqe_complete(sq, skb, opcode, ds_cnt, num_wqebbs, num_bytes, in mlx5e_sq_xmit() 486 sqcc += wi->num_wqebbs; in mlx5e_poll_tx_cq() 509 sqcc += wi->num_wqebbs; in mlx5e_poll_tx_cq() 556 sqcc += wi->num_wqebbs; in mlx5e_free_txqsq_descs() [all …]
|
D | en.h | 345 u8 num_wqebbs; member 486 u8 num_wqebbs; member
|
D | en_main.c | 1363 wi->num_wqebbs = 1; in mlx5e_deactivate_txqsq() 1487 wi->num_wqebbs = 1; in mlx5e_open_xdpsq()
|
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ktls_tx.c | 106 u16 pi, u8 num_wqebbs, u32 num_bytes, in tx_fill_wi() argument 112 wi->num_wqebbs = num_wqebbs; in tx_fill_wi() 350 u8 num_wqebbs; in mlx5e_ktls_tx_handle_ooo() local 379 num_wqebbs = mlx5e_ktls_dumps_num_wqebbs(sq, info.nr_frags, info.sync_len); in mlx5e_ktls_tx_handle_ooo() 383 if (unlikely(contig_wqebbs_room < num_wqebbs)) in mlx5e_ktls_tx_handle_ooo()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | xdp.c | 218 wi->num_wqebbs = DIV_ROUND_UP(ds_count, MLX5_SEND_WQEBB_NUM_DS); in mlx5e_xdp_mpwqe_complete() 221 sq->pc += wi->num_wqebbs; in mlx5e_xdp_mpwqe_complete() 431 sqcc += wi->num_wqebbs; in mlx5e_poll_xdpsq_cq() 462 sq->cc += wi->num_wqebbs; in mlx5e_free_xdpsq_descs()
|
D | xdp.h | 149 wi->num_wqebbs = 1; in mlx5e_fill_xdpsq_frag_edge()
|
D | txrx.h | 95 wi->num_wqebbs = 1; in mlx5e_fill_sq_frag_edge()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | tx.c | 56 wi->num_wqebbs = 1; in mlx5e_xsk_tx_post_err()
|