ethdev: allow maximum packet length to less than 1518
authorHelin Zhang <helin.zhang@intel.com>
Thu, 5 Jun 2014 05:08:51 +0000 (13:08 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 17 Jun 2014 16:21:36 +0000 (18:21 +0200)
commit78c7149eb087fb93893960916ca3a3a09990f23c
tree56687d7a7438fb2c7cf7537c53867ae848471e70
parenteeae544a51f56e43f0b885e4884e58376175dc78
ethdev: allow maximum packet length to less than 1518

In ethdev, it ignores setting maximum packet length to less than
1518. The changes is to remove this limitation and let less than
1518 can be set for 'maximum packet length'.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Signed-off-by: Jing Chen <jing.d.chen@intel.com>
Acked-by: Cunming Liang <cunming.liang@intel.com>
Acked-by: Jijiang Liu <jijiang.liu@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Heqing Zhu <heqing.zhu@intel.com>
Tested-by: Waterman Cao <waterman.cao@intel.com>
lib/librte_ether/rte_ethdev.c