]> asedeno.scripts.mit.edu Git - linux.git/commit
mlxsw: resources: Add max cpu policers resource
authorNogah Frankel <nogahf@mellanox.com>
Fri, 25 Nov 2016 09:33:45 +0000 (10:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2016 02:22:14 +0000 (21:22 -0500)
commit2b77958bf4c80cf40fe669c7cf6b65861f9c2e09
treef5e6cd07f331bd908965fca5b44069a3dec7fa01
parent117b0dad2d54a4265f24eff1328ba594d9153f2a
mlxsw: resources: Add max cpu policers resource

Add a new resource to resources query: max cpu policers which tells us how
many policers can be used to limit the data rate to the cpu port.

Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/resources.h