Home
last modified time | relevance | path

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

/drivers/net/ethernet/amazon/ena/
Dena_eth_com.c348 struct ena_com_rx_ctx *ena_rx_ctx, in ena_com_rx_set_flags() argument
351 ena_rx_ctx->l3_proto = cdesc->status & in ena_com_rx_set_flags()
353 ena_rx_ctx->l4_proto = in ena_com_rx_set_flags()
356 ena_rx_ctx->l3_csum_err = in ena_com_rx_set_flags()
359 ena_rx_ctx->l4_csum_err = in ena_com_rx_set_flags()
362 ena_rx_ctx->l4_csum_checked = in ena_com_rx_set_flags()
365 ena_rx_ctx->hash = cdesc->hash; in ena_com_rx_set_flags()
366 ena_rx_ctx->frag = in ena_com_rx_set_flags()
372 ena_rx_ctx->l3_proto, ena_rx_ctx->l4_proto, in ena_com_rx_set_flags()
373 ena_rx_ctx->l3_csum_err, ena_rx_ctx->l4_csum_err, in ena_com_rx_set_flags()
[all …]
Dena_netdev.c1543 struct ena_com_rx_ctx *ena_rx_ctx, in ena_rx_checksum() argument
1553 if (ena_rx_ctx->frag) { in ena_rx_checksum()
1559 if (unlikely((ena_rx_ctx->l3_proto == ENA_ETH_IO_L3_PROTO_IPV4) && in ena_rx_checksum()
1560 (ena_rx_ctx->l3_csum_err))) { in ena_rx_checksum()
1571 if (likely((ena_rx_ctx->l4_proto == ENA_ETH_IO_L4_PROTO_TCP) || in ena_rx_checksum()
1572 (ena_rx_ctx->l4_proto == ENA_ETH_IO_L4_PROTO_UDP))) { in ena_rx_checksum()
1573 if (unlikely(ena_rx_ctx->l4_csum_err)) { in ena_rx_checksum()
1583 if (likely(ena_rx_ctx->l4_csum_checked)) { in ena_rx_checksum()
1600 struct ena_com_rx_ctx *ena_rx_ctx, in ena_set_rx_hash() argument
1606 if (likely((ena_rx_ctx->l4_proto == ENA_ETH_IO_L4_PROTO_TCP) || in ena_set_rx_hash()
[all …]
Dena_eth_com.h58 struct ena_com_rx_ctx *ena_rx_ctx);