linux_dsm_epyc7002/drivers/net/dsa/mv88e6xxx
Vivien Didelot cd8da8bb0e net: dsa: mv88e6xxx: add irl_init_all op
Some Marvell chips have an Ingress Rate Limit unit. But the command
values slightly differs between models: 88E6352 use 3-bit for operations
while 88E6390 use different 2-bit operations.

This commit kills the IRL flags in favor of a new operation implementing
the "Init all resources to the initial state" operation.

This fixes the operation of 88E6390 family where 0x1000 means Read the
selected resource 0, register 0 on port 16, instead of init all.

A mv88e6xxx_irl_setup helper is added to wrap the operation call.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-20 13:24:41 -04:00
..
chip.c net: dsa: mv88e6xxx: add irl_init_all op 2017-06-20 13:24:41 -04:00
chip.h net: dsa: mv88e6xxx: add irl_init_all op 2017-06-20 13:24:41 -04:00
global1_atu.c net: dsa: mv88e6xxx: prefix Global ATU macros 2017-06-15 14:07:48 -04:00
global1_vtu.c net: dsa: mv88e6xxx: prefix Global VTU macros 2017-06-15 14:07:49 -04:00
global1.c net: dsa: mv88e6xxx: prefix Global Stats macros 2017-06-15 14:07:50 -04:00
global1.h net: dsa: mv88e6xxx: prefix Global Prio and Tag macros 2017-06-15 14:07:50 -04:00
global2.c net: dsa: mv88e6xxx: add irl_init_all op 2017-06-20 13:24:41 -04:00
global2.h net: dsa: mv88e6xxx: add irl_init_all op 2017-06-20 13:24:41 -04:00
Kconfig net: dsa: mv88e6xxx: Select IRQ_DOMAIN 2016-11-18 13:54:22 -05:00
Makefile net: dsa: mv88e6xxx: Refactor mv88e6352 SERDES code into an op 2017-05-26 15:00:44 -04:00
phy.c net: dsa: mv88e6xxx: prefix PHY macros 2017-06-09 12:11:00 -04:00
phy.h net: dsa: mv88e6xxx: prefix PHY macros 2017-06-09 12:11:00 -04:00
port.c net: dsa: mv88e6xxx: prefix remaining port macros 2017-06-13 11:23:12 -04:00
port.h net: dsa: mv88e6xxx: prefix remaining port macros 2017-06-13 11:23:12 -04:00
serdes.c net: dsa: mv88e6xxx: prefix Port Status macros 2017-06-13 11:23:09 -04:00
serdes.h net: dsa: mv88e6xxx: rename chip header 2017-06-04 20:07:40 -04:00