DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Gaetan Rivet <gaetan.rivet@6wind.com>, dev@dpdk.org
Cc: Ajit Khaparde <ajit.khaparde@broadcom.com>,
	Alejandro Lucero <alejandro.lucero@netronome.com>,
	Beilei Xing <beilei.xing@intel.com>,
	Bruce Richardson <bruce.richardson@intel.com>,
	Cristian Dumitrescu <cristian.dumitrescu@intel.com>,
	Declan Doherty <declan.doherty@intel.com>,
	Jing Chen <jing.d.chen@intel.com>,
	John Miller <john.miller@atomicrules.com>,
	"John W. Linville" <linville@tuxdriver.com>,
	Konstantin Ananyev <konstantin.ananyev@intel.com>,
	Matt Peters <matt.peters@windriver.com>,
	Nelio Laranjeiro <nelio.laranjeiro@6wind.com>,
	Pascal Mazon <pascal.mazon@6wind.com>,
	Shrikrishna Khare <skhare@vmware.com>,
	Srisivasubramanian Srinivasan <ssrinivasan@cavium.com>,
	Tetsuya Mukawa <mtetsuyah@gmail.com>,
	Wenzhuo Lu <wenzhuo.lu@intel.com>,
	Yongseok Koh <yskoh@mellanox.com>
Subject: Re: [dpdk-dev] [PATCH v2 0/6] Remove RTE_ETH_DEV_DETACHABLE
Date: Tue, 24 Oct 2017 16:56:42 -0700	[thread overview]
Message-ID: <946cf36f-796b-d00e-b583-2c2cf794df70@intel.com> (raw)
In-Reply-To: <cover.1508840456.git.gaetan.rivet@6wind.com>

On 10/24/2017 3:35 AM, Gaetan Rivet wrote:
> This flag was deprecated in the previous release, and this is its removal.

This change was in wait list, but it would be much more better if not received
just before rc2, but in early stages in the release, at worst before rc1.

Although patch looks good to me, getting ethdev layer update in rc2 is creating
some stress.

> We are going from an explicit support of device detach, to an implicit one,
> with specific checks in place for PMDs not supporting the feature.

Removing this flag implies all ethdev devices are detachable, right.
That is why you need to update error value handling in pci hotplug code, and
return error in nfp remove path, since there is no way to say not detachable.

> 
> Attempting to Cc all relevant maintainers:
> 
> Cc: Ajit Khaparde <ajit.khaparde@broadcom.com>
> Cc: Alejandro Lucero <alejandro.lucero@netronome.com>
> Cc: Beilei Xing <beilei.xing@intel.com>
> Cc: Bruce Richardson <bruce.richardson@intel.com>
> Cc: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
> Cc: Declan Doherty <declan.doherty@intel.com>
> Cc: Ferruh Yigit <ferruh.yigit@intel.com>
> Cc: Jing Chen <jing.d.chen@intel.com>
> Cc: John Miller <john.miller@atomicrules.com>
> Cc: John W. Linville <linville@tuxdriver.com>
> Cc: Konstantin Ananyev <konstantin.ananyev@intel.com>
> Cc: Matt Peters <matt.peters@windriver.com>
> Cc: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
> Cc: Pascal Mazon <pascal.mazon@6wind.com>
> Cc: Shrikrishna Khare <skhare@vmware.com>
> Cc: Srisivasubramanian Srinivasan <ssrinivasan@cavium.com>
> Cc: Tetsuya Mukawa <mtetsuyah@gmail.com>
> Cc: Wenzhuo Lu <wenzhuo.lu@intel.com>
> Cc: Yongseok Koh <yskoh@mellanox.com>
> 
> Sorry for any undue ML traffic going your way if you are not interested
> in this series.
> 
> I'd like to highlight Alejandro Lucero for the NFP PMD, as the patch is
> somewhat more involved for this PMD and I don't have the hardware available
> to validate the change.

Let's give one more day to Alejandro to comment on NFP update.

And others to comment on overall, if there is no objection include this into rc2.

