|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1 |
|
| #
7be78d02 |
| 29-Nov-2021 |
Josh Soref <[email protected]> |
fix spelling in comments and strings
The tool comes from https://github.com/jsoref
Signed-off-by: Josh Soref <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
|
|
Revision tags: v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1 |
|
| #
f1f6ebc0 |
| 24-Aug-2021 |
William Tu <[email protected]> |
eal: remove sys/queue.h from public headers
Currently there are some public headers that include 'sys/queue.h', which is not POSIX, but usually provided by the Linux/BSD system library. (Not in POSI
eal: remove sys/queue.h from public headers
Currently there are some public headers that include 'sys/queue.h', which is not POSIX, but usually provided by the Linux/BSD system library. (Not in POSIX.1, POSIX.1-2001, or POSIX.1-2008. Present on the BSDs.) The file is missing on Windows. During the Windows build, DPDK uses a bundled copy, so building a DPDK library works fine. But when OVS or other applications use DPDK as a library, because some DPDK public headers include 'sys/queue.h', on Windows, it triggers an error due to no such file.
One solution is to install the 'lib/eal/windows/include/sys/queue.h' into Windows environment, such as [1]. However, this means DPDK exports the functionalities of 'sys/queue.h' into the environment, which might cause symbols, macros, headers clashing with other applications.
The patch fixes it by removing the "#include <sys/queue.h>" from DPDK public headers, so programs including DPDK headers don't depend on the system to provide 'sys/queue.h'. When these public headers use macros such as TAILQ_xxx, we replace it by the ones with RTE_ prefix. For Windows, we copy the definitions from <sys/queue.h> to rte_os.h in Windows EAL. Note that these RTE_ macros are compatible with <sys/queue.h>, both at the level of API (to use with <sys/queue.h> macros in C files) and ABI (to avoid breaking it).
Additionally, the TAILQ_FOREACH_SAFE is not part of <sys/queue.h>, the patch replaces it with RTE_TAILQ_FOREACH_SAFE.
[1] http://mails.dpdk.org/archives/dev/2021-August/216304.html
Suggested-by: Nick Connolly <[email protected]> Suggested-by: Dmitry Kozlyuk <[email protected]> Signed-off-by: William Tu <[email protected]> Acked-by: Dmitry Kozlyuk <[email protected]> Acked-by: Narcisa Vasile <[email protected]>
show more ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1, v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2 |
|
| #
8d935fff |
| 26-Jan-2021 |
Maxime Coquelin <[email protected]> |
bus/vdev: add driver IOVA VA mode requirement
This patch adds driver flag in vdev bus driver so that vdev drivers can require VA IOVA mode to be used, which for example the case of Virtio-user PMD.
bus/vdev: add driver IOVA VA mode requirement
This patch adds driver flag in vdev bus driver so that vdev drivers can require VA IOVA mode to be used, which for example the case of Virtio-user PMD.
The patch implements the .get_iommu_class() callback, that is called before devices probing to determine the IOVA mode to be used, and adds a check right before the device is probed to ensure compatible IOVA mode has been selected.
It also adds a ABI exception rule to accommodate with an update on the driver registration API
Signed-off-by: Maxime Coquelin <[email protected]> Acked-by: David Marchand <[email protected]> Reviewed-by: Chenbo Xia <[email protected]>
show more ...
|
| #
2d9b1272 |
| 26-Jan-2021 |
Maxime Coquelin <[email protected]> |
bus/vdev: add helper to get vdev from ethdev
This patch adds an helper macro to get the rte_vdev_device pointer from a rte_eth_dev pointer.
This is similar to RTE_ETH_DEV_TO_PCI().
Signed-off-by:
bus/vdev: add helper to get vdev from ethdev
This patch adds an helper macro to get the rte_vdev_device pointer from a rte_eth_dev pointer.
This is similar to RTE_ETH_DEV_TO_PCI().
Signed-off-by: Maxime Coquelin <[email protected]> Reviewed-by: Chenbo Xia <[email protected]> Reviewed-by: David Marchand <[email protected]>
show more ...
|
|
Revision tags: v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2, v20.11-rc1 |
|
| #
6a2288ed |
| 29-Sep-2020 |
Maxime Coquelin <[email protected]> |
bus/vdev: add DMA mapping ops
Add DMA map/unmap operation callbacks to the vdev bus, which could be used by DMA capable vdev drivers.
Signed-off-by: Maxime Coquelin <[email protected]> Rev
bus/vdev: add DMA mapping ops
Add DMA map/unmap operation callbacks to the vdev bus, which could be used by DMA capable vdev drivers.
Signed-off-by: Maxime Coquelin <[email protected]> Reviewed-by: Chenbo Xia <[email protected]>
show more ...
|
|
Revision tags: v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1 |
|
| #
71ee0b90 |
| 23-Jun-2020 |
Muhammad Bilal <[email protected]> |
bus/vdev: fix a typo in doxygen comment
While uninitalizing the driver, the comment was mentioning initialized instead of uninitalized in description of parameter.
Fixes: 0fe11ec592b2 ("eal: add vd
bus/vdev: fix a typo in doxygen comment
While uninitalizing the driver, the comment was mentioning initialized instead of uninitalized in description of parameter.
Fixes: 0fe11ec592b2 ("eal: add vdev init and uninit") Cc: [email protected]
Signed-off-by: Muhammad Bilal <[email protected]>
show more ...
|
|
Revision tags: v20.05, v20.05-rc4, v20.05-rc3, v20.05-rc2, v20.05-rc1, v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2, v20.02-rc1, v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2, v19.11-rc1, v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1 |
|
| #
42490f38 |
| 26-Jun-2019 |
Aideen McLoughlin <[email protected]> |
doc: add vdev doxygen
The APIs in the rte_bus_vdev.h file were not part of the API documentation. I added this header file to the doxygen config file with the name vdev.
Signed-off-by: Aideen McLou
doc: add vdev doxygen
The APIs in the rte_bus_vdev.h file were not part of the API documentation. I added this header file to the doxygen config file with the name vdev.
Signed-off-by: Aideen McLoughlin <[email protected]> Acked-by: Ferruh Yigit <[email protected]>
show more ...
|
|
Revision tags: v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2, v19.05-rc1, v19.02, v19.02-rc4, v19.02-rc3, v19.02-rc2, v19.02-rc1, v18.11, v18.11-rc5, v18.11-rc4, v18.11-rc3, v18.11-rc2, v18.11-rc1, v18.08, v18.08-rc3, v18.08-rc2, v18.08-rc1 |
|
| #
f8e99896 |
| 18-Jun-2018 |
Thomas Monjalon <[email protected]> |
remove useless constructor headers
A constructor is usually declared with RTE_INIT* macros. As it is a static function, no need to declare before its definition. The macro is used directly in the fu
remove useless constructor headers
A constructor is usually declared with RTE_INIT* macros. As it is a static function, no need to declare before its definition. The macro is used directly in the function definition.
Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
|
Revision tags: v18.05, v18.05-rc6, v18.05-rc5, v18.05-rc4, v18.05-rc3, v18.05-rc2, v18.05-rc1 |
|
| #
3701b792 |
| 27-Apr-2018 |
Gaetan Rivet <[email protected]> |
bus/vdev: fix find device implementation
If start is set and a device before it matches the data, this device is returned.
This induces potentially infinite loops.
Fixes: c7fe1eea8a74 ("bus: simpl
bus/vdev: fix find device implementation
If start is set and a device before it matches the data, this device is returned.
This induces potentially infinite loops.
Fixes: c7fe1eea8a74 ("bus: simplify finding starting point") Cc: [email protected]
Signed-off-by: Gaetan Rivet <[email protected]>
show more ...
|
| #
27d8b826 |
| 09-Apr-2018 |
Jan Viktorin <[email protected]> |
use SPDX tag for RehiveTech copyright files
Replace the BSD license header with the SPDX tag for files with only an RehiveTech copyright on them.
Signed-off-by: Jan Viktorin <[email protected]
use SPDX tag for RehiveTech copyright files
Replace the BSD license header with the SPDX tag for files with only an RehiveTech copyright on them.
Signed-off-by: Jan Viktorin <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
|
Revision tags: v18.02, v18.02-rc4, v18.02-rc3, v18.02-rc2, v18.02-rc1 |
|
| #
3b792ed9 |
| 01-Dec-2017 |
Thomas Monjalon <[email protected]> |
bus/vdev: add custom scan hook
The scan callback allows to spawn a vdev automatically given some custom scan rules. It is especially useful to create a TAP device automatically connected to a netdev
bus/vdev: add custom scan hook
The scan callback allows to spawn a vdev automatically given some custom scan rules. It is especially useful to create a TAP device automatically connected to a netdevice as remote.
Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Jianfeng Tan <[email protected]>
show more ...
|
|
Revision tags: v17.11, v17.11-rc4, v17.11-rc3 |
|
| #
d4a586d2 |
| 07-Nov-2017 |
Jianfeng Tan <[email protected]> |
bus/vdev: move code from EAL into a new driver
Move the vdev bus from lib/librte_eal to drivers/bus.
As the crypto vdev helper function refers to data structure in rte_vdev.h, so we move those help
bus/vdev: move code from EAL into a new driver
Move the vdev bus from lib/librte_eal to drivers/bus.
As the crypto vdev helper function refers to data structure in rte_vdev.h, so we move those helper function into drivers/bus too.
Signed-off-by: Jianfeng Tan <[email protected]>
show more ...
|