diff options
author | Ido Schimmel <idosch@mellanox.com> | 2020-05-26 02:05:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-26 20:33:58 -0700 |
commit | 9785b92b4443f2862495c9aa0ee8caed6f43523d (patch) | |
tree | 64e01ee5343b3f823b040e1e81a947d21e8afbde /drivers/rtc/dev.c | |
parent | dacc4e3acf542ce4c8a6dcc1a350decb443cf7f3 (diff) | |
download | linux-9785b92b4443f2862495c9aa0ee8caed6f43523d.tar.bz2 |
mlxsw: spectrum: Add packet traps for BFD packets
Bidirectional Forwarding Detection (BFD) provides "low-overhead,
short-duration detection of failures in the path between adjacent
forwarding engines" (RFC 5880).
This is accomplished by exchanging BFD packets between the two
forwarding engines. Up until now these packets were trapped via the
general local delivery (i.e., IP2ME) trap which also traps a lot of
other packets that are not as time-sensitive as BFD packets.
Expose dedicated traps for BFD packets so that user space could
configure a dedicated policer for them.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/rtc/dev.c')
0 files changed, 0 insertions, 0 deletions