aeca11f82a
MLX5 PMD counted each mempool subscribe invocation. The PMD expected
that the mempool subscription will be deleted after the mempool
counter dropped to 0. However, current PMD design unsubscribes mempool
callbacks only once.
As the result, the PMD destroyed mlx5_common_device but kept
shared RX subscription callback. EAL tried to activate that callback
and crashed.
The patch removes mempool subscriptions counter.
The PMD registers mempool subscription once only. An attempt
to register existing subscription returns EEXIST.
Also, the PMD expects to remove subscription when mempool unsubscribe
was activated.
Fixes:
|
||
---|---|---|
.. | ||
cnxk | ||
cpt | ||
dpaax | ||
iavf | ||
idpf | ||
mlx5 | ||
mvep | ||
octeontx | ||
qat | ||
sfc_efx | ||
meson.build |