automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw130151-130154 [PATCH] [v2,4/4] net/cpfl: setup ctrl path
@ 2023-08-11 12:39 dpdklab
  0 siblings, 0 replies; only message in thread
From: dpdklab @ 2023-08-11 12:39 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

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

_apply patch failure_

Submitter: Wenjing Qiao <wenjing.qiao@intel.com>
Date: Friday, August 11 2023 10:00:17 
Applied on: CommitID:70b6941e4e22d67bc10495d1638234a7e974f582
Apply patch set 130151-130154 failed:

Checking patch drivers/net/cpfl/cpfl_ethdev.c...
Hunk #1 succeeded at 17 (offset -4 lines).
Hunk #2 succeeded at 28 (offset -5 lines).
error: while searching for:
	return 0;
}

static int
cpfl_parse_devargs(struct rte_pci_device *pci_dev, struct cpfl_adapter_ext *adapter, bool first)
{

error: patch failed: drivers/net/cpfl/cpfl_ethdev.c:1671
error: while searching for:
				 &adapter->base.is_rx_singleq);
	if (ret != 0)
		goto fail;

fail:
	rte_kvargs_free(kvlist);
	return ret;

error: patch failed: drivers/net/cpfl/cpfl_ethdev.c:1719
Checking patch drivers/net/cpfl/cpfl_ethdev.h...
error: while searching for:
#define ACC_LCE_ID	15
#define IMC_MBX_EFD_ID	0

struct cpfl_vport_param {
	struct cpfl_adapter_ext *adapter;
	uint16_t devarg_id; /* arg id from user */

error: patch failed: drivers/net/cpfl/cpfl_ethdev.h:87
error: while searching for:
	uint16_t req_vport_nb;
	uint8_t repr_args_num;
	struct rte_eth_devargs repr_args[CPFL_REPR_ARG_NUM_MAX];
};

struct p2p_queue_chunks_info {

error: patch failed: drivers/net/cpfl/cpfl_ethdev.h:100
Checking patch drivers/net/cpfl/meson.build...
Hunk #1 succeeded at 36 (offset -2 lines).
Applying patch drivers/net/cpfl/cpfl_ethdev.c with 2 rejects...
Hunk #1 applied cleanly.
Hunk #2 applied cleanly.
Rejected hunk #3.
Rejected hunk #4.
Applying patch drivers/net/cpfl/cpfl_ethdev.h with 2 rejects...
Rejected hunk #1.
Rejected hunk #2.
Applied patch drivers/net/cpfl/meson.build cleanly.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c	(rejected hunks)
@@ -1671,6 +1675,19 @@ parse_repr(const char *key __rte_unused, const char *value, void *args)
 	return 0;
 }
 
