Re: [dpdk-dev] [PATCH v14 8/8] testpmd: use Tx preparation in csum engine

2016-12-22 Thread Thomas Monjalon
2016-12-22 14:05, Tomasz Kulasek: > Since all current drivers supports Tx preparation API, it is used > in csum forwarding engine by default for all drivers. [...] > +/* > + * Enable Tx preparation path in the "csum" engine. > + */ > +uint8_t tx_prepare; It seems this variable is not used.

[dpdk-dev] [PATCH v14 8/8] testpmd: use Tx preparation in csum engine

2016-12-22 Thread Tomasz Kulasek
Since all current drivers supports Tx preparation API, it is used in csum forwarding engine by default for all drivers. Adding additional step to the csum engine costs about 3-4% of performance drop, on my setup with ixgbe driver. It's caused mostly by the need of reaccessing and modification of p