num_wqebbs 347 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c int errcode, wrapped, num_wqebbs; num_wqebbs 366 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c num_wqebbs = ALIGN(WQE_LCMD_SIZE, wq->wqebb_size) / wq->wqebb_size; num_wqebbs 367 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c next_prod_idx = curr_prod_idx + num_wqebbs; num_wqebbs 428 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c int wrapped, num_wqebbs; num_wqebbs 444 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c num_wqebbs = ALIGN(WQE_SCMD_SIZE, wq->wqebb_size) / wq->wqebb_size; num_wqebbs 445 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c next_prod_idx = curr_prod_idx + num_wqebbs; num_wqebbs 877 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c unsigned int num_wqebbs; num_wqebbs 880 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c num_wqebbs = wqe_size / wq->wqebb_size; num_wqebbs 882 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c *cons_idx = RQ_MASKED_IDX(rq, *cons_idx + num_wqebbs); num_wqebbs 702 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c int num_wqebbs, u16 idx) num_wqebbs 707 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c for (i = 0; i < num_wqebbs; i++, idx++) { num_wqebbs 719 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c int num_wqebbs, u16 idx) num_wqebbs 724 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c for (i = 0; i < num_wqebbs; i++, idx++) { num_wqebbs 745 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c int curr_pg, end_pg, num_wqebbs; num_wqebbs 750 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c num_wqebbs = ALIGN(wqe_size, wq->wqebb_size) >> wq->wqebb_size_shift; num_wqebbs 752 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c if (atomic_sub_return(num_wqebbs, &wq->delta) <= 0) { num_wqebbs 753 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c atomic_add(num_wqebbs, &wq->delta); num_wqebbs 757 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c end_prod_idx = atomic_add_return(num_wqebbs, &wq->prod_idx); num_wqebbs 760 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c curr_prod_idx = end_prod_idx - num_wqebbs; num_wqebbs 774 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c copy_wqe_to_shadow(wq, shadow_addr, num_wqebbs, *prod_idx); num_wqebbs 790 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c int num_wqebbs = ALIGN(wqe_size, wq->wqebb_size) / wq->wqebb_size; num_wqebbs 792 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c atomic_sub(num_wqebbs, &wq->prod_idx); num_wqebbs 794 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c atomic_add(num_wqebbs, &wq->delta); num_wqebbs 804 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c int num_wqebbs = ALIGN(wqe_size, wq->wqebb_size) num_wqebbs 807 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c atomic_add(num_wqebbs, &wq->cons_idx); num_wqebbs 809 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c atomic_add(num_wqebbs, &wq->delta); num_wqebbs 823 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c int num_wqebbs = ALIGN(wqe_size, wq->wqebb_size) num_wqebbs 828 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c if ((atomic_read(&wq->delta) + num_wqebbs) > wq->q_depth) num_wqebbs 834 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c end_cons_idx = MASKED_WQE_IDX(wq, curr_cons_idx + num_wqebbs - 1); num_wqebbs 844 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c copy_wqe_to_shadow(wq, shadow_addr, num_wqebbs, *cons_idx); num_wqebbs 887 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c int curr_pg, num_wqebbs; num_wqebbs 895 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c num_wqebbs = ALIGN(wqe_size, wq->wqebb_size) / wq->wqebb_size; num_wqebbs 898 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c copy_wqe_from_shadow(wq, shadow_addr, num_wqebbs, prod_idx); num_wqebbs 345 drivers/net/ethernet/mellanox/mlx5/core/en.h u8 num_wqebbs; num_wqebbs 375 drivers/net/ethernet/mellanox/mlx5/core/en.h u8 num_wqebbs; num_wqebbs 488 drivers/net/ethernet/mellanox/mlx5/core/en.h u8 num_wqebbs; num_wqebbs 95 drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h wi->num_wqebbs = 1; num_wqebbs 218 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c wi->num_wqebbs = DIV_ROUND_UP(ds_count, MLX5_SEND_WQEBB_NUM_DS); num_wqebbs 221 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c sq->pc += wi->num_wqebbs; num_wqebbs 431 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c sqcc += wi->num_wqebbs; num_wqebbs 462 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c sq->cc += wi->num_wqebbs; num_wqebbs 149 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h wi->num_wqebbs = 1; num_wqebbs 59 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c wi->num_wqebbs = 1; num_wqebbs 106 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c u16 pi, u8 num_wqebbs, u32 num_bytes, num_wqebbs 112 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c wi->num_wqebbs = num_wqebbs; num_wqebbs 350 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c u8 num_wqebbs; num_wqebbs 379 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c num_wqebbs = mlx5e_ktls_dumps_num_wqebbs(sq, info.nr_frags, info.sync_len); num_wqebbs 383 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c if (unlikely(contig_wqebbs_room < num_wqebbs)) num_wqebbs 1383 drivers/net/ethernet/mellanox/mlx5/core/en_main.c wi->num_wqebbs = 1; num_wqebbs 1507 drivers/net/ethernet/mellanox/mlx5/core/en_main.c wi->num_wqebbs = 1; num_wqebbs 480 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c wi->num_wqebbs = 1; num_wqebbs 529 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c sq->db.ico_wqe[pi].num_wqebbs = MLX5E_UMR_WQEBBS; num_wqebbs 633 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c sqcc += wi->num_wqebbs; num_wqebbs 239 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c u8 opcode, u16 ds_cnt, u8 num_wqebbs, u32 num_bytes, u8 num_dma, num_wqebbs 248 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c wi->num_wqebbs = num_wqebbs; num_wqebbs 257 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c sq->pc += wi->num_wqebbs; num_wqebbs 281 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c u8 num_wqebbs, opcode; num_wqebbs 318 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c num_wqebbs = DIV_ROUND_UP(ds_cnt, MLX5_SEND_WQEBB_NUM_DS); num_wqebbs 320 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c if (unlikely(contig_wqebbs_room < num_wqebbs)) { num_wqebbs 373 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c mlx5e_txwqe_complete(sq, skb, opcode, ds_cnt, num_wqebbs, num_bytes, num_wqebbs 486 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c sqcc += wi->num_wqebbs; num_wqebbs 509 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c sqcc += wi->num_wqebbs; num_wqebbs 555 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c sqcc += wi->num_wqebbs; num_wqebbs 569 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c sqcc += wi->num_wqebbs; num_wqebbs 604 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c u8 num_wqebbs, opcode; num_wqebbs 639 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c num_wqebbs = DIV_ROUND_UP(ds_cnt, MLX5_SEND_WQEBB_NUM_DS); num_wqebbs 642 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c if (unlikely(contig_wqebbs_room < num_wqebbs)) { num_wqebbs 672 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c mlx5e_txwqe_complete(sq, skb, opcode, ds_cnt, num_wqebbs, num_bytes, num_wqebbs 81 drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c sq->db.ico_wqe[pi].num_wqebbs = 1;