From owner-svn-src-all@FreeBSD.ORG Mon Aug 4 04:27:20 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 95927813; Mon, 4 Aug 2014 04:27:20 +0000 (UTC) Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B6FED29ED; Mon, 4 Aug 2014 04:27:19 +0000 (UTC) Received: by mail-wi0-f172.google.com with SMTP id n3so4304463wiv.5 for ; Sun, 03 Aug 2014 21:27:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=2Gt8ALL1jM1IVKkZdjuqcDrP/BjZICzSxMpeQYFz04g=; b=bdmzzp7Jc7B1NmJDSD3YStNaE9SSikfsG9FdiWlDdGKVotAuEksFb7xOJGnM0+J+Hm UeZ2hp5s1GiEpoPp3OFwT8+pgzBjzyNYPa0BjZjtETUo16DQHBYTyNyB9F7WP0Eu38OZ tivmap6fm9e4t3hADOs9i7jJkv9a1UmaoVJUZAZVyax7sWkt6As6tWxez0okgrQjx5+Q PzGiSn2Chft1l8fbeID0ZG19MpVbm3d3GKvqIuNOJoIdyYXjs9aD27hmSI+EBI2kF215 gbd7XE46EXwJWkhLlPNy5pvOerCMut813tJSgPjEha5rfcMy8P5+vEL3RAY2jQZd+NbM unsw== MIME-Version: 1.0 X-Received: by 10.194.142.148 with SMTP id rw20mr27089442wjb.69.1407126437906; Sun, 03 Aug 2014 21:27:17 -0700 (PDT) Received: by 10.216.159.136 with HTTP; Sun, 3 Aug 2014 21:27:17 -0700 (PDT) Reply-To: araujo@FreeBSD.org In-Reply-To: <201407200843.s6K8hsAW017327@svn.freebsd.org> References: <201407200843.s6K8hsAW017327@svn.freebsd.org> Date: Mon, 4 Aug 2014 12:27:17 +0800 Message-ID: Subject: Re: svn commit: r268917 - head/sys/dev/ixgbe From: Marcelo Araujo To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2014 04:27:20 -0000 2014-07-20 16:43 GMT+08:00 Adrian Chadd : > 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 \/ \ ^ Power To Server. .\. /_)