* |WARNING| pw115910-115935 [PATCH] [v2, 31/31] net/cnxk: dumps device private information
@ 2022-09-05 13:53 dpdklab
0 siblings, 0 replies; only message in thread
From: dpdklab @ 2022-09-05 13:53 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
[-- Attachment #1: Type: text/plain, Size: 11699 bytes --]
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/115910
_apply patch failure_
Submitter: Nithin Dabilpuram <ndabilpuram@marvell.com>
Date: Monday, September 05 2022 13:32:28
Applied on: CommitID:4aee6110bb10b0225fa9562f2e48af233a9058a1
Apply patch set 115910-115935 failed:
Checking patch drivers/event/cnxk/cn10k_eventdev.c...
error: while searching for:
}
static void
cn10k_sso_set_priv_mem(const struct rte_eventdev *event_dev, void *lookup_mem)
{
struct cnxk_sso_evdev *dev = cnxk_sso_pmd_priv(event_dev);
int i;
error: patch failed: drivers/event/cnxk/cn10k_eventdev.c:694
error: while searching for:
struct cn10k_sso_hws *ws = event_dev->data->ports[i];
ws->lookup_mem = lookup_mem;
ws->tstamp = dev->tstamp;
}
}
error: patch failed: drivers/event/cnxk/cn10k_eventdev.c:703
error: while searching for:
const struct rte_event_eth_rx_adapter_queue_conf *queue_conf)
{
struct cn10k_eth_rxq *rxq;
void *lookup_mem;
int rc;
error: patch failed: drivers/event/cnxk/cn10k_eventdev.c:713
error: while searching for:
return -EINVAL;
rxq = eth_dev->data->rx_queues[0];
lookup_mem = rxq->lookup_mem;
cn10k_sso_set_priv_mem(event_dev, lookup_mem);
cn10k_sso_fp_fns_set((struct rte_eventdev *)(uintptr_t)event_dev);
return 0;
error: patch failed: drivers/event/cnxk/cn10k_eventdev.c:726
Checking patch drivers/event/cnxk/cn10k_worker.h...
error: while searching for:
}
static __rte_always_inline void
cn10k_process_vwqe(uintptr_t vwqe, uint16_t port_id, const uint32_t flags,
void *lookup_mem, void *tstamp, uintptr_t lbase)
{
uint64_t mbuf_init = 0x100010000ULL | RTE_PKTMBUF_HEADROOM;
struct rte_event_vector *vec;
uint64_t aura_handle, laddr;
uint16_t nb_mbufs, non_vec;
uint16_t lmt_id, d_off;
struct rte_mbuf **wqe;
error: patch failed: drivers/event/cnxk/cn10k_worker.h:127
error: while searching for:
if (flags & NIX_RX_OFFLOAD_TSTAMP_F && tstamp)
mbuf_init |= 8;
nb_mbufs = RTE_ALIGN_FLOOR(vec->nb_elem, NIX_DESCS_PER_LOOP);
nb_mbufs = cn10k_nix_recv_pkts_vector(&mbuf_init, wqe, nb_mbufs,
flags | NIX_RX_VWQE_F, lookup_mem,
tstamp, lbase);
wqe += nb_mbufs;
non_vec = vec->nb_elem - nb_mbufs;
if (flags & NIX_RX_OFFLOAD_SECURITY_F && non_vec) {
mbuf = (struct rte_mbuf *)((uintptr_t)wqe[0] -
sizeof(struct rte_mbuf));
/* Pick first mbuf's aura handle assuming all
* mbufs are from a vec and are from same RQ.
*/
aura_handle = mbuf->pool->pool_id;
ROC_LMT_BASE_ID_GET(lbase, lmt_id);
laddr = lbase;
laddr += 8;
d_off = ((uintptr_t)mbuf->buf_addr - (uintptr_t)mbuf);
d_off += (mbuf_init & 0xFFFF);
sa_base = cnxk_nix_sa_base_get(mbuf_init >> 48, lookup_mem);
sa_base &= ~(ROC_NIX_INL_SA_BASE_ALIGN - 1);
}
error: patch failed: drivers/event/cnxk/cn10k_worker.h:153
Hunk #3 succeeded at 191 (offset -25 lines).
Hunk #4 succeeded at 226 (offset -23 lines).
error: while searching for:
vwqe_hdr = ((vwqe_hdr >> 64) & 0xFFF) | BIT_ULL(31) |
((vwqe_hdr & 0xFFFF) << 48) | ((uint64_t)port << 32);
*(uint64_t *)u64[1] = (uint64_t)vwqe_hdr;
cn10k_process_vwqe(u64[1], port, flags, ws->lookup_mem,
ws->tstamp[port], ws->lmt_base);
/* Mark vector mempool object as get */
RTE_MEMPOOL_CHECK_COOKIES(rte_mempool_from_obj((void *)u64[1]),
(void **)&u64[1], 1, 1);
error: patch failed: drivers/event/cnxk/cn10k_worker.h:273
Checking patch drivers/event/cnxk/cnxk_eventdev.h...
error: while searching for:
uint8_t hws_id;
/* PTP timestamp */
struct cnxk_timesync_info **tstamp;
/* Add Work Fastpath data */
uint64_t xaq_lmt __rte_cache_aligned;
uint64_t *fc_mem;
error: patch failed: drivers/event/cnxk/cnxk_eventdev.h:148
Checking patch drivers/event/cnxk/cnxk_eventdev_adptr.c...
Checking patch drivers/net/cnxk/cn10k_ethdev.c...
Checking patch drivers/net/cnxk/cn10k_ethdev.h...
Checking patch drivers/net/cnxk/cn10k_rx.h...
Hunk #7 succeeded at 1726 (offset -1 lines).
Hunk #8 succeeded at 1749 (offset -1 lines).
Hunk #9 succeeded at 1774 (offset -1 lines).
Hunk #10 succeeded at 1808 (offset -1 lines).
Hunk #11 succeeded at 1817 (offset -1 lines).
Hunk #12 succeeded at 2044 (offset -1 lines).
Checking patch drivers/net/cnxk/cnxk_ethdev.c...
Checking patch drivers/net/cnxk/cnxk_ethdev.h...
Hunk #1 succeeded at 641 (offset -1 lines).
Checking patch drivers/net/cnxk/cnxk_ethdev_sec.c...
Applying patch drivers/event/cnxk/cn10k_eventdev.c with 4 rejects...
Rejected hunk #1.
Rejected hunk #2.
Rejected hunk #3.
Rejected hunk #4.
Applying patch drivers/event/cnxk/cn10k_worker.h with 3 rejects...
Rejected hunk #1.
Rejected hunk #2.
Hunk #3 applied cleanly.
Hunk #4 applied cleanly.
Rejected hunk #5.
Applying patch drivers/event/cnxk/cnxk_eventdev.h with 1 reject...
Rejected hunk #1.
Applied patch drivers/event/cnxk/cnxk_eventdev_adptr.c cleanly.
Applied patch drivers/net/cnxk/cn10k_ethdev.c cleanly.
Applied patch drivers/net/cnxk/cn10k_ethdev.h cleanly.
Applied patch drivers/net/cnxk/cn10k_rx.h cleanly.
Applied patch drivers/net/cnxk/cnxk_ethdev.c cleanly.
Applied patch drivers/net/cnxk/cnxk_ethdev.h cleanly.
Applied patch drivers/net/cnxk/cnxk_ethdev_sec.c cleanly.
diff a/drivers/event/cnxk/cn10k_eventdev.c b/drivers/event/cnxk/cn10k_eventdev.c (rejected hunks)
@@ -694,7 +694,7 @@ cn10k_sso_rx_adapter_caps_get(const struct rte_eventdev *event_dev,
}
static void
-cn10k_sso_set_priv_mem(const struct rte_eventdev *event_dev, void *lookup_mem)
+cn10k_sso_set_priv_mem(const struct rte_eventdev *event_dev, void *lookup_mem, uint64_t meta_aura)
{
struct cnxk_sso_evdev *dev = cnxk_sso_pmd_priv(event_dev);
int i;
@@ -703,6 +703,8 @@ cn10k_sso_set_priv_mem(const struct rte_eventdev *event_dev, void *lookup_mem)
struct cn10k_sso_hws *ws = event_dev->data->ports[i];
ws->lookup_mem = lookup_mem;
ws->tstamp = dev->tstamp;
+ if (meta_aura)
+ ws->meta_aura = meta_aura;
}
}
@@ -713,6 +715,7 @@ cn10k_sso_rx_adapter_queue_add(
const struct rte_event_eth_rx_adapter_queue_conf *queue_conf)
{
struct cn10k_eth_rxq *rxq;
+ uint64_t meta_aura;
void *lookup_mem;
int rc;
@@ -726,7 +729,8 @@ cn10k_sso_rx_adapter_queue_add(
return -EINVAL;
rxq = eth_dev->data->rx_queues[0];
lookup_mem = rxq->lookup_mem;
- cn10k_sso_set_priv_mem(event_dev, lookup_mem);
+ meta_aura = rxq->meta_aura;
+ cn10k_sso_set_priv_mem(event_dev, lookup_mem, meta_aura);
cn10k_sso_fp_fns_set((struct rte_eventdev *)(uintptr_t)event_dev);
return 0;
diff a/drivers/event/cnxk/cn10k_worker.h b/drivers/event/cnxk/cn10k_worker.h (rejected hunks)
@@ -127,12 +127,14 @@ cn10k_sso_process_tstamp(uint64_t u64, uint64_t mbuf,
}
static __rte_always_inline void
-cn10k_process_vwqe(uintptr_t vwqe, uint16_t port_id, const uint32_t flags,
- void *lookup_mem, void *tstamp, uintptr_t lbase)
+cn10k_process_vwqe(uintptr_t vwqe, uint16_t port_id, const uint32_t flags, struct cn10k_sso_hws *ws)
{
uint64_t mbuf_init = 0x100010000ULL | RTE_PKTMBUF_HEADROOM;
+ struct cnxk_timesync_info *tstamp = ws->tstamp[port_id];
+ void *lookup_mem = ws->lookup_mem;
+ uintptr_t lbase = ws->lmt_base;
struct rte_event_vector *vec;
- uint64_t aura_handle, laddr;
+ uint64_t meta_aura, laddr;
uint16_t nb_mbufs, non_vec;
uint16_t lmt_id, d_off;
struct rte_mbuf **wqe;
@@ -153,25 +155,31 @@ cn10k_process_vwqe(uintptr_t vwqe, uint16_t port_id, const uint32_t flags,
if (flags & NIX_RX_OFFLOAD_TSTAMP_F && tstamp)
mbuf_init |= 8;
+ meta_aura = ws->meta_aura;
nb_mbufs = RTE_ALIGN_FLOOR(vec->nb_elem, NIX_DESCS_PER_LOOP);
nb_mbufs = cn10k_nix_recv_pkts_vector(&mbuf_init, wqe, nb_mbufs,
- flags | NIX_RX_VWQE_F, lookup_mem,
- tstamp, lbase);
+ flags | NIX_RX_VWQE_F,
+ lookup_mem, tstamp,
+ lbase, meta_aura);
wqe += nb_mbufs;
non_vec = vec->nb_elem - nb_mbufs;
if (flags & NIX_RX_OFFLOAD_SECURITY_F && non_vec) {
+ uint64_t sg_w1;
+
mbuf = (struct rte_mbuf *)((uintptr_t)wqe[0] -
sizeof(struct rte_mbuf));
/* Pick first mbuf's aura handle assuming all
* mbufs are from a vec and are from same RQ.
*/
- aura_handle = mbuf->pool->pool_id;
+ meta_aura = ws->meta_aura;
+ if (!meta_aura)
+ meta_aura = mbuf->pool->pool_id;
ROC_LMT_BASE_ID_GET(lbase, lmt_id);
laddr = lbase;
laddr += 8;
- d_off = ((uintptr_t)mbuf->buf_addr - (uintptr_t)mbuf);
- d_off += (mbuf_init & 0xFFFF);
+ sg_w1 = *(uint64_t *)(((uintptr_t)wqe[0]) + 72);
+ d_off = sg_w1 - (uintptr_t)mbuf;
sa_base = cnxk_nix_sa_base_get(mbuf_init >> 48, lookup_mem);
sa_base &= ~(ROC_NIX_INL_SA_BASE_ALIGN - 1);
}
@@ -273,8 +280,7 @@ cn10k_sso_hws_post_process(struct cn10k_sso_hws *ws, uint64_t *u64,
vwqe_hdr = ((vwqe_hdr >> 64) & 0xFFF) | BIT_ULL(31) |
((vwqe_hdr & 0xFFFF) << 48) | ((uint64_t)port << 32);
*(uint64_t *)u64[1] = (uint64_t)vwqe_hdr;
- cn10k_process_vwqe(u64[1], port, flags, ws->lookup_mem,
- ws->tstamp[port], ws->lmt_base);
+ cn10k_process_vwqe(u64[1], port, flags, ws);
/* Mark vector mempool object as get */
RTE_MEMPOOL_CHECK_COOKIES(rte_mempool_from_obj((void *)u64[1]),
(void **)&u64[1], 1, 1);
diff a/drivers/event/cnxk/cnxk_eventdev.h b/drivers/event/cnxk/cnxk_eventdev.h (rejected hunks)
@@ -148,6 +148,7 @@ struct cn10k_sso_hws {
uint8_t hws_id;
/* PTP timestamp */
struct cnxk_timesync_info **tstamp;
+ uint64_t meta_aura;
/* Add Work Fastpath data */
uint64_t xaq_lmt __rte_cache_aligned;
uint64_t *fc_mem;
Checking patch drivers/net/cnxk/cnxk_ethdev.c...
error: drivers/net/cnxk/cnxk_ethdev.c: does not match index
Checking patch drivers/net/cnxk/cnxk_ethdev_ops.c...
Applied patch drivers/net/cnxk/cnxk_ethdev_ops.c cleanly.
Checking patch drivers/common/cnxk/roc_nix.c...
Checking patch drivers/common/cnxk/roc_nix.h...
Hunk #1 succeeded at 281 (offset -6 lines).
Hunk #2 succeeded at 407 (offset -6 lines).
Checking patch drivers/common/cnxk/roc_nix_queue.c...
Checking patch drivers/net/cnxk/cnxk_ethdev.c...
error: drivers/net/cnxk/cnxk_ethdev.c: does not match index
Applied patch drivers/common/cnxk/roc_nix.c cleanly.
Applied patch drivers/common/cnxk/roc_nix.h cleanly.
Applied patch drivers/common/cnxk/roc_nix_queue.c cleanly.
Checking patch drivers/net/cnxk/cnxk_ethdev.c...
error: drivers/net/cnxk/cnxk_ethdev.c: does not match index
Checking patch drivers/net/cnxk/cnxk_ethdev.h...
error: drivers/net/cnxk/cnxk_ethdev.h: does not match index
Checking patch drivers/net/cnxk/cnxk_ethdev_devargs.c...
Applied patch drivers/net/cnxk/cnxk_ethdev_devargs.c cleanly.
Checking patch drivers/common/cnxk/roc_nix.h...
error: drivers/common/cnxk/roc_nix.h: does not match index
Checking patch drivers/common/cnxk/roc_nix_debug.c...
Checking patch drivers/common/cnxk/roc_nix_inl.h...
Checking patch drivers/common/cnxk/roc_nix_inl_dev_irq.c...
Checking patch drivers/common/cnxk/roc_nix_irq.c...
Checking patch drivers/common/cnxk/roc_nix_priv.h...
Checking patch drivers/common/cnxk/roc_nix_tm.c...
Applied patch drivers/common/cnxk/roc_nix_debug.c cleanly.
Applied patch drivers/common/cnxk/roc_nix_inl.h cleanly.
Applied patch drivers/common/cnxk/roc_nix_inl_dev_irq.c cleanly.
Applied patch drivers/common/cnxk/roc_nix_irq.c cleanly.
Applied patch drivers/common/cnxk/roc_nix_priv.h cleanly.
Applied patch drivers/common/cnxk/roc_nix_tm.c cleanly.
Checking patch drivers/net/cnxk/cnxk_ethdev.c...
error: drivers/net/cnxk/cnxk_ethdev.c: does not match index
Checking patch drivers/net/cnxk/cnxk_ethdev.h...
error: drivers/net/cnxk/cnxk_ethdev.h: does not match index
Checking patch drivers/net/cnxk/cnxk_ethdev_ops.c...
error: drivers/net/cnxk/cnxk_ethdev_ops.c: does not match index
https://lab.dpdk.org/results/dashboard/patchsets/23414/
UNH-IOL DPDK Community Lab
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-05 13:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-05 13:53 |WARNING| pw115910-115935 [PATCH] [v2, 31/31] net/cnxk: dumps device private information 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).