Date: Mon, 4 Aug 2014 12:27:17 +0800 From: Marcelo Araujo <araujobsdport@gmail.com> To: Adrian Chadd <adrian@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r268917 - head/sys/dev/ixgbe Message-ID: <CAOfEmZjVo3HNp_bzQs_Pc4ZrP6pnKh7mgZjXVYiMOqQg0DDCkg@mail.gmail.com> In-Reply-To: <201407200843.s6K8hsAW017327@svn.freebsd.org> References: <201407200843.s6K8hsAW017327@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2014-07-20 16:43 GMT+08:00 Adrian Chadd <adrian@freebsd.org>: > Author: adrian > Date: Sun Jul 20 08:43:53 2014 > New Revision: 268917 > URL: http://svnweb.freebsd.org/changeset/base/268917 > > Log: > Add the UDP hash -> RSS mbuf hash type for the ixgbe(4) driver. > > Modified: > head/sys/dev/ixgbe/ixgbe.c > > Modified: head/sys/dev/ixgbe/ixgbe.c > > ============================================================================== > --- head/sys/dev/ixgbe/ixgbe.c Sun Jul 20 07:45:48 2014 (r268916) > +++ head/sys/dev/ixgbe/ixgbe.c Sun Jul 20 08:43:53 2014 (r268917) > @@ -4745,12 +4745,15 @@ ixgbe_rxeof(struct ix_queue *que) > case IXGBE_RXDADV_RSSTYPE_IPV6_TCP_EX: > M_HASHTYPE_SET(sendmp, > M_HASHTYPE_RSS_TCP_IPV6_EX); > break; > - /* XXX no UDP support in RSS just yet */ > -#ifdef notyet > - case IGXBE_RXDADV_RSSTYPE_IPV4_UDP: > - case IGXBE_RXDADV_RSSTYPE_IPV6_UDP: > - case IGXBE_RXDADV_RSSTYPE_IPV6_UDP_EX: > -#endif /* notyet */ > + case IXGBE_RXDADV_RSSTYPE_IPV4_UDP: > + M_HASHTYPE_SET(sendmp, > M_HASHTYPE_RSS_UDP_IPV4); > + break; > + case IXGBE_RXDADV_RSSTYPE_IPV6_UDP: > + M_HASHTYPE_SET(sendmp, > M_HASHTYPE_RSS_UDP_IPV6); > + break; > + case IXGBE_RXDADV_RSSTYPE_IPV6_UDP_EX: > + M_HASHTYPE_SET(sendmp, > M_HASHTYPE_RSS_UDP_IPV6_EX); > + break; > default: > /* XXX fallthrough */ > M_HASHTYPE_SET(sendmp, M_HASHTYPE_NONE); > Just for record, missed: Submitted by: araujo@ Best Regards, -- -- Marcelo Araujo (__)araujo@FreeBSD.org \\\'',)http://www.FreeBSD.org <http://www.freebsd.org/> \/ \ ^ Power To Server. .\. /_)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOfEmZjVo3HNp_bzQs_Pc4ZrP6pnKh7mgZjXVYiMOqQg0DDCkg>