]> 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)
commit8845a8d5e4d5c4e6ef8465e2541a5bfb037b5b55
treee6d1b1a87d1c70dca2e1b05995f4c15728b156c0
parent8f0b36c171e82448dc2fc1703ed3a7ebf3a86506
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