[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1309231534010.23714@tomh.mtv.corp.google.com>
Date: Mon, 23 Sep 2013 15:41:45 -0700 (PDT)
From: Tom Herbert <therbert@...gle.com>
To: davem@...emloft.net
cc: netdev@...r.kernel.org, jesse.brandeburg@...el.com
Subject: [PATCH 0/2] Toeplitz hashing
These patches introduce software implementation of Toeplitz hashing.
The first use case is in inet_ehashfn and inet6_ehashfn using Toeplitz
for just IPv4 and IPv6 TCP connection lookup.
In some follow up patches we can move to using the HW hash itself to
do connection lookup (possibly eliminating SW hash computation on RX.
These will do:
1) Convert skb_get_rxhash (used for RPS steering) to use Toeplitz.
2) Allow TCP connection lookup to use rxhash if the hash if the
hash is marked as being proper Toeplitz hash.
3) Allow drivers to mark a hash value as being proper Toeplitz
of a TCP packet
There's also the possibility of calculating the Toeplitz hash for a
connection in order to deduce which RSS queue the connection maps
to, and thus allow a poor man's aRFS (idea from Jesse Brandeburg).
--
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