public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Ajit Khaparde <ajit.khaparde@emulex.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net-next 1/5] be2net: add rxhash support
Date: Thu, 07 Apr 2011 07:05:25 +0200	[thread overview]
Message-ID: <1302152725.2701.60.camel@edumazet-laptop> (raw)
In-Reply-To: <20110407040743.GA4183@akhaparde-VBox>

Le mercredi 06 avril 2011 à 23:07 -0500, Ajit Khaparde a écrit :
> Add rxhash support,
> Based on initial work by Eric Dumazet.
> 
> Cc: Eric Dumazet <eric.dumazet@gmail.com>
> Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
> ---
>  drivers/net/benet/be.h         |    5 +++++
>  drivers/net/benet/be_ethtool.c |   13 +++++++++++++
>  drivers/net/benet/be_main.c    |   17 ++++++++++++-----
>  3 files changed, 30 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/net/benet/be.h b/drivers/net/benet/be.h
> index 0899d91..8941b98 100644
> --- a/drivers/net/benet/be.h
> +++ b/drivers/net/benet/be.h
> @@ -485,6 +485,11 @@ static inline void be_vf_eth_addr_generate(struct be_adapter *adapter, u8 *mac)
>  	memcpy(mac, adapter->netdev->dev_addr, 3);
>  }
>  
> +static inline bool be_multi_rxq(struct be_adapter *adapter)

static inline bool be_multi_rxq(const struct be_adapter *adapter)


> +{
> +	return (adapter->num_rx_qs > 1);

	return adapter->num_rx_qs > 1;

> +}
> +

Other parts seems fine, thanks !



  reply	other threads:[~2011-04-07  5:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07  4:07 [PATCH net-next 1/5] be2net: add rxhash support Ajit Khaparde
2011-04-07  5:05 ` Eric Dumazet [this message]
2011-04-07 19:57   ` Ajit.Khaparde
2011-04-07 20:11     ` David Miller

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=1302152725.2701.60.camel@edumazet-laptop \
    --to=eric.dumazet@gmail.com \
    --cc=ajit.khaparde@emulex.com \
    --cc=netdev@vger.kernel.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