[v3,0/2] refine common module
Message ID | 20230404124112.71703-1-beilei.xing@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1CBBB428CD; Tue, 4 Apr 2023 15:03:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 055AE410FB; Tue, 4 Apr 2023 15:03:45 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 633FA40A7E for <dev@dpdk.org>; Tue, 4 Apr 2023 15:03:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680613423; x=1712149423; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=T6LRijohQ4I8X49yXB/HNCtpQmZUvR18VLdOnmkxQic=; b=R8Ybj39AUvNBoSYNmbP3lNKzOiQLfozWNqLEau0eg2BIyGh3xk6gcme0 lBoGP1HING/MQevzYINlIVDPXoObiib9VhinkqWxkO075yew8ESH3dUtj ItMTS6iAKgjq4kydwNVn136PLp0R8XXFKswVM5GdZmaKpM/qYrXzFxnnY 8vhyphp64f0Ob1mS2k86UWcDikhYKVw9/rhL0eovuvRDyO0YWEFy0MJVP +izc9em+OdsysffMlgxHY4c9ik+XHmZTzmti2QrSomVEae7BNVRZkPI/p dM2VVLZ9+ivQ+ZHsNy1EBqKr8IOM2fM4ISiPLzllJfkkhlR0TLVNcRwWH A==; X-IronPort-AV: E=McAfee;i="6600,9927,10670"; a="344739403" X-IronPort-AV: E=Sophos;i="5.98,317,1673942400"; d="scan'208";a="344739403" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Apr 2023 06:03:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10670"; a="810229618" X-IronPort-AV: E=Sophos;i="5.98,317,1673942400"; d="scan'208";a="810229618" Received: from dpdk-beileix-3.sh.intel.com ([10.67.110.253]) by orsmga004.jf.intel.com with ESMTP; 04 Apr 2023 06:03:41 -0700 From: beilei.xing@intel.com To: jingjing.wu@intel.com Cc: dev@dpdk.org, Beilei Xing <beilei.xing@intel.com> Subject: [PATCH v3 0/2] refine common module Date: Tue, 4 Apr 2023 12:41:10 +0000 Message-Id: <20230404124112.71703-1-beilei.xing@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20230321070703.80689-1-beilei.xing@intel.com> References: <20230321070703.80689-1-beilei.xing@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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Message
Xing, Beilei
April 4, 2023, 12:41 p.m. UTC
From: Beilei Xing <beilei.xing@intel.com>
Refine common module to support different configuration for
different PMDs.
V3 changes:
- refine capability get.
Beilei Xing (2):
common/idpf: move PF specific functions from common init
common/idpf: refine capability get
drivers/common/idpf/idpf_common_device.c | 72 +++--------------
drivers/common/idpf/idpf_common_device.h | 11 +++
drivers/common/idpf/idpf_common_virtchnl.c | 45 +----------
drivers/common/idpf/version.map | 5 ++
drivers/net/cpfl/cpfl_ethdev.c | 92 ++++++++++++++++++++++
drivers/net/idpf/idpf_ethdev.c | 91 +++++++++++++++++++++
6 files changed, 215 insertions(+), 101 deletions(-)