diff options
author | Yotam Gigi <yotamg@mellanox.com> | 2017-09-27 08:23:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-27 11:33:27 -0700 |
commit | 478e4c2f0067d57d7c17059caafab026ca32084a (patch) | |
tree | 26862cf869570e240ab2f6bf99fd0431ea1526e0 /arch/ia64/kernel | |
parent | c7c0bbeae9501a7e42f2fd306d6a6399aca688b6 (diff) | |
download | linux-478e4c2f0067d57d7c17059caafab026ca32084a.tar.bz2 |
net: mroute: Check if rule is a default rule
When the ipmr starts, it adds one default FIB rule that matches all packets
and sends them to the DEFAULT (multicast) FIB table. A more complex rule
can be added by user to specify that for a specific interface, a packet
should be look up at either an arbitrary table or according to the l3mdev
of the interface.
For drivers willing to offload the ipmr logic into a hardware but don't
want to offload all the FIB rules functionality, provide a function that
can indicate whether the FIB rule is the default multicast rule, thus only
one routing table is needed.
This way, a driver can register to the FIB notification chain, get
notifications about FIB rules added and trigger some kind of an internal
abort mechanism when a non default rule is added by the user.
Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/ia64/kernel')
0 files changed, 0 insertions, 0 deletions