Searched refs:ena_rx_ctx (Results 1 – 3 of 3) sorted by relevance
356 struct ena_com_rx_ctx *ena_rx_ctx, in ena_com_rx_set_flags() argument359 ena_rx_ctx->l3_proto = cdesc->status & in ena_com_rx_set_flags()361 ena_rx_ctx->l4_proto = in ena_com_rx_set_flags()364 ena_rx_ctx->l3_csum_err = in ena_com_rx_set_flags()367 ena_rx_ctx->l4_csum_err = in ena_com_rx_set_flags()370 ena_rx_ctx->l4_csum_checked = in ena_com_rx_set_flags()373 ena_rx_ctx->hash = cdesc->hash; in ena_com_rx_set_flags()374 ena_rx_ctx->frag = in ena_com_rx_set_flags()380 ena_rx_ctx->l3_proto, ena_rx_ctx->l4_proto, ena_rx_ctx->l3_csum_err, in ena_com_rx_set_flags()381 ena_rx_ctx->l4_csum_err, ena_rx_ctx->hash, ena_rx_ctx->frag, cdesc->status); in ena_com_rx_set_flags()[all …]
1093 struct ena_com_rx_ctx *ena_rx_ctx, in ena_rx_checksum() argument1103 if (ena_rx_ctx->frag) { in ena_rx_checksum()1109 if (unlikely((ena_rx_ctx->l3_proto == ENA_ETH_IO_L3_PROTO_IPV4) && in ena_rx_checksum()1110 (ena_rx_ctx->l3_csum_err))) { in ena_rx_checksum()1121 if (likely((ena_rx_ctx->l4_proto == ENA_ETH_IO_L4_PROTO_TCP) || in ena_rx_checksum()1122 (ena_rx_ctx->l4_proto == ENA_ETH_IO_L4_PROTO_UDP))) { in ena_rx_checksum()1123 if (unlikely(ena_rx_ctx->l4_csum_err)) { in ena_rx_checksum()1133 if (likely(ena_rx_ctx->l4_csum_checked)) { in ena_rx_checksum()1150 struct ena_com_rx_ctx *ena_rx_ctx, in ena_set_rx_hash() argument1156 if (likely((ena_rx_ctx->l4_proto == ENA_ETH_IO_L4_PROTO_TCP) || in ena_set_rx_hash()[all …]
60 struct ena_com_rx_ctx *ena_rx_ctx);