Searched refs:ena_tx_ctx (Results 1 – 5 of 5) sorted by relevance
| /drivers/net/ethernet/amazon/ena/ |
| A D | ena_eth_com.c | 330 struct ena_com_tx_ctx *ena_tx_ctx, in ena_com_create_and_store_tx_meta_desc() argument 389 struct ena_com_tx_ctx *ena_tx_ctx, in ena_com_prepare_tx() argument 394 void *buffer_to_push = ena_tx_ctx->push_header; in ena_com_prepare_tx() 395 u16 header_len = ena_tx_ctx->header_len; in ena_com_prepare_tx() 396 u16 num_bufs = ena_tx_ctx->num_bufs; in ena_com_prepare_tx() 463 desc->meta_ctrl |= ((u32)ena_tx_ctx->req_id << in ena_com_prepare_tx() 467 desc->meta_ctrl |= (ena_tx_ctx->df << in ena_com_prepare_tx() 476 if (ena_tx_ctx->meta_valid) { in ena_com_prepare_tx() 477 desc->meta_ctrl |= (ena_tx_ctx->tso_enable << in ena_com_prepare_tx() 480 desc->meta_ctrl |= ena_tx_ctx->l3_proto & in ena_com_prepare_tx() [all …]
|
| A D | ena_eth_com.h | 55 struct ena_com_tx_ctx *ena_tx_ctx, 105 struct ena_com_tx_ctx *ena_tx_ctx) in ena_com_meta_desc_changed() argument 107 if (!ena_tx_ctx->meta_valid) in ena_com_meta_desc_changed() 111 &ena_tx_ctx->ena_meta, in ena_com_meta_desc_changed() 122 struct ena_com_tx_ctx *ena_tx_ctx) in ena_com_is_doorbell_needed() argument 133 num_descs = ena_tx_ctx->num_bufs; in ena_com_is_doorbell_needed() 136 unlikely(ena_com_meta_desc_changed(io_sq, ena_tx_ctx))) in ena_com_is_doorbell_needed()
|
| A D | ena_xdp.c | 22 struct ena_com_tx_ctx *ena_tx_ctx) in ena_xdp_tx_map_frame() argument 39 ena_tx_ctx->push_header = data; in ena_xdp_tx_map_frame() 45 ena_tx_ctx->header_len = push_len; in ena_xdp_tx_map_frame() 61 ena_tx_ctx->ena_bufs = ena_buf; in ena_xdp_tx_map_frame() 62 ena_tx_ctx->num_bufs = tx_info->num_of_bufs = 1; in ena_xdp_tx_map_frame() 80 struct ena_com_tx_ctx ena_tx_ctx = {}; in ena_xdp_xmit_frame() local 90 rc = ena_xdp_tx_map_frame(tx_ring, tx_info, xdpf, &ena_tx_ctx); in ena_xdp_xmit_frame() 94 ena_tx_ctx.req_id = req_id; in ena_xdp_xmit_frame() 99 &ena_tx_ctx, in ena_xdp_xmit_frame()
|
| A D | ena_netdev.c | 127 ena_tx_ctx))) { in ena_xmit_common() 2427 ena_tx_ctx->l4_csum_enable = 1; in ena_tx_csum() 2429 ena_tx_ctx->tso_enable = 1; in ena_tx_csum() 2433 ena_tx_ctx->tso_enable = 0; in ena_tx_csum() 2442 ena_tx_ctx->df = 1; in ena_tx_csum() 2463 ena_tx_ctx->meta_valid = 1; in ena_tx_csum() 2466 ena_tx_ctx->meta_valid = 1; in ena_tx_csum() 2468 ena_tx_ctx->meta_valid = 0; in ena_tx_csum() 2607 struct ena_com_tx_ctx ena_tx_ctx; in ena_start_xmit() local 2639 ena_tx_ctx.req_id = req_id; in ena_start_xmit() [all …]
|
| A D | ena_netdev.h | 450 struct ena_com_tx_ctx *ena_tx_ctx,
|
Completed in 20 milliseconds