numam-dpdk/drivers
Ivan Malov 3c97590830 net/sfc/base: honour packed stream RSS restriction
Packed stream firmware variant on EF10 adapters has a
number of properties which must be taken into account:

 - Only one exclusive RSS context is available per port.
 - Only IP addresses can contribute to the hash value.

Huntington and Medford have one more limitation which
is important for the drivers capable of packed stream:

 - Hash algorithm is non-standard (i.e. non-Toeplitz).
   This implies XORing together source + destination
   IP addresses (or last four bytes in the case of IPv6)
   and using the result as the input to a Toeplitz hash.

This patch provides a number of improvements in order
to treat the mentioned limitations in the common code.

If the firmware variant is packed stream, the list of
supported hash tuples will include less variants, and
the maximum number of RSS contexts will be set to one.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
2018-04-27 18:00:55 +01:00
..
baseband drivers: rename bbdev directory to baseband 2018-03-21 22:43:05 +01:00
bus bus/vdev: fix find device implementation 2018-04-27 16:31:49 +02:00
common common/octeontx: move mbox to common folder 2018-04-04 23:14:52 +02:00
crypto crypto/dpaa2_sec: fix HMAC supported digest sizes 2018-04-23 18:20:10 +01:00
event event/octeontx: fix snprintf mempool name overflow 2018-04-25 16:49:17 +02:00
mempool mempool/bucket: do not allow one lcore to grab all buckets 2018-04-26 23:34:07 +02:00
net net/sfc/base: honour packed stream RSS restriction 2018-04-27 18:00:55 +01:00
raw raw/skeleton: fix device start test 2018-02-06 17:32:34 +01:00
Makefile drivers: add common folder 2018-04-04 17:40:03 +02:00
meson.build drivers: add common folder 2018-04-04 17:40:03 +02:00