diff options
author | Vladimir Ratnikov <vratnikov@netgate.com> | 2021-03-05 04:22:59 -0500 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-03-05 10:50:24 +0000 |
commit | 60c397711a4d0f694491945ccb64d3da3049557a (patch) | |
tree | 49ae2577850a95053c1c450d7b0c19554999615e /src/plugins/crypto_sw_scheduler/api.c | |
parent | f16e9a5507c33642ac04d4b1a8712f8fac238828 (diff) |
dpdk: fix rte mempool for rx_queues
Change dpdk_ops_vpp_get_count() return value from 0
to actual available pool size;
For some drivers/envs(azure,vmbus) rx_queue size
will be zero and the only 1 element will be created
(0 + 1)
When more than one packet will arrive, it will cause
SEGFAULT
Type: fix
Signed-off-by: Vladimir Ratnikov <vratnikov@netgate.com>
Change-Id: Ibe7da6acc91200bec33d99f580044456d8984110
Diffstat (limited to 'src/plugins/crypto_sw_scheduler/api.c')
0 files changed, 0 insertions, 0 deletions