svn commit: r314369 - head/sys/dev/bnxt

Sepherosa Ziehau sepherosa at gmail.com
Tue Feb 28 03:43:49 UTC 2017


On Tue, Feb 28, 2017 at 10:27 AM, Stephen Hurd <shurd at 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


More information about the svn-src-head mailing list