Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/amazon/ena/
Dena_eth_com.c276 struct ena_com_tx_meta *ena_meta) in ena_com_create_meta() argument
291 meta_desc->word2 |= ((u32)ena_meta->mss << in ena_com_create_meta()
295 meta_desc->len_ctrl |= ((ena_meta->mss >> 10) << in ena_com_create_meta()
308 meta_desc->word2 |= ena_meta->l3_hdr_len & in ena_com_create_meta()
310 meta_desc->word2 |= (ena_meta->l3_hdr_offset << in ena_com_create_meta()
314 meta_desc->word2 |= ((u32)ena_meta->l4_hdr_len << in ena_com_create_meta()
325 struct ena_com_tx_meta *ena_meta = &ena_tx_ctx->ena_meta; in ena_com_create_and_store_tx_meta_desc() local
335 return ena_com_create_meta(io_sq, ena_meta); in ena_com_create_and_store_tx_meta_desc()
341 memcpy(&io_sq->cached_tx_meta, ena_meta, in ena_com_create_and_store_tx_meta_desc()
343 return ena_com_create_meta(io_sq, ena_meta); in ena_com_create_and_store_tx_meta_desc()
Dena_eth_com.h19 struct ena_com_tx_meta ena_meta; member
113 &ena_tx_ctx->ena_meta, in ena_com_meta_desc_changed()
Dena_netdev.c2959 struct ena_com_tx_meta *ena_meta = &ena_tx_ctx->ena_meta; in ena_tx_csum() local
2966 ena_meta->l4_hdr_len = tcp_hdr(skb)->doff; in ena_tx_csum()
2970 ena_meta->l4_hdr_len = 0; in ena_tx_csum()
2996 ena_meta->mss = mss; in ena_tx_csum()
2997 ena_meta->l3_hdr_len = skb_network_header_len(skb); in ena_tx_csum()
2998 ena_meta->l3_hdr_offset = skb_network_offset(skb); in ena_tx_csum()
3001 memset(ena_meta, 0, sizeof(*ena_meta)); in ena_tx_csum()