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 7CE2F428D7; Thu, 6 Apr 2023 10:05:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1A61C42C24; Thu, 6 Apr 2023 10:05:31 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 8317A40DF6 for ; Thu, 6 Apr 2023 10:05:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680768329; x=1712304329; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=EpTp5XR5bYBtxGXd/THi1NtYsKwfacRoI2kH1OcWpag=; b=GjfTWbiF7QWCrjqXJTl20f2ZA0hmOp6Y54hMrJnpQFLMqxAWSzYIkjTT u0l9pL4WBOOSSRq3Hd3gf5kN7EkSjUP/0HkyrmhvUdw0sGzjn0CkaQLJO RzTzpjiPCEpg+YGWn9jjw6PyU7dIDjt02vdaMxIZ02hSi8TrFBX4jt/jO KCtlubCLWrJhSeFShixloK88RK106rfsl6YEOsvoCJ4EPhpSgzRNTh1TI kEXdYp3LV3c3T+VdmircrZVFwu/o/WH1gCcdKmN32skQyjhADnzBctq5e QrcSdElCe67jj+VuTNCVI1g/ra84ZpTqHOePokHF/sPhBU7AJJopi7gA9 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10671"; a="345272369" X-IronPort-AV: E=Sophos;i="5.98,323,1673942400"; d="scan'208";a="345272369" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2023 01:05:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10671"; a="664358420" X-IronPort-AV: E=Sophos;i="5.98,323,1673942400"; d="scan'208";a="664358420" Received: from dpdk-beileix-3.sh.intel.com ([10.67.110.253]) by orsmga006.jf.intel.com with ESMTP; 06 Apr 2023 01:05:27 -0700 From: beilei.xing@intel.com To: jingjing.wu@intel.com Cc: dev@dpdk.org, Beilei Xing Subject: [PATCH v4 0/2] refine common module Date: Thu, 6 Apr 2023 07:42:43 +0000 Message-Id: <20230406074245.82991-1-beilei.xing@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20230404124112.71703-1-beilei.xing@intel.com> References: <20230404124112.71703-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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Beilei Xing Refine common module to support different configuration for different PMDs. V4 changes: - No need to require PTP CAP for CPFL. 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 | 91 ++++++++++++++++++++++ drivers/net/idpf/idpf_ethdev.c | 91 ++++++++++++++++++++++ 6 files changed, 214 insertions(+), 101 deletions(-) -- 2.26.2