Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/amazon/ena/
Dena_eth_com.c351 struct ena_com_rx_ctx *ena_rx_ctx, in ena_com_rx_set_flags() argument
354 ena_rx_ctx->l3_proto = cdesc->status & in ena_com_rx_set_flags()
356 ena_rx_ctx->l4_proto = in ena_com_rx_set_flags()
359 ena_rx_ctx->l3_csum_err = in ena_com_rx_set_flags()
362 ena_rx_ctx->l4_csum_err = in ena_com_rx_set_flags()
365 ena_rx_ctx->l4_csum_checked = in ena_com_rx_set_flags()
368 ena_rx_ctx->hash = cdesc->hash; in ena_com_rx_set_flags()
369 ena_rx_ctx->frag = in ena_com_rx_set_flags()
375 ena_rx_ctx->l3_proto, ena_rx_ctx->l4_proto, in ena_com_rx_set_flags()
376 ena_rx_ctx->l3_csum_err, ena_rx_ctx->l4_csum_err, in ena_com_rx_set_flags()
[all …]
Dena_netdev.c1596 struct ena_com_rx_ctx *ena_rx_ctx, in ena_rx_checksum() argument
1606 if (ena_rx_ctx->frag) { in ena_rx_checksum()
1612 if (unlikely((ena_rx_ctx->l3_proto == ENA_ETH_IO_L3_PROTO_IPV4) && in ena_rx_checksum()
1613 (ena_rx_ctx->l3_csum_err))) { in ena_rx_checksum()
1624 if (likely((ena_rx_ctx->l4_proto == ENA_ETH_IO_L4_PROTO_TCP) || in ena_rx_checksum()
1625 (ena_rx_ctx->l4_proto == ENA_ETH_IO_L4_PROTO_UDP))) { in ena_rx_checksum()
1626 if (unlikely(ena_rx_ctx->l4_csum_err)) { in ena_rx_checksum()
1636 if (likely(ena_rx_ctx->l4_csum_checked)) { in ena_rx_checksum()
1653 struct ena_com_rx_ctx *ena_rx_ctx, in ena_set_rx_hash() argument
1659 if (likely((ena_rx_ctx->l4_proto == ENA_ETH_IO_L4_PROTO_TCP) || in ena_set_rx_hash()
[all …]
Dena_eth_com.h62 struct ena_com_rx_ctx *ena_rx_ctx);