[v4,1/2] doc/gpus: add cuda.ini into features

Message ID 20220225031226.8348-1-eagostini@nvidia.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series [v4,1/2] doc/gpus: add cuda.ini into features |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Elena Agostini Feb. 25, 2022, 3:12 a.m. UTC
  From: Elena Agostini <eagostini@nvidia.com>

Signed-off-by: Elena Agostini <eagostini@nvidia.com>
---
 doc/guides/gpus/features/cuda.ini | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 doc/guides/gpus/features/cuda.ini
  

Comments

Thomas Monjalon Feb. 27, 2022, 4:48 p.m. UTC | #1
25/02/2022 04:12, eagostini@nvidia.com:

    The features list were missed when introducing the driver.
    
    Fixes: 1306a73b1958 ("gpu/cuda: introduce CUDA driver")
    Cc: stable@dpdk.org

> Signed-off-by: Elena Agostini <eagostini@nvidia.com>
> ---
>  doc/guides/gpus/features/cuda.ini | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>  create mode 100644 doc/guides/gpus/features/cuda.ini
> 
> diff --git a/doc/guides/gpus/features/cuda.ini b/doc/guides/gpus/features/cuda.ini
> new file mode 100644
> index 0000000000..eb1aff9a80
> --- /dev/null
> +++ b/doc/guides/gpus/features/cuda.ini
> @@ -0,0 +1,12 @@
> +;
> +; Supported features of the 'cuda' gpu driver.
> +;
> +; Refer to default.ini for the full list of available PMD features.
> +;
> +[Features]
> +Get device info                = Y
> +Share CPU memory with device   = Y
> +Allocate device memory         = Y
> +Free memory                    = Y
> +CPU map device memory          = Y
> +CPU unmap device memory        = Y

The last 2 lines will be moved in the next patch implementing the feature.
  

Patch

diff --git a/doc/guides/gpus/features/cuda.ini b/doc/guides/gpus/features/cuda.ini
new file mode 100644
index 0000000000..eb1aff9a80
--- /dev/null
+++ b/doc/guides/gpus/features/cuda.ini
@@ -0,0 +1,12 @@ 
+;
+; Supported features of the 'cuda' gpu driver.
+;
+; Refer to default.ini for the full list of available PMD features.
+;
+[Features]
+Get device info                = Y
+Share CPU memory with device   = Y
+Allocate device memory         = Y
+Free memory                    = Y
+CPU map device memory          = Y
+CPU unmap device memory        = Y