* |WARNING| pw117851 [PATCH] [v1, 23/35] net/ionic: add a lookup table for packet type
@ 2022-10-11 4:38 dpdklab
0 siblings, 0 replies; only message in thread
From: dpdklab @ 2022-10-11 4:38 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
[-- Attachment #1: Type: text/plain, Size: 2190 bytes --]
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/117851
_apply patch failure_
Submitter: Andrew Boyer <Andrew.Boyer@amd.com>
Date: Tuesday, October 11 2022 00:50:20
Applied on: CommitID:f13604fad12a81383da7b04821a4befb3d01e2ed
Apply patch set 117851 failed:
Checking patch drivers/net/ionic/ionic_rxtx.c...
error: while searching for:
return 0;
}
/*
* Cleans one descriptor. Connects the filled mbufs into a chain.
* Does not advance the tail index.
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;
void **info;
cq_desc_len = rte_le_to_cpu_16(cq_desc->len);
error: patch failed: drivers/net/ionic/ionic_rxtx.c:820
Hunk #3 succeeded at 868 (offset -44 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,22 @@ ionic_dev_rx_queue_setup(struct rte_eth_dev *eth_dev,
return 0;
}
+/* RTE_PTYPE_UNKNOWN is 0x0 */
+static const uint32_t ionic_ptype_table[IONIC_RXQ_COMP_PKT_TYPE_MASK]
+ __rte_cache_aligned = {
+ [IONIC_PKT_TYPE_NON_IP] = RTE_PTYPE_UNKNOWN,
+ [IONIC_PKT_TYPE_IPV4] = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV4,
+ [IONIC_PKT_TYPE_IPV4_TCP] =
+ RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV4 | RTE_PTYPE_L4_TCP,
+ [IONIC_PKT_TYPE_IPV4_UDP] =
+ RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV4 | RTE_PTYPE_L4_UDP,
+ [IONIC_PKT_TYPE_IPV6] = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV6,
+ [IONIC_PKT_TYPE_IPV6_TCP] =
+ RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV6 | RTE_PTYPE_L4_TCP,
+ [IONIC_PKT_TYPE_IPV6_UDP] =
+ RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV6 | RTE_PTYPE_L4_UDP,
+};
+
/*
* Cleans one descriptor. Connects the filled mbufs into a chain.
* Does not advance the tail index.
@@ -820,6 +836,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;
void **info;
cq_desc_len = rte_le_to_cpu_16(cq_desc->len);
https://lab.dpdk.org/results/dashboard/patchsets/23892/
UNH-IOL DPDK Community Lab
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-10-11 4:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-11 4:38 |WARNING| pw117851 [PATCH] [v1, 23/35] net/ionic: add a lookup table for packet type dpdklab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).