Message ID | 20210915030959.59245-1-robinx.zhang@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 8F25DA0C45; Wed, 15 Sep 2021 05:23:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0E1D44014F; Wed, 15 Sep 2021 05:23:29 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 5E42D4003C for <dev@dpdk.org>; Wed, 15 Sep 2021 05:23:27 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10107"; a="209289693" X-IronPort-AV: E=Sophos;i="5.85,294,1624345200"; d="scan'208";a="209289693" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2021 20:23:26 -0700 X-IronPort-AV: E=Sophos;i="5.85,294,1624345200"; d="scan'208";a="552825942" Received: from unknown (HELO intel-npg-odc-srv03.cd.intel.com) ([10.240.178.145]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2021 20:23:23 -0700 From: Robin Zhang <robinx.zhang@intel.com> To: dev@dpdk.org Cc: haiyue.wang@intel.com, beilei.xing@intel.com, mdr@ashroe.eu, jingjing.wu@intel.com, anatoly.burakov@intel.com, qi.z.zhang@intel.com, junfeng.guo@intel.com, stevex.yang@intel.com, Robin Zhang <robinx.zhang@intel.com> Date: Wed, 15 Sep 2021 03:09:56 +0000 Message-Id: <20210915030959.59245-1-robinx.zhang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210830031215.557238-1-robinx.zhang@intel.com> References: <20210830031215.557238-1-robinx.zhang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v5 0/3] net/i40e: remove i40evf 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 Sender: "dev" <dev-bounces@dpdk.org> |
Series |
net/i40e: remove i40evf
|
|
Message
Robin Zhang
Sept. 15, 2021, 3:09 a.m. UTC
In DPDK 21.05, iavf already became the default VF for i40e devices. So remove i40evf due to it's no need to maintain now. v5: - rebase code. v4: - resolve compile warning issue. v3: - remove VF related code in i40e_rxtx.c. v2: - update 21.11 release note, remove some missed documentation. Robin Zhang (3): net/i40e: remove i40evf net/iavf: remove i40evf devargs option doc: remove i40evf related documentation doc/guides/howto/lm_bond_virtio_sriov.rst | 4 +- doc/guides/nics/intel_vf.rst | 8 +- doc/guides/rel_notes/deprecation.rst | 8 - doc/guides/rel_notes/release_21_11.rst | 2 + drivers/net/i40e/i40e_ethdev.h | 1 - drivers/net/i40e/i40e_ethdev_vf.c | 3006 --------------------- drivers/net/i40e/i40e_rxtx.c | 50 +- drivers/net/i40e/meson.build | 1 - drivers/net/i40e/rte_pmd_i40e.c | 9 +- drivers/net/iavf/iavf_ethdev.c | 52 +- 10 files changed, 26 insertions(+), 3115 deletions(-) delete mode 100644 drivers/net/i40e/i40e_ethdev_vf.c
Comments
> -----Original Message----- > From: Zhang, RobinX <robinx.zhang@intel.com> > Sent: Wednesday, September 15, 2021 11:10 AM > To: dev@dpdk.org > Cc: Wang, Haiyue <haiyue.wang@intel.com>; Xing, Beilei > <beilei.xing@intel.com>; mdr@ashroe.eu; Wu, Jingjing > <jingjing.wu@intel.com>; Burakov, Anatoly <anatoly.burakov@intel.com>; > Zhang, Qi Z <qi.z.zhang@intel.com>; Guo, Junfeng <junfeng.guo@intel.com>; > Yang, SteveX <stevex.yang@intel.com>; Zhang, RobinX > <robinx.zhang@intel.com> > Subject: [PATCH v5 0/3] net/i40e: remove i40evf > > In DPDK 21.05, iavf already became the default VF for i40e devices. > So remove i40evf due to it's no need to maintain now. > > v5: > - rebase code. > > v4: > - resolve compile warning issue. > > v3: > - remove VF related code in i40e_rxtx.c. > > v2: > - update 21.11 release note, remove some missed documentation. > > Robin Zhang (3): > net/i40e: remove i40evf > net/iavf: remove i40evf devargs option > doc: remove i40evf related documentation > > doc/guides/howto/lm_bond_virtio_sriov.rst | 4 +- > doc/guides/nics/intel_vf.rst | 8 +- > doc/guides/rel_notes/deprecation.rst | 8 - > doc/guides/rel_notes/release_21_11.rst | 2 + > drivers/net/i40e/i40e_ethdev.h | 1 - > drivers/net/i40e/i40e_ethdev_vf.c | 3006 --------------------- > drivers/net/i40e/i40e_rxtx.c | 50 +- > drivers/net/i40e/meson.build | 1 - > drivers/net/i40e/rte_pmd_i40e.c | 9 +- > drivers/net/iavf/iavf_ethdev.c | 52 +- > 10 files changed, 26 insertions(+), 3115 deletions(-) delete mode 100644 > drivers/net/i40e/i40e_ethdev_vf.c > > -- > 2.25.1 Acked-by: Qi Zhang <qi.z.zhang@intel.com> Applied to dpdk-next-net-intel. Thanks Qi
On 9/15/2021 4:09 AM, Robin Zhang wrote: > In DPDK 21.05, iavf already became the default VF for i40e devices. > So remove i40evf due to it's no need to maintain now. > > v5: > - rebase code. > > v4: > - resolve compile warning issue. > > v3: > - remove VF related code in i40e_rxtx.c. > > v2: > - update 21.11 release note, remove some missed documentation. > > Robin Zhang (3): > net/i40e: remove i40evf > net/iavf: remove i40evf devargs option > doc: remove i40evf related documentation > Just to double check, searching 'i40evf' within driver still yields some results [1]. Is this expected? Why they should remain? Thanks, ferruh [1] git grep -i i40evf drivers/net/
Hi, Ferruh > -----Original Message----- > From: Yigit, Ferruh <ferruh.yigit@intel.com> > Sent: Friday, September 17, 2021 12:28 AM > To: Zhang, RobinX <robinx.zhang@intel.com>; dev@dpdk.org > Cc: Wang, Haiyue <haiyue.wang@intel.com>; Xing, Beilei > <beilei.xing@intel.com>; mdr@ashroe.eu; Wu, Jingjing > <jingjing.wu@intel.com>; Burakov, Anatoly <anatoly.burakov@intel.com>; > Zhang, Qi Z <qi.z.zhang@intel.com>; Guo, Junfeng <junfeng.guo@intel.com>; > Yang, SteveX <stevex.yang@intel.com> > Subject: Re: [dpdk-dev] [PATCH v5 0/3] net/i40e: remove i40evf > > On 9/15/2021 4:09 AM, Robin Zhang wrote: > > In DPDK 21.05, iavf already became the default VF for i40e devices. > > So remove i40evf due to it's no need to maintain now. > > > > v5: > > - rebase code. > > > > v4: > > - resolve compile warning issue. > > > > v3: > > - remove VF related code in i40e_rxtx.c. > > > > v2: > > - update 21.11 release note, remove some missed documentation. > > > > Robin Zhang (3): > > net/i40e: remove i40evf > > net/iavf: remove i40evf devargs option > > doc: remove i40evf related documentation > > > > Just to double check, searching 'i40evf' within driver still yields some results > [1]. Is this expected? Why they should remain? git grep -i i40evf drivers/net/: i40e/base/i40e_osdep.h:#define I40EVF_WRITE_FLUSH(a) I40E_READ_REG(a, I40E_VFGEN_RSTAT) This macro is defined in i40e share code. i40e/i40e_ethdev.h:/* I40EVF_DEV_PRIVATE_TO */ i40e/i40e_ethdev.h:#define I40EVF_DEV_PRIVATE_TO_VF(adapter) \ i40e/i40e_ethdev.h: struct i40e_vf *vf = I40EVF_DEV_PRIVATE_TO_VF(adapter); This is a helper function "i40e_get_vsi_from_adapter", we still keep the i40e_vf member in i40e_adapter structure for some future possibilities. i40e/i40e_vf_representor.c:i40evf_stat_update_48(uint64_t *offset, i40e/i40e_vf_representor.c:i40evf_stat_update_32(uint64_t *offset, i40e/i40e_vf_representor.c: i40evf_stat_update_48( i40e/i40e_vf_representor.c: i40evf_stat_update_48( i40e/i40e_vf_representor.c: i40evf_stat_update_48( i40e/i40e_vf_representor.c: i40evf_stat_update_48( i40e/i40e_vf_representor.c: i40evf_stat_update_32( i40e/i40e_vf_representor.c: i40evf_stat_update_32( i40e/i40e_vf_representor.c: i40evf_stat_update_48( i40e/i40e_vf_representor.c: i40evf_stat_update_48( i40e/i40e_vf_representor.c: i40evf_stat_update_48( i40e/i40e_vf_representor.c: i40evf_stat_update_48( i40e/i40e_vf_representor.c: i40evf_stat_update_32( i40e/i40e_vf_representor.c: i40evf_stat_update_32( These are ops for VF representor ports of i40e > > > Thanks, > ferruh > > > [1] > git grep -i i40evf drivers/net/
On 9/17/2021 2:55 AM, Zhang, RobinX wrote: > Hi, Ferruh > >> -----Original Message----- >> From: Yigit, Ferruh <ferruh.yigit@intel.com> >> Sent: Friday, September 17, 2021 12:28 AM >> To: Zhang, RobinX <robinx.zhang@intel.com>; dev@dpdk.org >> Cc: Wang, Haiyue <haiyue.wang@intel.com>; Xing, Beilei >> <beilei.xing@intel.com>; mdr@ashroe.eu; Wu, Jingjing >> <jingjing.wu@intel.com>; Burakov, Anatoly <anatoly.burakov@intel.com>; >> Zhang, Qi Z <qi.z.zhang@intel.com>; Guo, Junfeng <junfeng.guo@intel.com>; >> Yang, SteveX <stevex.yang@intel.com> >> Subject: Re: [dpdk-dev] [PATCH v5 0/3] net/i40e: remove i40evf >> >> On 9/15/2021 4:09 AM, Robin Zhang wrote: >>> In DPDK 21.05, iavf already became the default VF for i40e devices. >>> So remove i40evf due to it's no need to maintain now. >>> >>> v5: >>> - rebase code. >>> >>> v4: >>> - resolve compile warning issue. >>> >>> v3: >>> - remove VF related code in i40e_rxtx.c. >>> >>> v2: >>> - update 21.11 release note, remove some missed documentation. >>> >>> Robin Zhang (3): >>> net/i40e: remove i40evf >>> net/iavf: remove i40evf devargs option >>> doc: remove i40evf related documentation >>> >> >> Just to double check, searching 'i40evf' within driver still yields some results >> [1]. Is this expected? Why they should remain? > > git grep -i i40evf drivers/net/: > > i40e/base/i40e_osdep.h:#define I40EVF_WRITE_FLUSH(a) I40E_READ_REG(a, I40E_VFGEN_RSTAT) > This macro is defined in i40e share code. > > i40e/i40e_ethdev.h:/* I40EVF_DEV_PRIVATE_TO */ > i40e/i40e_ethdev.h:#define I40EVF_DEV_PRIVATE_TO_VF(adapter) \ > i40e/i40e_ethdev.h: struct i40e_vf *vf = I40EVF_DEV_PRIVATE_TO_VF(adapter); > This is a helper function "i40e_get_vsi_from_adapter", we still keep the i40e_vf member in i40e_adapter structure for some future possibilities. > What do you mean by "future possibilities"? > i40e/i40e_vf_representor.c:i40evf_stat_update_48(uint64_t *offset, > i40e/i40e_vf_representor.c:i40evf_stat_update_32(uint64_t *offset, > i40e/i40e_vf_representor.c: i40evf_stat_update_48( > i40e/i40e_vf_representor.c: i40evf_stat_update_48( > i40e/i40e_vf_representor.c: i40evf_stat_update_48( > i40e/i40e_vf_representor.c: i40evf_stat_update_48( > i40e/i40e_vf_representor.c: i40evf_stat_update_32( > i40e/i40e_vf_representor.c: i40evf_stat_update_32( > i40e/i40e_vf_representor.c: i40evf_stat_update_48( > i40e/i40e_vf_representor.c: i40evf_stat_update_48( > i40e/i40e_vf_representor.c: i40evf_stat_update_48( > i40e/i40e_vf_representor.c: i40evf_stat_update_48( > i40e/i40e_vf_representor.c: i40evf_stat_update_32( > i40e/i40e_vf_representor.c: i40evf_stat_update_32( > These are ops for VF representor ports of i40e > >> >> >> Thanks, >> ferruh >> >> >> [1] >> git grep -i i40evf drivers/net/