Xueming Li
8b94494d80
app/testpmd: distribute queues to cores
Current topology distribute forwarding streams to lcores by port, this make unbalanced loading when port number larger than 2: lcore 0: P0Q0->P1Q0, P0Q1->P1Q1 locre 1: P1Q0->P0Q0, P1Q1->P0Q1 If only one port has traffic, only one locre get fully loaded and the other one get no forwarding. Performance is bad as only one core doing forwarding in such case. This patch distributes forwarding streams by queue, try to get streams of each port handled by different lcore: lcore 0: P0Q0->P1Q0, P1Q0->P1Q0 locre 1: P0Q1->P0Q1, P1Q1->P0Q1 Signed-off-by: Xueming Li <xuemingl@mellanox.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
DPDK is a set of libraries and drivers for fast packet processing. It supports many processor architectures and both FreeBSD and Linux. The DPDK uses the Open Source BSD-3-Clause license for the core libraries and drivers. The kernel components are GPL-2.0 licensed. Please check the doc directory for release notes, API documentation, and sample application information. For questions and usage discussions, subscribe to: users@dpdk.org Report bugs and issues to the development mailing list: dev@dpdk.org
Description
Languages
C
99.1%
Meson
0.5%
Python
0.2%
Shell
0.1%