Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2017 11:43:47 +0800
From:      Sepherosa Ziehau <sepherosa@gmail.com>
To:        Stephen Hurd <shurd@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r314369 - head/sys/dev/bnxt
Message-ID:  <CAMOc5czQ17Goev7QYG5rDSwzYZTV=%2BLopJVviVRxeisPocWiaQ@mail.gmail.com>
In-Reply-To: <201702280227.v1S2RpsS094905@repo.freebsd.org>
References:  <201702280227.v1S2RpsS094905@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 28, 2017 at 10:27 AM, Stephen Hurd <shurd@freebsd.org> wrote:
> Modified: head/sys/dev/bnxt/bnxt_txrx.c
> ==============================================================================
> --- head/sys/dev/bnxt/bnxt_txrx.c       Tue Feb 28 00:58:16 2017        (r314368)
> +++ head/sys/dev/bnxt/bnxt_txrx.c       Tue Feb 28 02:27:51 2017        (r314369)
> @@ -412,6 +412,37 @@ cmpl_invalid:
>         return avail;
>  }
>
> +static void
> +bnxt_set_rsstype(if_rxd_info_t ri, uint8_t rss_hash_type)
> +{
> +       uint8_t rss_profile_id;
> +
> +       rss_profile_id = BNXT_GET_RSS_PROFILE_ID(rss_hash_type);
> +       switch (rss_profile_id) {
> +       default:
> +               ri->iri_rsstype = M_HASHTYPE_OPAQUE;
> +               break;

Is it a hash value or just ring index?  If its a hash value, you
should set it to M_HASHTYPE_OPAQUE_HASH here.

Thanks,
sephe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMOc5czQ17Goev7QYG5rDSwzYZTV=%2BLopJVviVRxeisPocWiaQ>