[PATCH] ethdev: fix get_reg_info
Stephen Hemminger
stephen at networkplumber.org
Mon Mar 10 16:34:33 CET 2025
On Fri, 7 Mar 2025 17:40:17 +0800
fengchengwen <fengchengwen at huawei.com> wrote:
> I think there are ambiguities in the original API definition:
> 1) the width was used as an output parameter in current all PMD impl.
> 2) the offset was unused in current all PMD impl.
>
> But maybe other non-opensource PMD will use these two field.
> So I think it's OK to copy the two fields (maybe another field "version") before invoke _ext API.
It is not necessary to accommodate drivers not in the current tree. If they get broken, not our problem.
Having a stable driver API was never agreed to.
More information about the dev
mailing list