summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2020-11-10 12:48:48 +0300
committerJakub Kicinski <kuba@kernel.org>2020-11-13 02:55:19 +0300
commitc1b290d594a12b4ed3b7386947162d5a061900b2 (patch)
tree38dbf9f3c0ec116f3e03452ae74d9a16c82e3cbe /drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h
parentd57ff022866660a66bcb6b10f1f114fd5521c3df (diff)
downloadlinux-c1b290d594a12b4ed3b7386947162d5a061900b2.tar.xz
mlxsw: spectrum_router: Introduce FIB event queue instead of separate works
Currently, every FIB event is queued-up as a separate work to be processed. However, that allows to process only one FIB entry per work callback. In preparation of future XMDR register bulking of multiple FIB entries, convert to FIB event queue. Implement this by a list_head, adding new events to the end of the list in the FIB notify callback. That allows to process multiple events from the list inside the work callback. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h')
0 files changed, 0 insertions, 0 deletions