ixgbe: prefer enabling olflags rather than not disabling
authorCunming Liang <cunming.liang@intel.com>
Thu, 26 Jun 2014 06:53:32 +0000 (14:53 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 26 Jun 2014 11:04:18 +0000 (13:04 +0200)
commit359f106a69a96a9a9e8778071a3a27f9e718135b
tree9318ca55a1946b482f9b12761b5f3698b817124f
parent040e9a01a0b4d179d409f8a7a24d2b7193b9ce8a
ixgbe: prefer enabling olflags rather than not disabling

RTE_IXGBE_RX_OLFLAGS_ENABLE gives a hint whick keeping packet type
in RX ol_flags or not.
By default it is set to update ol_flags in RX mbuf header.
If unset it, will gain addtional performance, but will lose packet
type information.

Signed-off-by: Cunming Liang <cunming.liang@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Yong Liu <yong.liu@intel.com>
Tested-by: Zhaochen Zhan <zhaochen.zhan@intel.com>
config/common_linuxapp
lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c