Re: [PATCH net-next v7 4/9] net: dsa: lan9645x: add basic dsa driver for LAN9645X

From: Andrew Lunn

Date: Wed Jun 03 2026 - 08:39:30 EST


On Wed, Jun 03, 2026 at 09:25:23AM +0200, Jens Emil Schulz Østergaard wrote:
> Add the LAN9645X basic DSA driver with initialization, parent regmap
> requests, port module initialization for NPI, CPU ports and front ports,
> and phylink integration for MAC side configuration.

A terminology question. How does a NPI port differ from the CPU port?
The datasheet defines NPI as "Node Processor Interface", which sounds
a lot like the CPU port.

4.18 CPU Port Module

The CPU port module (DEVCPU) contains eight CPU extraction queues
and two CPU injection queues. These queues provide an interface for
exchanging frames between an external CPU system and the switch. In
addition, any Ethernet interface on the device can be used for
extracting and injecting frames. The Ethernet interface used in this
way is called a node processor interface (NPI).

Andrew