From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id C50FC1B1BD for ; Mon, 2 Oct 2017 11:39:54 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Oct 2017 02:39:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,468,1500966000"; d="scan'208";a="141665262" Received: from silpixa00389036.ir.intel.com (HELO silpixa00389036.ger.corp.intel.com) ([10.237.223.231]) by orsmga002.jf.intel.com with ESMTP; 02 Oct 2017 02:39:52 -0700 From: Kirill Rybalchenko To: dev@dpdk.org Cc: kirill.rybalchenko@intel.com, andrey.chilikin@intel.com, beilei.xing@intel.com, jingjing.wu@intel.com Date: Mon, 2 Oct 2017 10:39:47 +0100 Message-Id: <1506937189-136977-1-git-send-email-kirill.rybalchenko@intel.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1506605599-31693-1-git-send-email-kirill.rybalchenko@intel.com> References: <1506605599-31693-1-git-send-email-kirill.rybalchenko@intel.com> Subject: [dpdk-dev] [PATCH v7 0/2] net/i40e: get information about protocols defined in ddp profile X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 09:39:55 -0000 This patch adds ability to request information about protocols defined in dynamic device personalization profile v2: Some code style warnings were removed v3: info_size parameter always represents size of the info buffer in bytes; fix code style; v4: another code style fixes v5: in testpmd buff_size parameter in rte_pmd_i40e_get_ddp_info function call always represents buffer size in bytes v6: fix bug with wrong usage of buff_size parameter v7: change misleading variable names, change order of checking variable for zero value Kirill Rybalchenko (2): net/i40e: get information about protocols defined in ddp profile app/testpmd: get information about protocols defined in ddp profile app/test-pmd/cmdline.c | 120 ++++++++++++++++++++++++++-- drivers/net/i40e/rte_pmd_i40e.c | 172 ++++++++++++++++++++++++++++++++++++++++ drivers/net/i40e/rte_pmd_i40e.h | 25 ++++++ 3 files changed, 310 insertions(+), 7 deletions(-) -- 2.5.5