fm10k: remove mbuf size sanity check
authorChen Jing D(Mark) <jing.d.chen@intel.com>
Fri, 12 Jun 2015 07:06:28 +0000 (15:06 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 22 Jun 2015 15:27:58 +0000 (17:27 +0200)
commit87afbbc7cacf122141ebfa090e15c00a6a8823a6
tree478db8c84674bb7f9c05d577ba09a90acfbe01ae
parentdf02ba864695e3774a1fba0aa91a0f3ddea0c6c1
fm10k: remove mbuf size sanity check

Original implementation required mbuf size should be greater than
ETHER_MAX_VLAN_FRAME_LEN, which is not necessary. If it's less
than that value, scatter function will be selected and incoming
packets greater than mbuf size will be filled into several mbufs.

Signed-off-by: Chen Jing D(Mark) <jing.d.chen@intel.com>
Acked-by: Michael Qiu <michael.qiu@intel.com>
drivers/net/fm10k/fm10k_ethdev.c