On Tue, Mar 11, 2025 at 01:38:17PM +0800, Wei Fang wrote: > Some NETC functionality is controlled using control messages sent to the > hardware using BD ring interface with 32B descriptor similar to transmit > BD ring used on ENETC. This BD ring interface is referred to as command > BD ring. It is used to configure functionality where the underlying > resources may be shared between different entities or being too large to > configure using direct registers. Therefore, a messaging protocol called > NETC Table Management Protocol (NTMP) is provided for exchanging > configuration and management information between the software and the > hardware using the command BD ring interface. > > For i.MX95, NTMP has been upgraded to version 2.0, which is incompatible > with LS1028A, because the message formats have been changed. Therefore, > add the netc-lib driver to support NTMP 2.0 to operate various tables. > Note that, only MAC address filter table and RSS table are supported at > the moment. More tables will be supported in subsequent patches. > > It is worth mentioning that the purpose of the netc-lib driver is to > provide some NTMP-based generic interfaces for ENETC and NETC Switch > drivers. Currently, it only supports the configurations of some tables. > Interfaces such as tc flower and debugfs will be added in the future. > > Signed-off-by: Wei Fang <wei.f...@nxp.com>
The patch looks OK to me. Thanks, Reviewed-by: Michal Kubiak <michal.kub...@intel.com>