Nobuhiro Miki adcf2717cb net/tap: forbid different Rx/Tx queue number
Users can create the desired number of RxQ and TxQ in DPDK. For
example, if the number of RxQ = 2 and the number of TxQ = 5,
a total of 8 file descriptors will be created for a tap device,
including RxQ, TxQ, and one for keepalive. The RxQ and TxQ
with the same ID are paired by dup(2).

In this scenario, Kernel will have 3 RxQ where packets are
incoming but not read. The reason for this is that there are only
2 RxQ that are polled by DPDK, while there are 5 queues in Kernel.
This patch add a checking if DPDK has appropriate numbers of
queues to avoid unexpected packet drop.

Signed-off-by: Nobuhiro Miki <nmiki@yahoo-corp.jp>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2022-01-26 17:18:31 +01:00
..
2021-11-15 16:50:35 +01:00
2021-11-26 11:28:34 +01:00
2021-11-26 11:28:34 +01:00
2020-11-03 16:23:03 +01:00
2021-07-31 20:03:47 +02:00
2021-10-18 19:20:20 +02:00
2020-11-03 16:23:03 +01:00
2021-11-26 11:28:34 +01:00
2021-11-26 11:28:34 +01:00
2020-11-03 16:23:03 +01:00
2020-11-03 16:23:03 +01:00
2020-11-03 23:35:07 +01:00
2022-01-12 15:36:32 +01:00
2021-11-26 11:28:34 +01:00
2020-11-03 16:23:03 +01:00
2021-10-24 13:37:43 +02:00
2020-11-03 16:23:03 +01:00
2021-11-24 17:13:26 +01:00
2022-01-11 12:16:53 +01:00
2022-01-11 12:16:53 +01:00
2021-11-26 11:28:34 +01:00
2021-11-19 17:38:43 +01:00
2021-11-26 11:28:34 +01:00
2021-10-30 00:53:19 +02:00
2021-11-26 11:28:34 +01:00
2021-05-18 19:06:56 +02:00
2020-11-03 16:23:03 +01:00
2020-11-03 16:23:03 +01:00
2021-11-26 11:28:34 +01:00
2020-11-03 16:23:03 +01:00
2021-11-26 11:28:34 +01:00
2021-04-22 00:06:47 +02:00