]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: introduce .port_set_policy
authorVivien Didelot <vivien.didelot@gmail.com>
Sat, 7 Sep 2019 20:00:48 +0000 (16:00 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Sep 2019 15:53:31 +0000 (16:53 +0100)
commit70979c14ddc8e524524583e879873eea74470230
tree4982976070df68c0a281c211e8bd5575e90538e2
parentbc6ba047989ac8259725ede60c1167835d01ea94
net: dsa: mv88e6xxx: introduce .port_set_policy

Introduce a new .port_set_policy operation to configure a port's
Policy Control List, based on mapping such as DA, SA, Etype and so on.

Models similar to 88E6352 and 88E6390 are supported at the moment.

Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/chip.h
drivers/net/dsa/mv88e6xxx/port.c
drivers/net/dsa/mv88e6xxx/port.h