[PATCH v3 0/4] ethdev: rework config restore
Ferruh Yigit
ferruh.yigit at amd.com
Fri Oct 11 23:25:17 CEST 2024
On 10/11/2024 7:51 PM, Dariusz Sosnowski wrote:
> This patch series reworks the config restore procedure,
> so that drivers are able to enable/disable certain parts of it.
> Drivers can provide get_restore_flags() callback,
> which will indicate to ethdev library what configuration to restore.
>
> If callback is not defined, then ethdev assumes that
> all configuration must be restored, preserving the current behavior for all drivers.
>
> This patch series also includes implementation of get_restore_flags()
> for mlx5 PMD, which does not require config restore.
>
> RFC: https://inbox.dpdk.org/dev/20240918092201.33772-1-dsosnowski@nvidia.com/
>
> v3:
> - Change type for restore flags to uint64_t.
> - Return restore flags from rte_eth_get_restore_flags() directly,
> instead of returning through pointer.
> v2:
> - Fix typos in API docs.
>
> Dariusz Sosnowski (4):
> ethdev: rework config restore
> ethdev: add get restore flags driver callback
> ethdev: restore config only when requested
> net/mlx5: disable config restore
>
For series,
Acked-by: Ferruh Yigit <ferruh.yigit at amd.com>
Series applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list