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 E0333A034F; Tue, 12 Oct 2021 04:54:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 69191410E1; Tue, 12 Oct 2021 04:54:19 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 08FFF410E0 for ; Tue, 12 Oct 2021 04:54:17 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10134"; a="226921903" X-IronPort-AV: E=Sophos;i="5.85,366,1624345200"; d="scan'208";a="226921903" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2021 19:54:16 -0700 X-IronPort-AV: E=Sophos;i="5.85,366,1624345200"; d="scan'208";a="480118303" Received: from dpdk.cd.intel.com ([10.240.178.133]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2021 19:54:14 -0700 From: Jie Wang To: dev@dpdk.org Cc: ferruh.yigit@intel.com, thomas@monjalon.net, andrew.rybchenko@oktetlabs.ru, xiaoyun.li@intel.com, stevex.yang@intel.com, Jie Wang Date: Tue, 12 Oct 2021 10:54:15 +0800 Message-Id: <20211012025417.134866-1-jie1x.wang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211011180111.99281-1-jie1x.wang@intel.com> References: <20211011180111.99281-1-jie1x.wang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v12 0/2] testpmd shows incorrect rx_offload configuration 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 Sender: "dev" Launch testpmd with multiple queues, and check rx_offload info. When testpmd shows the port configuration, it doesn't show RSS_HASH. --- v12: update the commit log and the API comment. v11: - update the commit log. - rename the function and variable name. v10: - update the commit log. - merge the first two patches. - rename the new API name. v9: - add a release notes update for the new API. - update the description of the new API. - optimize the new API. - optimize the assignment of the offloads. v8: delete "rte_exit" and just print error log. v7: - delete struct "rte_eth_dev_conf_info", and reuse struct "rte_eth_conf". - add "__rte_experimental" to the new API "rte_eth_dev_conf_info_get" declaration. v6: split this patch into two patches. v5: add an API to get device configuration info. v4: delete the whitespace at the end of the line. v3: - check and update the "offloads" of "port->dev_conf.rx/txmode". - update the commit log. v2: copy "rx/txmode.offloads", instead of copying the entire struct "dev->data->dev_conf.rx/txmode". Jie Wang (2): ethdev: add an API to get device configuration app/testpmd: fix testpmd doesn't show RSS hash offload app/test-pmd/cmdline.c | 14 +++++++++-- app/test-pmd/testpmd.c | 33 ++++++++++++++++++++++++++ app/test-pmd/testpmd.h | 2 ++ app/test-pmd/util.c | 14 +++++++++++ doc/guides/rel_notes/release_21_11.rst | 4 ++++ lib/ethdev/rte_ethdev.c | 20 ++++++++++++++++ lib/ethdev/rte_ethdev.h | 20 ++++++++++++++++ lib/ethdev/version.map | 3 +++ 8 files changed, 108 insertions(+), 2 deletions(-) -- 2.25.1