RE: [EXTERNAL] [PATCH v2 3/9] crypto/ionic: add device commands

2024-06-01 Thread Akhil Goyal
> Subject: [EXTERNAL] [PATCH v2 3/9] crypto/ionic: add device commands > > This defines the device (register-based) commands. They are used for > device identification, setup, and teardown. > > Signed-off-by: Andrew Boyer > --- > drivers/crypto/ionic/ionic_crypto.h | 24 ++ > drivers/cryp

[PATCH v2 0/4] Add support for link speed lanes

2024-06-01 Thread Damodharam Ammepalli
NIC adapters can support speeds with different lanes configuration. This patchset will allow users: - get the Lanes capability per speed supported by the ethernet controller. - set the lanes configuration using a new CLI - Display the user configured lanes -- v1->v2 Added speed lanes capability

[PATCH v2 1/4] lib/ethdev: Add link_speed lanes support into rte lib

2024-06-01 Thread Damodharam Ammepalli
Update the eth_dev_ops structure with new function vectors to get and set number of speed lanes. This will help user to configure the same fixed speed with different number of lanes based on the physical carrier type. Signed-off-by: Damodharam Ammepalli Reviewed-by: Kalesh AP Reviewed-by: Ajit

[PATCH v2 2/4] testpmd: Add speed lanes to testpmd config and show command

2024-06-01 Thread Damodharam Ammepalli
Add speed lanes configuration and display commands support to testpmd. Also provide display the lanes info show device info. testpmd> testpmd> port stop 0 testpmd> port config 0 speed_lanes 4 testpmd> port config 0 speed 20 duplex full testpmd> port start 0 testpmd> show port summary 0 Number

[PATCH v2 3/4] lib/ethdev: add support for displaying lanes capability

2024-06-01 Thread Damodharam Ammepalli
Add new rte_lib callback to display ethernet controller's supporting speeds and bitmap of supported lanes per speed. The new command display looks like this. testpmd> show port 0 speed_lanes capabilities Supported speeds Valid lanes --- 10 Gbps

[PATCH v2 4/4] testpmd: add support for displaying lanes capability

2024-06-01 Thread Damodharam Ammepalli
Add a new api support that displays the speeds and bitmap of supported lanes configuration by the ethernet controller. This patch adds support in the testpmd cli chain. Signed-off-by: Damodharam Ammepalli --- app/test-pmd/cmdline.c | 128 + 1 file changed

[PATCH 0/2] validate actions in HWS table

2024-06-01 Thread Gregory Etelson
Validate flow actions before creation of HWS template table. Gregory Etelson (2): net/mlx5: fix access to PMD template API net/mlx5: validate flow actions in table creation drivers/net/mlx5/mlx5.h| 13 + drivers/net/mlx5/mlx5_flow.c | 15 +- drivers/net/mlx5/mlx5_flow.h

[PATCH 1/2] net/mlx5: fix access to PMD template API

2024-06-01 Thread Gregory Etelson
PMD activates HWS template API context during port configuration. There was no validation that the HWS context was activated before the PMD tried to process other template function calls. The patch adds HWS context validation. Fixes: b401400db24e ("net/mlx5: add port flow configuration") Signed

[PATCH 2/2] net/mlx5: validate flow actions in table creation

2024-06-01 Thread Gregory Etelson
Add basic actions validation before creating flow table. Signed-off-by: Gregory Etelson Acked-by: Dariusz Sosnowski --- drivers/net/mlx5/mlx5.h| 13 + drivers/net/mlx5/mlx5_flow.c | 15 +- drivers/net/mlx5/mlx5_flow.h | 33 ++- drivers/net/mlx5/mlx5_flow_dv.c| 20