[dpdk-dev] [PATCH v3 07/13] testpmd: fix use of offload flags in testpmd

2014-11-25 Thread Ananyev, Konstantin
> -Original Message- > From: Olivier Matz [mailto:olivier.matz at 6wind.com] > Sent: Thursday, November 20, 2014 10:59 PM > To: dev at dpdk.org > Cc: olivier.matz at 6wind.com; Walukiewicz, Miroslaw; Liu, Jijiang; Liu, > Yong; jigsaw at gmail.com; Richardson, Bruce; Ananyev, Konstantin >

[dpdk-dev] [PATCH v3 07/13] testpmd: fix use of offload flags in testpmd

2014-11-20 Thread Olivier Matz
In testpmd the rte_port->tx_ol_flags flag was used in 2 incompatible manners: - sometimes used with testpmd specific flags (0xff for checksums, and bit 11 for vlan) - sometimes assigned to m->ol_flags directly, which is wrong in case of checksum flags This commit replaces the hardcoded values