automatic DPDK test reports
 help / color / mirror / Atom feed
From: dpdklab@iol.unh.edu
To: test-report@dpdk.org
Cc: dpdk-test-reports@iol.unh.edu
Subject: |WARNING| pw120977-120982 [PATCH] [7/7] common/idpf: update mbuf_alloc_failed multi-thread process
Date: Fri, 16 Dec 2022 05:48:41 -0500 (EST)	[thread overview]
Message-ID: <20221216104841.380E545F@noxus.dpdklab.iol.unh.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 8953 bytes --]

Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/120977

_apply patch failure_

Submitter: Mingxia Liu <mingxia.liu@intel.com>
Date: Friday, December 16 2022 09:37:06 
Applied on: CommitID:c581c49cd3fcaff596fbe566e270b442e6326c79
Apply patch set 120977-120982 failed:

Checking patch drivers/common/idpf/idpf_common_device.c...
error: drivers/common/idpf/idpf_common_device.c: does not exist in index
Checking patch drivers/common/idpf/idpf_common_device.h...
error: drivers/common/idpf/idpf_common_device.h: does not exist in index
Checking patch drivers/common/idpf/idpf_common_virtchnl.c...
error: drivers/common/idpf/idpf_common_virtchnl.c: does not exist in index
Checking patch drivers/common/idpf/idpf_common_virtchnl.h...
error: drivers/common/idpf/idpf_common_virtchnl.h: does not exist in index
Checking patch drivers/common/idpf/version.map...
error: while searching for:
	idpf_splitq_recv_pkts_avx512;
	idpf_singleq_xmit_pkts_avx512;
	idpf_splitq_xmit_pkts_avx512;

	local: *;
};

error: patch failed: drivers/common/idpf/version.map:50
Checking patch drivers/net/idpf/idpf_ethdev.c...
error: while searching for:
	return ptypes;
}

static int
idpf_init_rss(struct idpf_vport *vport)
{

error: patch failed: drivers/net/idpf/idpf_ethdev.c:131
Hunk #2 succeeded at 609 (offset 205 lines).
Hunk #3 succeeded at 1065 (offset 383 lines).
Applying patch drivers/common/idpf/version.map with 1 reject...
Rejected hunk #1.
Applying patch drivers/net/idpf/idpf_ethdev.c with 1 reject...
Rejected hunk #1.
Hunk #2 applied cleanly.
Hunk #3 applied cleanly.
diff a/drivers/common/idpf/version.map b/drivers/common/idpf/version.map	(rejected hunks)
@@ -50,6 +50,8 @@ INTERNAL {
 	idpf_splitq_recv_pkts_avx512;
 	idpf_singleq_xmit_pkts_avx512;
 	idpf_splitq_xmit_pkts_avx512;
+	idpf_update_stats;
+	idpf_query_stats;
 
 	local: *;
 };
diff a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c	(rejected hunks)
@@ -131,6 +131,86 @@ idpf_dev_supported_ptypes_get(struct rte_eth_dev *dev __rte_unused)
 	return ptypes;
 }
 
