]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Demultiplex FIB event based on family
authorIdo Schimmel <idosch@mellanox.com>
Thu, 3 Aug 2017 11:28:26 +0000 (13:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Aug 2017 22:36:00 +0000 (15:36 -0700)
commitc607eae051e513b6fbf4d6dded8ac06fde311f87
tree857f1ff2665a20c82859702a8c319ef879972dfd
parentffb9ec4ce4e451608381c09309bf3f1d4ba12692
mlxsw: spectrum_router: Demultiplex FIB event based on family

The FIB notification block currently only handles IPv4 events, but we
want to start handling IPv6 events soon, so lay the groundwork now.

Do that by preparing the work item and process it according to the
notified address family.

Signed-off-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/spectrum_router.c