• Ido Schimmel's avatar
    mlxsw: spectrum: Add packet traps for BFD packets · 9785b92b
    Ido Schimmel authored
    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: default avatarIdo Schimmel <idosch@mellanox.com>
    Reviewed-by: default avatarJiri Pirko <jiri@mellanox.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    9785b92b
reg.h 313 KB