summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-06-19 17:55:36 +0300
committerDavid S. Miller <davem@davemloft.net>2017-06-20 20:24:41 +0300
commitcd8da8bb0ec199d00f055fb6ceb4c15ce0aaf562 (patch)
tree0d05fdcee7e1f82fd4d602e777e6e68e5f1e219a /include/uapi/linux
parentcc07cb935aec4f608e059f3dcd6242a7ecc4a59b (diff)
downloadlinux-cd8da8bb0ec199d00f055fb6ceb4c15ce0aaf562.tar.xz
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>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions