7274b41756
This patch adds a capability to place hairpin Tx queue in host memory managed by DPDK. This capability is equivalent to storing hairpin SQ's WQ buffer in host memory. Hairpin Tx queue creation is extended with allocating a memory buffer of proper size (calculated from required number of packets and WQE BB size advertised in HCA capabilities). force_memory flag of hairpin queue configuration is also supported. If it is set and: - allocation of memory buffer fails, - or hairpin SQ creation fails, then device start will fail. If it is unset, PMD will fallback to creating the hairpin SQ with WQ buffer located in unlocked device memory. Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com> |
||
---|---|---|
.. | ||
bbdevs | ||
compressdevs | ||
contributing | ||
cryptodevs | ||
dmadevs | ||
eventdevs | ||
faq | ||
freebsd_gsg | ||
gpus | ||
howto | ||
linux_gsg | ||
mempool | ||
nics | ||
platform | ||
prog_guide | ||
rawdevs | ||
regexdevs | ||
rel_notes | ||
sample_app_ug | ||
testpmd_app_ug | ||
tools | ||
vdpadevs | ||
windows_gsg | ||
conf.py | ||
custom.css | ||
index.rst | ||
meson.build |