DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Nélio Laranjeiro" <nelio.laranjeiro@6wind.com>
To: Shahaf Shuler <shahafs@mellanox.com>
Cc: adrien.mazarguil@6wind.com, yskoh@mellanox.com, dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] net/mlx5: add bluefield device ID
Date: Mon, 26 Feb 2018 09:11:20 +0100	[thread overview]
Message-ID: <20180226081120.6q5y3d2uymmk36dt@laranjeiro-vm.dev.6wind.com> (raw)
In-Reply-To: <20180225072049.85144-1-shahafs@mellanox.com>

On Sun, Feb 25, 2018 at 09:20:49AM +0200, Shahaf Shuler wrote:
> Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
> ---
>  drivers/net/mlx5/mlx5.c | 4 ++++
>  drivers/net/mlx5/mlx5.h | 1 +
>  2 files changed, 5 insertions(+)
> 
> diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c
> index 61cb93101..5345bc46f 100644
> --- a/drivers/net/mlx5/mlx5.c
> +++ b/drivers/net/mlx5/mlx5.c
> @@ -1027,6 +1027,10 @@ static const struct rte_pci_id mlx5_pci_id_map[] = {
>  			       PCI_DEVICE_ID_MELLANOX_CONNECTX5EXVF)
>  	},
>  	{
> +		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
> +			       PCI_DEVICE_ID_MELLANOX_BLUEFIELD)
> +	},
> +	{
>  		.vendor_id = 0
>  	}
>  };
> diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h
> index 3e2d96abc..1c9845503 100644
> --- a/drivers/net/mlx5/mlx5.h
> +++ b/drivers/net/mlx5/mlx5.h
> @@ -49,6 +49,7 @@ enum {
>  	PCI_DEVICE_ID_MELLANOX_CONNECTX5VF = 0x1018,
>  	PCI_DEVICE_ID_MELLANOX_CONNECTX5EX = 0x1019,
>  	PCI_DEVICE_ID_MELLANOX_CONNECTX5EXVF = 0x101a,
> +	PCI_DEVICE_ID_MELLANOX_BLUEFIELD = 0xa2d2,
>  };
>  
>  struct mlx5_xstats_ctrl {
> -- 
> 2.12.0

Please also update:

 - config/common_base
 - doc/guides/nics/mlx5.rst
 - doc/guides/rel_notes/release_18_05.rst

In the same commit, as it was done for
commit 528a9fbec6de ("net/mlx5: support ConnectX-5 devices")

Thanks,

-- 
Nélio Laranjeiro
6WIND

  reply	other threads:[~2018-02-26  8:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-25  7:20 Shahaf Shuler
2018-02-26  8:11 ` Nélio Laranjeiro [this message]
2018-05-15  6:12 ` [dpdk-dev] [PATCH v2] " Shahaf Shuler
2018-05-15  9:28   ` Nélio Laranjeiro
2018-05-15 10:00     ` Shahaf Shuler
2018-05-17 10:48     ` Ferruh Yigit
2018-05-17 12:36       ` Shahaf Shuler

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=20180226081120.6q5y3d2uymmk36dt@laranjeiro-vm.dev.6wind.com \
    --to=nelio.laranjeiro@6wind.com \
    --cc=adrien.mazarguil@6wind.com \
    --cc=dev@dpdk.org \
    --cc=shahafs@mellanox.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).