Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/amazon/ena/
H A Dena_eth_com.c284 struct ena_com_tx_meta *ena_meta) in ena_com_create_meta() argument
299 meta_desc->word2 |= ((u32)ena_meta->mss << in ena_com_create_meta()
303 meta_desc->len_ctrl |= ((ena_meta->mss >> 10) << in ena_com_create_meta()
316 meta_desc->word2 |= ena_meta->l3_hdr_len & in ena_com_create_meta()
318 meta_desc->word2 |= (ena_meta->l3_hdr_offset << in ena_com_create_meta()
322 meta_desc->word2 |= ((u32)ena_meta->l4_hdr_len << in ena_com_create_meta()
333 struct ena_com_tx_meta *ena_meta = &ena_tx_ctx->ena_meta; in ena_com_create_and_store_tx_meta_desc() local
340 return ena_com_create_meta(io_sq, ena_meta); in ena_com_create_and_store_tx_meta_desc()
346 memcpy(&io_sq->cached_tx_meta, ena_meta, in ena_com_create_and_store_tx_meta_desc()
348 return ena_com_create_meta(io_sq, ena_meta); in ena_com_create_and_store_tx_meta_desc()
H A Dena_eth_com.h17 struct ena_com_tx_meta ena_meta; member
111 &ena_tx_ctx->ena_meta, in ena_com_meta_desc_changed()
H A Dena_netdev.c2419 struct ena_com_tx_meta *ena_meta = &ena_tx_ctx->ena_meta; in ena_tx_csum() local
2426 ena_meta->l4_hdr_len = tcp_hdr(skb)->doff; in ena_tx_csum()
2430 ena_meta->l4_hdr_len = 0; in ena_tx_csum()
2456 ena_meta->mss = mss; in ena_tx_csum()
2457 ena_meta->l3_hdr_len = skb_network_header_len(skb); in ena_tx_csum()
2458 ena_meta->l3_hdr_offset = skb_network_offset(skb); in ena_tx_csum()
2461 memset(ena_meta, 0, sizeof(*ena_meta)); in ena_tx_csum()