+#ifdef CPFL_FLOW_JSON_SUPPORT
+static int
+parse_parser_file(const char *key, const char *value, void *args)
+{
+	char *name = args;
+
+	PMD_DRV_LOG(DEBUG, "value:\"%s\" for key:\"%s\"", value, key);
+	strlcpy(name, value, CPFL_FLOW_FILE_LEN);
+
+	return 0;
+}
+#endif
+
 static int
 cpfl_parse_devargs(struct rte_pci_device *pci_dev, struct cpfl_adapter_ext *adapter, bool first)
 {
@@ -1719,7 +1736,18 @@ cpfl_parse_devargs(struct rte_pci_device *pci_dev, struct cpfl_adapter_ext *adap
 				 &adapter->base.is_rx_singleq);
 	if (ret != 0)
 		goto fail;
-
+#ifdef CPFL_FLOW_JSON_SUPPORT
+	if (rte_kvargs_get(kvlist, CPFL_FLOW_PARSER)) {
+		ret = rte_kvargs_process(kvlist, CPFL_FLOW_PARSER,
+					 &parse_parser_file, cpfl_args->flow_parser);
+		if (ret) {
+			PMD_DRV_LOG(ERR, "Failed to parser flow_parser, ret: %d", ret);
+			goto fail;
+		}
+	} else {
+		cpfl_args->flow_parser[0] = '\0';
+	}
+#endif
 fail:
 	rte_kvargs_free(kvlist);
 	return ret;
diff a/drivers/net/cpfl/cpfl_ethdev.h b/drivers/net/cpfl/cpfl_ethdev.h	(rejected hunks)
@@ -87,6 +87,8 @@
 #define ACC_LCE_ID	15
 #define IMC_MBX_EFD_ID	0
 
+#define CPFL_FLOW_FILE_LEN 100
+
 struct cpfl_vport_param {
 	struct cpfl_adapter_ext *adapter;
 	uint16_t devarg_id; /* arg id from user */
@@ -100,6 +102,7 @@ struct cpfl_devargs {
 	uint16_t req_vport_nb;
 	uint8_t repr_args_num;
 	struct rte_eth_devargs repr_args[CPFL_REPR_ARG_NUM_MAX];
+	char flow_parser[CPFL_FLOW_FILE_LEN];
 };
 
 struct p2p_queue_chunks_info {
Checking patch drivers/net/cpfl/cpfl_flow_parser.c...
Checking patch drivers/net/cpfl/cpfl_flow_parser.h...
Checking patch drivers/net/cpfl/meson.build...
error: drivers/net/cpfl/meson.build: does not match index
Applied patch drivers/net/cpfl/cpfl_flow_parser.c cleanly.
Applied patch drivers/net/cpfl/cpfl_flow_parser.h cleanly.
hint: Use 'git am --show-current-patch' to see the failed patch
Checking patch drivers/net/cpfl/cpfl_actions.h...
Checking patch drivers/net/cpfl/cpfl_controlq.c...
Checking patch drivers/net/cpfl/cpfl_controlq.h...
Checking patch drivers/net/cpfl/cpfl_rules.c...
Checking patch drivers/net/cpfl/cpfl_rules.h...
Checking patch drivers/net/cpfl/meson.build...
error: drivers/net/cpfl/meson.build: does not match index
Applied patch drivers/net/cpfl/cpfl_actions.h cleanly.
Applied patch drivers/net/cpfl/cpfl_controlq.c cleanly.
Applied patch drivers/net/cpfl/cpfl_controlq.h cleanly.
Applied patch drivers/net/cpfl/cpfl_rules.c cleanly.
Applied patch drivers/net/cpfl/cpfl_rules.h cleanly.
hint: Use 'git am --show-current-patch' to see the failed patch
Checking patch drivers/net/cpfl/cpfl_ethdev.c...
error: drivers/net/cpfl/cpfl_ethdev.c: does not match index
Checking patch drivers/net/cpfl/cpfl_ethdev.h...
error: while searching for:
#include "cpfl_logs.h"
#include "cpfl_cpchnl.h"
#include "cpfl_representor.h"

/* Currently, backend supports up to 8 vports */
#define CPFL_MAX_VPORT_NUM	8

error: patch failed: drivers/net/cpfl/cpfl_ethdev.h:22
error: while searching for:

#define CPFL_FLOW_FILE_LEN 100

struct cpfl_vport_param {
	struct cpfl_adapter_ext *adapter;
	uint16_t devarg_id; /* arg id from user */

error: patch failed: drivers/net/cpfl/cpfl_ethdev.h:89
error: while searching for:

	rte_spinlock_t repr_lock;
	struct rte_hash *repr_whitelist_hash;
};

TAILQ_HEAD(cpfl_adapter_list, cpfl_adapter_ext);

int cpfl_vport_info_create(struct cpfl_adapter_ext *adapter,
			   struct cpfl_vport_id *vport_identity,
			   struct cpchnl2_vport_info *vport_info);

error: patch failed: drivers/net/cpfl/cpfl_ethdev.h:216
Checking patch drivers/net/cpfl/cpfl_vchnl.c...
error: drivers/net/cpfl/cpfl_vchnl.c: does not exist in index
Applying patch drivers/net/cpfl/cpfl_ethdev.h with 3 rejects...
Rejected hunk #1.
Rejected hunk #2.
Rejected hunk #3.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/drivers/net/cpfl/cpfl_ethdev.h b/drivers/net/cpfl/cpfl_ethdev.h	(rejected hunks)
@@ -22,6 +22,7 @@
 #include "cpfl_logs.h"
 #include "cpfl_cpchnl.h"
 #include "cpfl_representor.h"
+#include "cpfl_controlq.h"
 
 /* Currently, backend supports up to 8 vports */
 #define CPFL_MAX_VPORT_NUM	8
@@ -89,6 +90,10 @@
 
 #define CPFL_FLOW_FILE_LEN 100
 
+#define CPFL_RX_CFGQ_NUM	4
+#define CPFL_TX_CFGQ_NUM	4
+#define CPFL_CFGQ_NUM		8
+
 struct cpfl_vport_param {
 	struct cpfl_adapter_ext *adapter;
 	uint16_t devarg_id; /* arg id from user */
@@ -216,10 +221,19 @@ struct cpfl_adapter_ext {
 
 	rte_spinlock_t repr_lock;
 	struct rte_hash *repr_whitelist_hash;
+
+	/* ctrl vport and ctrl queues. */
+	struct cpfl_vport ctrl_vport;
+	uint8_t ctrl_vport_recv_info[IDPF_DFLT_MBX_BUF_SIZE];
+	struct idpf_ctlq_info *ctlqp[CPFL_CFGQ_NUM];
+	struct cpfl_ctlq_create_info cfgq_info[CPFL_CFGQ_NUM];
 };
 
 TAILQ_HEAD(cpfl_adapter_list, cpfl_adapter_ext);
 
+int cpfl_vc_create_ctrl_vport(struct cpfl_adapter_ext *adapter);
+int cpfl_config_ctlq_rx(struct cpfl_adapter_ext *adapter);
+int cpfl_config_ctlq_tx(struct cpfl_adapter_ext *adapter);
 int cpfl_vport_info_create(struct cpfl_adapter_ext *adapter,
 			   struct cpfl_vport_id *vport_identity,
 			   struct cpchnl2_vport_info *vport_info);

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

UNH-IOL DPDK Community Lab

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-11 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-11 12:39 |WARNING| pw130151-130154 [PATCH] [v2,4/4] net/cpfl: setup ctrl path 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).