freebsd-dev/sys/ofed
Hans Petter Selasky b7ba031ff7 Factor out mbuf hashing code from LAGG driver so that other network
drivers can use it. This avoids some code duplication. Add missing
default case to all switch statements while at it. Also move the
hashing of the IPv6 flow field to layer 4 because the IPv6 flow field
is constant on a per L4 connection basis and not on a per L3 network.

Differential Revision:	https://reviews.freebsd.org/D1987
Sponsored by:		Mellanox Technologies
MFC after:		1 month
2015-03-11 16:02:24 +00:00
..
drivers Factor out mbuf hashing code from LAGG driver so that other network 2015-03-11 16:02:24 +00:00
include Define PTR_ALIGN() macro which will be needed coming Mellanox driver 2015-03-04 09:58:39 +00:00