[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1302152725.2701.60.camel@edumazet-laptop>
Date: Thu, 07 Apr 2011 07:05:25 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Ajit Khaparde <ajit.khaparde@...lex.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next 1/5] be2net: add rxhash support
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@...il.com>
> Signed-off-by: Ajit Khaparde <ajit.khaparde@...lex.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 !
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists