diff options
author | David S. Miller <davem@davemloft.net> | 2016-11-25 21:22:28 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-25 21:22:28 -0500 |
commit | e5f12b3f5ebb8a6ffd3864a04f687ea0ef78a48a (patch) | |
tree | 7bb70843f9279d31ad544cbf9bc87e10d1751c3b /drivers/net/ethernet/synopsys/dwc_eth_qos.c | |
parent | eafa6abd99eadb8971c01a4c591295ac4d8d0a9b (diff) | |
parent | 9148e7cf73ced9bf9d2a1104f6ab3b69303662a2 (diff) | |
download | linux-e5f12b3f5ebb8a6ffd3864a04f687ea0ef78a48a.tar.bz2 |
Merge branch 'mlxsw-trap-groups-and-policers'
Jiri Pirko says:
====================
mlxsw: traps, trap groups and policers
Nogah says:
For a packet to be sent from the HW to the cpu, it needs to be trapped.
For a trap to be activate it should be assigned to a trap group.
Those trap groups can have policers, to limit the packet rate (the max
number of packets that can be sent to the cpu in a time slot, the rest
will be discarded) or the data rate (the same, but the count is not by the
number of packets but by their total length in bytes).
This patchset rearrange the trap setting API, re-write the traps and the
trap groups list in spectrum and assign them policers.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/synopsys/dwc_eth_qos.c')
0 files changed, 0 insertions, 0 deletions