From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DF5EF42D94; Fri, 30 Jun 2023 12:33:06 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B45FB406B6; Fri, 30 Jun 2023 12:33:06 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 0E381406B5 for ; Fri, 30 Jun 2023 12:33:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688121185; x=1719657185; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=6Y6XA/yVXSOIWbKQHSwUowx55TVMMe9JX4xex0sHDkI=; b=G4sS0yiXxIfzlCYlqyxeN+HJYK0vvDUOvxz6RIu0l5eEFWLjWLnxYuzh wbOUDHKdEs5dREeyTIa3WuoPfFp/ekHD6/58SPjrGQofVHvfFziRXVoAD A6QZCtrFr5R6cHq9GplSfAJSc5XuNSm/MKiOWY3O9kYEQ15p0oxiDeEho rwSjAFRwRToCxwxPHp5GCixYQ7ox97cPW8n0YBwjBsllhZCuT9qDvB9aX pPPP7LfYn4UfnLos/m/fkRO1RQfpA9IaaYgsNOeVdafUmWkGWZIA79Mcm 6dhgRRHdc1NMBqJpeMFBm0WfGgsz9u/vxNS6IF/6/zpMUIiH0yumcQ9X2 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10756"; a="359844653" X-IronPort-AV: E=Sophos;i="6.01,170,1684825200"; d="scan'208";a="359844653" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2023 03:33:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10756"; a="694976027" X-IronPort-AV: E=Sophos;i="6.01,170,1684825200"; d="scan'208";a="694976027" Received: from dpdk-mingxial-ice.sh.intel.com ([10.67.110.210]) by orsmga006.jf.intel.com with ESMTP; 30 Jun 2023 03:33:01 -0700 From: Mingxia Liu To: dev@dpdk.org Cc: jingjing.wu@intel.com, beilei.xing@intel.com, Mingxia Liu Subject: [PATCH v2] net/idpf: refine vport parameter string Date: Fri, 30 Jun 2023 18:51:36 +0000 Message-Id: <20230630185136.13269-1-mingxia.liu@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230626140626.490896-1-mingxia.liu@intel.com> References: <20230626140626.490896-1-mingxia.liu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patch refines 'IDPF_VPORT' param string in 'RTE_PMD_REGISTER_PARAM_STRING'. Signed-off-by: Mingxia Liu --- drivers/net/idpf/idpf_ethdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c index 6d9a53c94c..75b4f301ab 100644 --- a/drivers/net/idpf/idpf_ethdev.c +++ b/drivers/net/idpf/idpf_ethdev.c @@ -1472,9 +1472,9 @@ RTE_PMD_REGISTER_PCI(net_idpf, rte_idpf_pmd); RTE_PMD_REGISTER_PCI_TABLE(net_idpf, pci_id_idpf_map); RTE_PMD_REGISTER_KMOD_DEP(net_idpf, "* igb_uio | vfio-pci"); RTE_PMD_REGISTER_PARAM_STRING(net_idpf, - IDPF_TX_SINGLE_Q "=<0|1> " - IDPF_RX_SINGLE_Q "=<0|1> " - IDPF_VPORT "=[vport_set0,[vport_set1],...]"); + IDPF_TX_SINGLE_Q "=<0|1> " + IDPF_RX_SINGLE_Q "=<0|1> " + IDPF_VPORT "=[[-][,[-]][, ... ]]"); RTE_LOG_REGISTER_SUFFIX(idpf_logtype_init, init, NOTICE); RTE_LOG_REGISTER_SUFFIX(idpf_logtype_driver, driver, NOTICE); -- 2.34.1