numam-dpdk/drivers
Matan Azrad 78e81a9844 net/mlx4: merge Tx queue rings management
The Tx queue send ring was managed by Tx block head,tail,count and mask
management variables which were used for managing the send queue remain
space and next places of empty or completed work queue entries.

This method suffered from an actual addresses recalculation per packet,
an unnecessary Tx block based calculations and an expensive dual
management of Tx rings.

Move send queue ring calculation to be based on actual addresses while
managing it by descriptors ring indexes.

Add new work queue entry pointer to the descriptor element to hold the
appropriate entry in the send queue.

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
2018-01-16 18:47:49 +01:00
..
bus net/dpaa2: optimize Tx path for best case 2018-01-16 18:47:49 +01:00
crypto bus/fslmc: support dynamic IOVA 2018-01-16 18:47:49 +01:00
event drivers: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
mempool mempool/octeontx: fix memory area registration 2018-01-12 18:32:05 +01:00
net net/mlx4: merge Tx queue rings management 2018-01-16 18:47:49 +01:00
Makefile drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00