Lines Matching refs:tx_desc

241 	struct mlx4_en_tx_desc *tx_desc = ring->buf + (index << LOG_TXBB_SIZE);
244 __be32 *ptr = (__be32 *)tx_desc;
248 if (likely((void *)tx_desc +
281 struct mlx4_en_tx_desc *tx_desc = ring->buf + (index << LOG_TXBB_SIZE);
282 struct mlx4_wqe_data_seg *data = (void *) tx_desc + tx_info->data_offset;
312 if (likely((void *)tx_desc +
405 struct mlx4_en_tx_desc *tx_desc;
419 tx_desc = ring->buf + (wqe_index << LOG_TXBB_SIZE);
420 print_hex_dump(KERN_WARNING, "", DUMP_PREFIX_OFFSET, 16, 1, tx_desc, desc_size, false);
690 static void build_inline_wqe(struct mlx4_en_tx_desc *tx_desc,
695 struct mlx4_wqe_inline_seg *inl = &tx_desc->inl;
774 struct mlx4_en_tx_desc *tx_desc,
780 tx_desc->ctrl.qpn_vlan = qpn_vlan;
788 tx_desc->ctrl.owner_opcode = op_own;
792 mlx4_bf_copy(ring->bf.reg + ring->bf.offset, &tx_desc->ctrl,
803 tx_desc->ctrl.owner_opcode = op_own;
881 struct mlx4_en_tx_desc *tx_desc;
941 tx_desc = ring->buf + (index << LOG_TXBB_SIZE);
948 tx_desc = (struct mlx4_en_tx_desc *) ring->bounce_buf;
959 data = &tx_desc->data;
964 data = (void *)&tx_desc->lso + lso_align;
997 tx_desc->ctrl.srcrb_flags = priv->ctrl_flags;
1000 tx_desc->ctrl.srcrb_flags |= cpu_to_be32(MLX4_WQE_CTRL_IP_CSUM |
1003 tx_desc->ctrl.srcrb_flags |= cpu_to_be32(MLX4_WQE_CTRL_IP_CSUM);
1014 tx_desc->ctrl.srcrb_flags16[0] = get_unaligned((__be16 *)ethh->h_dest);
1015 tx_desc->ctrl.imm = get_unaligned((__be32 *)(ethh->h_dest + 2));
1029 tx_desc->lso.mss_hdr_size = cpu_to_be32(
1037 memcpy(tx_desc->lso.header, skb->data, ETH_HLEN + sizeof(*h6));
1038 h6 = (struct ipv6hdr *)((char *)tx_desc->lso.header + ETH_HLEN);
1050 memcpy(tx_desc->lso.header, skb->data, lso_header_size);
1068 build_inline_wqe(tx_desc, skb, shinfo, fragptr);
1092 tx_desc = mlx4_en_bounce_to_desc(priv, ring, index, desc_size);
1116 mlx4_en_tx_write_desc(ring, tx_desc, qpn_vlan, desc_size, bf_index,
1153 struct mlx4_en_tx_desc *tx_desc = ring->buf +
1164 tx_desc->data.lkey = ring->mr_key;
1165 tx_desc->ctrl.qpn_vlan.fence_size = MLX4_EN_XDP_TX_REAL_SZ;
1166 tx_desc->ctrl.srcrb_flags = priv->ctrl_flags;
1175 struct mlx4_en_tx_desc *tx_desc;
1194 tx_desc = ring->buf + (index << LOG_TXBB_SIZE);
1195 data = &tx_desc->data;
1225 tx_desc->ctrl.owner_opcode = op_own;