+static uint64_t
+idpf_get_mbuf_alloc_failed_stats(struct rte_eth_dev *dev)
+{
+	uint64_t mbuf_alloc_failed = 0;
+	struct idpf_rx_queue *rxq;
+	int i = 0;
+
+	for (i = 0; i < dev->data->nb_rx_queues; i++) {
+		rxq = dev->data->rx_queues[i];
+		mbuf_alloc_failed += rxq->rx_stats.mbuf_alloc_failed;
+	}
+
+	return mbuf_alloc_failed;
+}
+
+static int
+idpf_dev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats)
+{
+	struct idpf_vport *vport =
+		(struct idpf_vport *)dev->data->dev_private;
+	struct virtchnl2_vport_stats *pstats = NULL;
+	int ret;
+
+	ret = idpf_query_stats(vport, &pstats);
+	if (ret == 0) {
+		uint8_t crc_stats_len = (dev->data->dev_conf.rxmode.offloads &
+					 RTE_ETH_RX_OFFLOAD_KEEP_CRC) ? 0 :
+					 RTE_ETHER_CRC_LEN;
+
+		idpf_update_stats(&vport->eth_stats_offset, pstats);
+		stats->ipackets = pstats->rx_unicast + pstats->rx_multicast +
+				pstats->rx_broadcast - pstats->rx_discards;
+		stats->opackets = pstats->tx_broadcast + pstats->tx_multicast +
+						pstats->tx_unicast;
+		stats->imissed = pstats->rx_discards;
+		stats->oerrors = pstats->tx_errors + pstats->tx_discards;
+		stats->ibytes = pstats->rx_bytes;
+		stats->ibytes -= stats->ipackets * crc_stats_len;
+		stats->obytes = pstats->tx_bytes;
+
+		dev->data->rx_mbuf_alloc_failed = idpf_get_mbuf_alloc_failed_stats(dev);
+		stats->rx_nombuf = dev->data->rx_mbuf_alloc_failed;
+	} else {
+		PMD_DRV_LOG(ERR, "Get statistics failed");
+	}
+	return ret;
+}
+
+static void
+idpf_reset_mbuf_alloc_failed_stats(struct rte_eth_dev *dev)
+{
+	struct idpf_rx_queue *rxq;
+	int i;
+
+	for (i = 0; i < dev->data->nb_rx_queues; i++) {
+		rxq = dev->data->rx_queues[i];
+		rxq->rx_stats.mbuf_alloc_failed = 0;
+	}
+}
+
+static int
+idpf_dev_stats_reset(struct rte_eth_dev *dev)
+{
+	struct idpf_vport *vport =
+		(struct idpf_vport *)dev->data->dev_private;
+	struct virtchnl2_vport_stats *pstats = NULL;
+	int ret;
+
+	ret = idpf_query_stats(vport, &pstats);
+	if (ret != 0)
+		return ret;
+
+	/* set stats offset base on current values */
+	vport->eth_stats_offset = *pstats;
+
+	idpf_reset_mbuf_alloc_failed_stats(dev);
+
+	return 0;
+}
+
 static int
 idpf_init_rss(struct idpf_vport *vport)
 {
Checking patch drivers/common/idpf/idpf_common_device.h...
error: drivers/common/idpf/idpf_common_device.h: does not exist in index
Checking patch drivers/common/idpf/idpf_common_virtchnl.c...
error: drivers/common/idpf/idpf_common_virtchnl.c: does not exist in index
Checking patch drivers/common/idpf/idpf_common_virtchnl.h...
error: drivers/common/idpf/idpf_common_virtchnl.h: does not exist in index
Checking patch drivers/common/idpf/version.map...
error: while searching for:
	idpf_splitq_xmit_pkts_avx512;
	idpf_update_stats;
	idpf_query_stats;

	local: *;
};

error: patch failed: drivers/common/idpf/version.map:52
Checking patch drivers/net/idpf/idpf_ethdev.c...
error: drivers/net/idpf/idpf_ethdev.c: does not match index
Checking patch drivers/net/idpf/idpf_ethdev.h...
Hunk #1 succeeded at 60 (offset 13 lines).
Applying patch drivers/common/idpf/version.map with 1 reject...
Rejected hunk #1.
Applied patch drivers/net/idpf/idpf_ethdev.h cleanly.
diff a/drivers/common/idpf/version.map b/drivers/common/idpf/version.map	(rejected hunks)
@@ -52,6 +52,12 @@ INTERNAL {
 	idpf_splitq_xmit_pkts_avx512;
 	idpf_update_stats;
 	idpf_query_stats;
+	idpf_vc_set_rss_key;
+	idpf_vc_get_rss_key;
+	idpf_vc_set_rss_lut;
+	idpf_vc_get_rss_lut;
+	idpf_vc_set_rss_hash;
+	idpf_vc_get_rss_hash;
 
 	local: *;
 };
Checking patch drivers/common/idpf/idpf_common_rxtx.c...
error: drivers/common/idpf/idpf_common_rxtx.c: does not exist in index
Checking patch drivers/common/idpf/idpf_common_rxtx.h...
error: drivers/common/idpf/idpf_common_rxtx.h: does not exist in index
Checking patch drivers/common/idpf/version.map...
error: while searching for:
	idpf_splitq_recv_pkts;
	idpf_splitq_xmit_pkts;
	idpf_singleq_recv_pkts;
	idpf_singleq_xmit_pkts;
	idpf_prep_pkts;
	idpf_singleq_rx_vec_setup;

