Home
last modified time | relevance | path

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

/Linux-v6.1/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.c1531 struct ena_com_rx_ctx *ena_rx_ctx, in ena_rx_checksum() argument
1541 if (ena_rx_ctx->frag) { in ena_rx_checksum()
1547 if (unlikely((ena_rx_ctx->l3_proto == ENA_ETH_IO_L3_PROTO_IPV4) && in ena_rx_checksum()
1548 (ena_rx_ctx->l3_csum_err))) { in ena_rx_checksum()
1559 if (likely((ena_rx_ctx->l4_proto == ENA_ETH_IO_L4_PROTO_TCP) || in ena_rx_checksum()
1560 (ena_rx_ctx->l4_proto == ENA_ETH_IO_L4_PROTO_UDP))) { in ena_rx_checksum()
1561 if (unlikely(ena_rx_ctx->l4_csum_err)) { in ena_rx_checksum()
1571 if (likely(ena_rx_ctx->l4_csum_checked)) { in ena_rx_checksum()
1588 struct ena_com_rx_ctx *ena_rx_ctx, in ena_set_rx_hash() argument
1594 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);