Lines Matching refs:ena_tx_ctx
2669 ena_tx_csum(struct ena_com_tx_ctx *ena_tx_ctx, struct mbuf *mbuf)
2682 ena_meta = &ena_tx_ctx->ena_meta;
2700 ena_tx_ctx->meta_valid = 0;
2719 ena_tx_ctx->l3_csum_enable = 1;
2722 ena_tx_ctx->tso_enable = 1;
2728 ena_tx_ctx->l3_proto = ENA_ETH_IO_L3_PROTO_IPV4;
2730 ena_tx_ctx->df = 1;
2733 ena_tx_ctx->l3_proto = ENA_ETH_IO_L3_PROTO_IPV6;
2740 ena_tx_ctx->l4_proto = ENA_ETH_IO_L4_PROTO_TCP;
2743 ena_tx_ctx->l4_csum_enable = 1;
2745 ena_tx_ctx->l4_csum_enable = 0;
2747 ena_tx_ctx->l4_proto = ENA_ETH_IO_L4_PROTO_UDP;
2750 ena_tx_ctx->l4_csum_enable = 1;
2752 ena_tx_ctx->l4_csum_enable = 0;
2754 ena_tx_ctx->l4_proto = ENA_ETH_IO_L4_PROTO_UNKNOWN;
2755 ena_tx_ctx->l4_csum_enable = 0;
2761 ena_tx_ctx->meta_valid = 1;
2797 struct ena_com_tx_ctx ena_tx_ctx;
2866 memset(&ena_tx_ctx, 0x0, sizeof(struct ena_com_tx_ctx));
2867 ena_tx_ctx.ena_bufs = tx_info->bufs;
2868 ena_tx_ctx.push_header = push_hdr;
2869 ena_tx_ctx.num_bufs = tx_info->num_of_bufs;
2870 ena_tx_ctx.req_id = req_id;
2871 ena_tx_ctx.header_len = header_len;
2874 ena_tx_csum(&ena_tx_ctx, *mbuf);
2876 rc = ena_com_prepare_tx(io_sq, &ena_tx_ctx, &nb_hw_desc);