error: patch failed: drivers/common/idpf/version.map:41
Checking patch drivers/net/idpf/idpf_ethdev.c...
error: drivers/net/idpf/idpf_ethdev.c: does not match index
Checking patch drivers/net/idpf/idpf_rxtx.c...
Hunk #1 succeeded at 1003 (offset 497 lines).
Hunk #2 succeeded at 1018 (offset 497 lines).
Hunk #3 succeeded at 2264 (offset 1447 lines).
Checking patch drivers/net/idpf/idpf_rxtx.h...
error: while searching for:
#define IDPF_DEFAULT_TX_RS_THRESH	32
#define IDPF_DEFAULT_TX_FREE_THRESH	32

int idpf_rx_queue_setup(struct rte_eth_dev *dev, uint16_t queue_idx,
			uint16_t nb_desc, unsigned int socket_id,
			const struct rte_eth_rxconf *rx_conf,

error: patch failed: drivers/net/idpf/idpf_rxtx.h:23
Applying patch drivers/common/idpf/version.map with 1 reject...
Rejected hunk #1.
Applied patch drivers/net/idpf/idpf_rxtx.c cleanly.
Applying patch drivers/net/idpf/idpf_rxtx.h with 1 reject...
Rejected hunk #1.
diff a/drivers/common/idpf/version.map b/drivers/common/idpf/version.map	(rejected hunks)
@@ -41,6 +41,7 @@ INTERNAL {
 	idpf_splitq_recv_pkts;
 	idpf_splitq_xmit_pkts;
 	idpf_singleq_recv_pkts;
+	idpf_singleq_recv_scatter_pkts;
 	idpf_singleq_xmit_pkts;
 	idpf_prep_pkts;
 	idpf_singleq_rx_vec_setup;
diff a/drivers/net/idpf/idpf_rxtx.h b/drivers/net/idpf/idpf_rxtx.h	(rejected hunks)
@@ -23,6 +23,8 @@
 #define IDPF_DEFAULT_TX_RS_THRESH	32
 #define IDPF_DEFAULT_TX_FREE_THRESH	32
 
+#define IDPF_SUPPORT_CHAIN_NUM 5
+
 int idpf_rx_queue_setup(struct rte_eth_dev *dev, uint16_t queue_idx,
 			uint16_t nb_desc, unsigned int socket_id,
 			const struct rte_eth_rxconf *rx_conf,
Checking patch drivers/common/idpf/idpf_common_rxtx.c...
error: drivers/common/idpf/idpf_common_rxtx.c: does not exist in index
Checking patch drivers/common/idpf/idpf_common_device.h...
error: drivers/common/idpf/idpf_common_device.h: does not exist in index
Checking patch drivers/common/idpf/idpf_common_virtchnl.c...
error: drivers/common/idpf/idpf_common_virtchnl.c: does not exist in index
Checking patch drivers/net/idpf/idpf_ethdev.c...
error: drivers/net/idpf/idpf_ethdev.c: does not match index
Checking patch drivers/net/idpf/idpf_ethdev.h...
error: drivers/net/idpf/idpf_ethdev.h: does not match index
Checking patch drivers/net/idpf/idpf_ethdev.c...
error: drivers/net/idpf/idpf_ethdev.c: does not match index
Checking patch drivers/common/idpf/idpf_common_rxtx.c...
error: drivers/common/idpf/idpf_common_rxtx.c: does not exist in index
Checking patch drivers/common/idpf/idpf_common_rxtx.h...
error: drivers/common/idpf/idpf_common_rxtx.h: does not exist in index
Checking patch drivers/common/idpf/idpf_common_rxtx_avx512.c...
error: drivers/common/idpf/idpf_common_rxtx_avx512.c: does not exist in index
Checking patch drivers/net/idpf/idpf_ethdev.c...
error: drivers/net/idpf/idpf_ethdev.c: does not match index

https://lab.dpdk.org/results/dashboard/patchsets/24753/

UNH-IOL DPDK Community Lab

                 reply	other threads:[~2022-12-16 10:48 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=20221216104841.380E545F@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).