[PATCH v4 net-next 02/14] net: enetc: add command BD ring support for i.MX95 ENETC
Michal Kubiak
michal.kubiak at intel.com
Tue Mar 11 23:22:21 AEDT 2025
On Tue, Mar 11, 2025 at 01:38:18PM +0800, Wei Fang wrote:
> The command BD ring is used to configure functionality where the
> underlying resources may be shared between different entities or being
> too large to configure using direct registers (such as lookup tables).
>
> Because the command BD and table formats of i.MX95 and LS1028A are very
> different, the software processing logic is also different. In order to
> ensure driver compatibility, struct enetc_si_ops is introduced. This
> structure defines some hooks shared by VSI and PSI. Different hardware
> driver will register different hooks, For example, setup_cbdr() is used
> to initialize the command BD ring, and teardown_cbdr() is used to free
> the command BD ring.
>
> Signed-off-by: Wei Fang <wei.fang at nxp.com>
Thanks,
Reviewed-by: Michal Kubiak <michal.kubiak at intel.com>
More information about the Linuxppc-dev
mailing list