Optimize Rx and Tx paths 95/8395/8
authorMichal Mazur <[email protected]>
Mon, 11 Sep 2017 14:20:21 +0000 (16:20 +0200)
committerMichal Mazur <[email protected]>
Thu, 14 Dec 2017 14:18:05 +0000 (15:18 +0100)
commit0c552959dc425c5f00499d6a587d16275a6399db
tree05fddc1ee2c881570bb80b2a365027297113d62e
parentd830f80364a33f81c4b534eca902ac7600cbfc05
Optimize Rx and Tx paths

1) Handle multiple ODP packets at once in receive loop
2) Wait to collect as many RX buffers as possible in single vector
3) Add prefetch of received and transmitted buffers
4) Disable parser, classifier and synchronization of RX queues
   Synchronization of Tx queues can also be disabled if 2 ports used.

Change-Id: I65ed49ef2b60278022712e10a83f6ca24360694e
Signed-off-by: Michal Mazur <[email protected]>
src/plugins/odp/device.c
src/plugins/odp/node.c
src/plugins/odp/odp_packet.c