i40evf: fix jumbo frame support
authorHelin Zhang <helin.zhang@intel.com>
Thu, 4 Jun 2015 06:54:32 +0000 (14:54 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 4 Jun 2015 10:01:56 +0000 (12:01 +0200)
commitc1715402df8f7fdb2392e12703d5b6f81fd5f447
treeb3508bc18bec8d38efe606b88de626b34127bd37
parent36032e46be40d97aa3ea4229c6f829dcceedbfca
i40evf: fix jumbo frame support

It wouldn't check the configured maximum packet length, and then
the scattered receiving function wouldn't be selected at all even
if it wants to receive a jumbo frame. The fix is to select the
correct RX function according to the configurations.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/i40e_ethdev.h
drivers/net/i40e/i40e_ethdev_vf.c
drivers/net/i40e/i40e_rxtx.c