#
b7b8de26 |
| 25-Aug-2023 |
David Marchand <david.marchand@redhat.com> |
drivers: add dependencies for some classes
This is a followup for commit 70b6941e4e22 ("build: check drivers class dependencies early").
A few classes meson.build were not expressing dependencies t
drivers: add dependencies for some classes
This is a followup for commit 70b6941e4e22 ("build: check drivers class dependencies early").
A few classes meson.build were not expressing dependencies to the associated device library. Define std_deps for baseband, gpu and regex drivers.
By doing this, drivers don't need to explicitly depend on the device library as their dependencies inherit std_deps.
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com>
show more ...
|
#
b6883b9c |
| 12-Apr-2023 |
Viacheslav Ovsiienko <viacheslavo@nvidia.com> |
common/mlx5: enable operation in IOVA virtual address mode
The ConnectX NIC series hardware provides advanced internal MMU option and can operate directly over virtual addresses, the host software s
common/mlx5: enable operation in IOVA virtual address mode
The ConnectX NIC series hardware provides advanced internal MMU option and can operate directly over virtual addresses, the host software should not care about any virtual-to-physical address translations. It means the mlx5 PMDs can operate in DPDK IOVA VA (virtual address) mode transparently.
To force IOVA VA mode the DPDK should be built with meson option:
enable_iova_as_pa=false
With this option only drivers supporting IOVA VA mode are enabled. This patch marks mlx5 drivers with require_iova_in_mbuf flag false value, thus allowing their compilation for IOVA VA mode.
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com> Acked-by: Morten Brørup <mb@smartsharesystems.com>
show more ...
|
#
e9cc7c7a |
| 07-Nov-2022 |
Thomas Monjalon <thomas@monjalon.net> |
common/mlx5: use build configuration dictionary
A recent commit added an explicit dependency check on common/mlx5. For consistency, query dpdk_conf instead of the list of common drivers. The lists *
common/mlx5: use build configuration dictionary
A recent commit added an explicit dependency check on common/mlx5. For consistency, query dpdk_conf instead of the list of common drivers. The lists *_drivers should be used only for printing.
Fixes: 3df380f61797 ("common/mlx5: fix disabling build")
Suggested-by: Bruce Richardson <bruce.richardson@intel.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: David Marchand <david.marchand@redhat.com>
show more ...
|
#
3df380f6 |
| 29-Oct-2022 |
Thomas Monjalon <thomas@monjalon.net> |
common/mlx5: fix disabling build
If the dependency common/mlx5 is explicitly disabled, but net/mlx5 is not explicitly disabled, Meson will read the full recipe of net/mlx5 and will fail when accessi
common/mlx5: fix disabling build
If the dependency common/mlx5 is explicitly disabled, but net/mlx5 is not explicitly disabled, Meson will read the full recipe of net/mlx5 and will fail when accessing a variable from common/mlx5: drivers/net/mlx5/meson.build:76:4: ERROR: Unknown variable "mlx5_config".
The solution is to stop parsing net/mlx5 if common/mlx5 is disabled. The deps array must be defined before stopping, in order to automatically disable the build of net/mlx5 and print the reason.
The same protection is applied to other mlx5 drivers, so it will allow using the variable mlx5_config in future.
Fixes: 22681deead3e ("net/mlx5/hws: enable hardware steering")
Reported-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Tested-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Reviewed-by: David Marchand <david.marchand@redhat.com> Acked-by: Matan Azrad <matan@nvidia.com> Acked-by: Alex Vesker <valex@nvidia.com>
show more ...
|
#
4ad4b20a |
| 20-Apr-2021 |
Bruce Richardson <bruce.richardson@intel.com> |
drivers: change indentation in build files
Switch from using tabs to 4 spaces for meson.build indentation.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
|
#
762bfccc |
| 09-Dec-2020 |
Bruce Richardson <bruce.richardson@intel.com> |
config: remove compatibility build defines
As announced in the deprecation note, remove all compatibility build defines from previous make/meson versions and use only the standardized ones - RTE_LIB
config: remove compatibility build defines
As announced in the deprecation note, remove all compatibility build defines from previous make/meson versions and use only the standardized ones - RTE_LIB_<name> for libraries, and RTE_<CLASS>_<NAME> for drivers.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
392bf908 |
| 27-Jul-2020 |
Parav Pandit <parav@mellanox.com> |
common/mlx5: register class drivers through common layer
Migrate mlx5 net, vdpa and regex PMD to start using mlx5 common class driver.
Signed-off-by: Parav Pandit <parav@mellanox.com> Acked-by: Mat
common/mlx5: register class drivers through common layer
Migrate mlx5 net, vdpa and regex PMD to start using mlx5 common class driver.
Signed-off-by: Parav Pandit <parav@mellanox.com> Acked-by: Matan Azrad <matan@mellanox.com>
show more ...
|
#
5f41b66d |
| 20-Jul-2020 |
Yuval Avnery <yuvalav@mellanox.com> |
regex/mlx5: setup fast path
Allocated and register input/output buffers and metadata.
Signed-off-by: Yuval Avnery <yuvalav@mellanox.com> Acked-by: Ori Kam <orika@mellanox.com>
|
#
fbc8c700 |
| 20-Jul-2020 |
Ori Kam <orika@mellanox.com> |
regex/mlx5: add completion queue creation
This commit adds the creation of CQ
Signed-off-by: Ori Kam <orika@mellanox.com>
|
#
9428310a |
| 20-Jul-2020 |
Ori Kam <orika@mellanox.com> |
regex/mlx5: add engine status check
This commit checks the engine status.
Signed-off-by: Ori Kam <orika@mellanox.com>
|
#
c126512b |
| 20-Jul-2020 |
Ori Kam <orika@mellanox.com> |
regex/mlx5: support info query
This commit adds the get info function.
Signed-off-by: Ori Kam <orika@mellanox.com>
|
#
cf9b3c36 |
| 20-Jul-2020 |
Yuval Avnery <yuvalav@mellanox.com> |
regex/mlx5: introduce driver for BlueField 2
This commit introduce the RegEx poll mode drivers class, and adds Mellanox RegEx PMD.
Signed-off-by: Yuval Avnery <yuvalav@mellanox.com> Signed-off-by:
regex/mlx5: introduce driver for BlueField 2
This commit introduce the RegEx poll mode drivers class, and adds Mellanox RegEx PMD.
Signed-off-by: Yuval Avnery <yuvalav@mellanox.com> Signed-off-by: Ori Kam <orika@mellanox.com>
show more ...
|