Home
last modified time | relevance | path

Searched refs:ena_tx_ctx (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/amazon/ena/
Dena_eth_com.c173 struct ena_com_tx_ctx *ena_tx_ctx) in ena_com_meta_desc_changed() argument
177 if (ena_tx_ctx->meta_valid) { in ena_com_meta_desc_changed()
179 &ena_tx_ctx->ena_meta, in ena_com_meta_desc_changed()
190 struct ena_com_tx_ctx *ena_tx_ctx) in ena_com_create_and_store_tx_meta_desc() argument
193 struct ena_com_tx_meta *ena_meta = &ena_tx_ctx->ena_meta; in ena_com_create_and_store_tx_meta_desc()
269 struct ena_com_tx_ctx *ena_tx_ctx, in ena_com_prepare_tx() argument
273 struct ena_com_buf *ena_bufs = ena_tx_ctx->ena_bufs; in ena_com_prepare_tx()
274 void *push_header = ena_tx_ctx->push_header; in ena_com_prepare_tx()
275 u16 header_len = ena_tx_ctx->header_len; in ena_com_prepare_tx()
276 u16 num_bufs = ena_tx_ctx->num_bufs; in ena_com_prepare_tx()
[all …]
Dena_netdev.c1910 static void ena_tx_csum(struct ena_com_tx_ctx *ena_tx_ctx, struct sk_buff *skb) in ena_tx_csum() argument
1913 struct ena_com_tx_meta *ena_meta = &ena_tx_ctx->ena_meta; in ena_tx_csum()
1917 ena_tx_ctx->l4_csum_enable = 1; in ena_tx_csum()
1919 ena_tx_ctx->tso_enable = 1; in ena_tx_csum()
1921 ena_tx_ctx->l4_csum_partial = 0; in ena_tx_csum()
1923 ena_tx_ctx->tso_enable = 0; in ena_tx_csum()
1925 ena_tx_ctx->l4_csum_partial = 1; in ena_tx_csum()
1930 ena_tx_ctx->l3_proto = ENA_ETH_IO_L3_PROTO_IPV4; in ena_tx_csum()
1932 ena_tx_ctx->df = 1; in ena_tx_csum()
1934 ena_tx_ctx->l3_csum_enable = 1; in ena_tx_csum()
[all …]
Dena_eth_com.h78 struct ena_com_tx_ctx *ena_tx_ctx,