24969c7b62
To speed up queue creation time, event QP and CQ will create only once. Each virtq creation will reuse same event QP and CQ. Because FW will set event QP to error state during virtq destroy, need modify event QP to RESET state, then modify QP to RTS state as usual. This can save about 1.5ms for each virtq creation. After SW QP reset, QP pi/ci all become 0 while CQ pi/ci keep as previous. Add new variable qp_ci to save SW QP ci. Move QP pi independently with CQ ci. Add new function mlx5_vdpa_drain_cq to drain CQ CQE after virtq release. Signed-off-by: Yajun Wu <yajunw@nvidia.com> Acked-by: Matan Azrad <matan@nvidia.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> |
||
---|---|---|
.ci | ||
.github/workflows | ||
app | ||
buildtools | ||
config | ||
devtools | ||
doc | ||
drivers | ||
examples | ||
kernel | ||
lib | ||
license | ||
usertools | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
ABI_VERSION | ||
MAINTAINERS | ||
Makefile | ||
meson_options.txt | ||
meson.build | ||
README | ||
VERSION |
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