DPDK patches and discussions
 help / color / mirror / Atom feed
From: Andrew Rybchenko <arybchenko@solarflare.com>
To: Gaetan Rivet <gaetan.rivet@6wind.com>, <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v1 1/3] ethdev: remove detachable device flag
Date: Tue, 24 Oct 2017 12:13:49 +0300	[thread overview]
Message-ID: <91e231c8-369d-b631-d033-da25e3c218fd@solarflare.com> (raw)
In-Reply-To: <212303ac15d863bd6242bfd75b9056a3d36b95b4.1508833644.git.gaetan.rivet@6wind.com>

On 10/24/2017 11:59 AM, Gaetan Rivet wrote:
> This flag is not necessary at the ether layer anymore.
> Buses are able to advertize their hotplug support. The ether layer can
> rely upon this capability instead of a special flag.
>
> Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>

Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>

> ---
>   drivers/net/af_packet/rte_eth_af_packet.c |  1 -
>   drivers/net/ark/ark_ethdev.c              |  1 -
>   drivers/net/avp/avp_ethdev.c              |  2 --
>   drivers/net/bnxt/bnxt_ethdev.c            |  1 -
>   drivers/net/bonding/rte_eth_bond_pmd.c    |  3 +--
>   drivers/net/e1000/em_ethdev.c             |  1 -
>   drivers/net/e1000/igb_ethdev.c            |  2 --
>   drivers/net/fm10k/fm10k_ethdev.c          |  1 -
>   drivers/net/i40e/i40e_ethdev.c            |  1 -
>   drivers/net/i40e/i40e_ethdev_vf.c         |  1 -
>   drivers/net/ixgbe/ixgbe_ethdev.c          |  2 --
>   drivers/net/kni/rte_eth_kni.c             |  2 --
>   drivers/net/liquidio/lio_ethdev.c         |  1 -
>   drivers/net/mlx4/mlx4.c                   |  1 -
>   drivers/net/mlx5/mlx5.c                   |  1 -
>   drivers/net/nfp/nfp_net.c                 | 19 ++++++++++++++++---
>   drivers/net/null/rte_eth_null.c           |  2 --
>   drivers/net/pcap/rte_eth_pcap.c           |  1 -
>   drivers/net/ring/rte_eth_ring.c           |  1 -
>   drivers/net/sfc/sfc_ethdev.c              |  2 --
>   drivers/net/softnic/rte_eth_softnic.c     |  1 -
>   drivers/net/tap/rte_eth_tap.c             |  2 +-
>   drivers/net/vhost/rte_eth_vhost.c         |  3 +--
>   drivers/net/virtio/virtio_ethdev.c        |  1 -
>   drivers/net/virtio/virtio_user_ethdev.c   |  1 -
>   drivers/net/vmxnet3/vmxnet3_ethdev.c      |  1 -
>   lib/librte_ether/rte_ethdev.c             | 19 -------------------
>   lib/librte_ether/rte_ethdev.h             |  2 --
>   28 files changed, 19 insertions(+), 57 deletions(-)

<...>

> diff --git a/drivers/net/sfc/sfc_ethdev.c b/drivers/net/sfc/sfc_ethdev.c
> index bd09191..cd82b0d 100644
> --- a/drivers/net/sfc/sfc_ethdev.c
> +++ b/drivers/net/sfc/sfc_ethdev.c
> @@ -1791,8 +1791,6 @@ sfc_eth_dev_init(struct rte_eth_dev *dev)
>   	/* Copy PCI device info to the dev->data */
>   	rte_eth_copy_pci_info(dev, pci_dev);
>   
> -	dev->data->dev_flags |= RTE_ETH_DEV_DETACHABLE;
> -
>   	rc = sfc_kvargs_parse(sa);
>   	if (rc != 0)
>   		goto fail_kvargs_parse;

<...>

  reply	other threads:[~2017-10-24  9:13 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] Remove RTE_ETH_DEV_DETACHABLE 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 [this message]
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
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=91e231c8-369d-b631-d033-da25e3c218fd@solarflare.com \
    --to=arybchenko@solarflare.com \
    --cc=dev@dpdk.org \
    --cc=gaetan.rivet@6wind.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).