]> git.baikalelectronics.ru Git - kernel.git/commit
net: lan966x: Add PGID_GP_START and PGID_GP_END
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Tue, 4 Jan 2022 15:33:37 +0000 (16:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Jan 2022 11:25:13 +0000 (11:25 +0000)
commitca8eafb039f492992b89abc88d7a605c45d895ae
treee6d1b1a87d1c70dca2e1b05995f4c15728b156c0
parentbf67919ecce7a51cf24dc615e61d4eb416172a98
net: lan966x: Add PGID_GP_START and PGID_GP_END

The first entries in the PGID table are used by the front ports while
the last entries are used for different purposes like flooding mask,
copy to CPU, etc. So add these macros to define which entries can be
used for general purpose.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/lan966x/lan966x_main.h