ixgbe: configure VF RSS
authorOuyang Changchun <changchun.ouyang@intel.com>
Mon, 12 Jan 2015 05:59:11 +0000 (13:59 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 18 Jan 2015 22:13:57 +0000 (23:13 +0100)
commit42d2f78abcb77ecb769be4149df550308169ef0f
treed76e695f97b08da5ce13f0e3c38881bd53c63688
parentdb858dd0216566a15d7f26b6615b27ae0ba44e6b
ixgbe: configure VF RSS

It needs config RSS and IXGBE_MRQC and IXGBE_VFPSRTYPE to enable VF RSS.

The psrtype will determine how many queues the received packets will distribute to,
and the value of psrtype should depends on both facet: max VF rxq number which
has been negotiated with PF, and the number of rxq specified in config on guest.

Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
Reviewed-by: Vlad Zolotarov <vladz@cloudius-systems.com>
lib/librte_pmd_ixgbe/ixgbe_pf.c
lib/librte_pmd_ixgbe/ixgbe_rxtx.c