|WARNING| pw117852 [PATCH] [v1, 24/35] net/ionic: add a lookup table for checksum flags
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Tue Oct 11 06:29:00 CEST 2022
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/117852
_apply patch failure_
Submitter: Andrew Boyer <Andrew.Boyer at amd.com>
Date: Tuesday, October 11 2022 00:50:21
Applied on: CommitID:f13604fad12a81383da7b04821a4befb3d01e2ed
Apply patch set 117852 failed:
Checking patch drivers/net/ionic/ionic_rxtx.c...
error: while searching for:
return 0;
}
/* RTE_PTYPE_UNKNOWN is 0x0 */
static const uint32_t ionic_ptype_table[IONIC_RXQ_COMP_PKT_TYPE_MASK]
__rte_cache_aligned = {
error: patch failed: drivers/net/ionic/ionic_rxtx.c:804
error: while searching for:
uint32_t pkt_type;
uint32_t left, i;
uint16_t cq_desc_len;
uint8_t ptype;
void **info;
cq_desc_len = rte_le_to_cpu_16(cq_desc->len);
error: patch failed: drivers/net/ionic/ionic_rxtx.c:836
Hunk #3 succeeded at 850 (offset -74 lines).
Applying patch drivers/net/ionic/ionic_rxtx.c with 2 rejects...
Rejected hunk #1.
Rejected hunk #2.
Hunk #3 applied cleanly.
diff a/drivers/net/ionic/ionic_rxtx.c b/drivers/net/ionic/ionic_rxtx.c (rejected hunks)
@@ -804,6 +804,36 @@ ionic_dev_rx_queue_setup(struct rte_eth_dev *eth_dev,
return 0;
}
+#define IONIC_CSUM_FLAG_MASK (IONIC_RXQ_COMP_CSUM_F_VLAN - 1)
+static const uint64_t ionic_csum_flags[IONIC_CSUM_FLAG_MASK]
+ __rte_cache_aligned = {
+ /* IP_BAD set */
+ [IONIC_RXQ_COMP_CSUM_F_IP_BAD] = RTE_MBUF_F_RX_IP_CKSUM_BAD,
+ [IONIC_RXQ_COMP_CSUM_F_IP_BAD | IONIC_RXQ_COMP_CSUM_F_TCP_OK] =
+ RTE_MBUF_F_RX_IP_CKSUM_BAD | RTE_MBUF_F_RX_L4_CKSUM_GOO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_RX_L4_CKSUM_BAD,
+ [IONIC_RXQ_COMP_CSUM_F_UDP_OK] = RTE_MBUF_F_RX_L4_CKSUM_GOOD,
+ [IONIC_RXQ_COMP_CSUM_F_UDP_BAD] = RTE_MBUF_F_RX_L4_CKSUM_BAD,
+};
+
/* RTE_PTYPE_UNKNOWN is 0x0 */
static const uint32_t ionic_ptype_table[IONIC_RXQ_COMP_PKT_TYPE_MASK]
__rte_cache_aligned = {
@@ -836,7 +866,7 @@ ionic_rx_clean_one(struct ionic_rx_qcq *rxq,
uint32_t pkt_type;
uint32_t left, i;
uint16_t cq_desc_len;
- uint8_t ptype;
+ uint8_t ptype, cflags;
void **info;
cq_desc_len = rte_le_to_cpu_16(cq_desc->len);
https://lab.dpdk.org/results/dashboard/patchsets/23893/
UNH-IOL DPDK Community Lab
More information about the test-report
mailing list