DPDK patches and discussions
 help / color / mirror / Atom feed
From: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] cxgbe: explictly mark this as pci_driver
Date: Thu, 3 Dec 2015 12:36:47 +0530	[thread overview]
Message-ID: <20151203070645.GA8269@scalar.blr.asicdesigners.com> (raw)
In-Reply-To: <1449094578-1562-1-git-send-email-stephen@networkplumber.org>

On Wednesday, December 12/02/15, 2015 at 14:16:18 -0800, Stephen Hemminger wrote:
> The upcoming Hyper-V driver converts the pci_drv element
> in struct eth_driver to a union.  When vmbus is added the
> pci_drv needs to be explicit. Easier to fix the issue
> ahead of time.
> 
> This is backwards compatiable with previous code.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  drivers/net/cxgbe/cxgbe_ethdev.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c b/drivers/net/cxgbe/cxgbe_ethdev.c
> index ec5d22b..97ef152 100644
> --- a/drivers/net/cxgbe/cxgbe_ethdev.c
> +++ b/drivers/net/cxgbe/cxgbe_ethdev.c
> @@ -847,7 +847,7 @@ out_free_adapter:
>  }
>  
>  static struct eth_driver rte_cxgbe_pmd = {
> -	{
> +	.pci_drv = {
>  		.name = "rte_cxgbe_pmd",
>  		.id_table = cxgb4_pci_tbl,
>  		.drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC,
> -- 
> 2.1.4
> 

Acked-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>

  reply	other threads:[~2015-12-03  7:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-02 22:16 Stephen Hemminger
2015-12-03  7:06 ` Rahul Lakkireddy [this message]
2015-12-06 21:40   ` Thomas Monjalon

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=20151203070645.GA8269@scalar.blr.asicdesigners.com \
    --to=rahul.lakkireddy@chelsio.com \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.org \
    /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).