> 
> v2:
> 
>   + Split ether patch:
>     First remove the use of the flag, then remove the flag
> 
>   + Restore RTE_ETH_DEV_BONDED_SLAVE check,
>     previously hastily removed along the DETACHABLE one.
> 
>   + Added release note, removed deprecation notice
> 
> Gaetan Rivet (6):
>   ethdev: do not rely on detachable flag in detach
>   ethdev: remove detachable device flag
>   pci: propagate PMD removal error value for unplug
>   doc: follow detachable flag disappearance
>   doc: update detachable flag deprecation notice
>   doc: note ether API change for detachable flag

<...>

  parent reply	other threads:[~2017-10-24 23:56 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-24  8:59 [dpdk-dev] [PATCH v1 0/3] " Gaetan Rivet
2017-10-24  8:59 ` [dpdk-dev] [PATCH v1 1/3] ethdev: remove detachable device flag Gaetan Rivet
2017-10-24  9:13   ` Andrew Rybchenko
2017-10-24  9:23   ` Thomas Monjalon
2017-10-24  9:27     ` Gaëtan Rivet
2017-10-24  8:59 ` [dpdk-dev] [PATCH v1 2/3] doc: follow detachable flag disappearance Gaetan Rivet
2017-10-25  8:55   ` Mcnamara, John
2017-10-25  8:56   ` Mcnamara, John
2017-10-24  8:59 ` [dpdk-dev] [PATCH v1 3/3] pci: propagate PMD removal error value for unplug Gaetan Rivet
2017-10-24 10:35 ` [dpdk-dev] [PATCH v2 0/6] Remove RTE_ETH_DEV_DETACHABLE Gaetan Rivet
2017-10-24 10:35   ` [dpdk-dev] [PATCH v2 1/6] ethdev: do not rely on detachable flag in detach Gaetan Rivet
2017-10-24 10:35     ` [dpdk-dev] [PATCH v2 2/6] ethdev: remove detachable device flag Gaetan Rivet
2017-10-24 10:35     ` [dpdk-dev] [PATCH v2 3/6] pci: propagate PMD removal error value for unplug Gaetan Rivet
2017-10-24 10:35     ` [dpdk-dev] [PATCH v2 4/6] doc: follow detachable flag disappearance Gaetan Rivet
2017-10-25  8:57       ` Mcnamara, John
2017-10-24 10:35     ` [dpdk-dev] [PATCH v2 5/6] doc: update detachable flag deprecation notice Gaetan Rivet
2017-10-25  9:03       ` Mcnamara, John
2017-10-24 10:35     ` [dpdk-dev] [PATCH v2 6/6] doc: note ether API change for detachable flag Gaetan Rivet
2017-10-25  8:58       ` Mcnamara, John
2017-10-25  9:01       ` Mcnamara, John
2017-10-24 12:35   ` [dpdk-dev] [PATCH v2 0/6] Remove RTE_ETH_DEV_DETACHABLE Thomas Monjalon
2017-10-25 17:37     ` Ferruh Yigit
2017-10-30  9:45       ` Alejandro Lucero
2017-10-31 11:09         ` Alejandro Lucero
2017-10-31 17:24           ` Ferruh Yigit
2017-10-24 23:56   ` Ferruh Yigit [this message]
2017-10-25 16:11     ` Ferruh Yigit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=946cf36f-796b-d00e-b583-2c2cf794df70@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=ajit.khaparde@broadcom.com \
    --cc=alejandro.lucero@netronome.com \
    --cc=beilei.xing@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=cristian.dumitrescu@intel.com \
    --cc=declan.doherty@intel.com \
    --cc=dev@dpdk.org \
    --cc=gaetan.rivet@6wind.com \
    --cc=jing.d.chen@intel.com \
    --cc=john.miller@atomicrules.com \
    --cc=konstantin.ananyev@intel.com \
    --cc=linville@tuxdriver.com \
    --cc=matt.peters@windriver.com \
    --cc=mtetsuyah@gmail.com \
    --cc=nelio.laranjeiro@6wind.com \
    --cc=pascal.mazon@6wind.com \
    --cc=skhare@vmware.com \
    --cc=ssrinivasan@cavium.com \
    --cc=wenzhuo.lu@intel.com \
    --cc=yskoh@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).