From: dpdklab@iol.unh.edu
To: test-report@dpdk.org
Cc: dpdk-test-reports@iol.unh.edu
Subject: |WARNING| pw117851 [PATCH] [v1, 23/35] net/ionic: add a lookup table for packet type
Date: Tue, 11 Oct 2022 00:38:57 -0400 (EDT) [thread overview]
Message-ID: <20221011043857.868296D509@noxus.dpdklab.iol.unh.edu> (raw)
[-- 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
reply other threads:[~2022-10-11 4:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221011043857.868296D509@noxus.dpdklab.iol.unh.edu \
--to=dpdklab@iol.unh.edu \
--cc=dpdk-test-reports@iol.unh.edu \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).