summaryrefslogtreecommitdiff
path: root/sound/isa/sb/sbawe.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/isa/sb/sbawe.c')
0 files changed, 0 insertions, 0 deletions
xt.git/commit/drivers?h=nds-private-remove&id=013b20f953ab011ffb5d203a07b981bad16342f4'>013b20f953ab011ffb5d203a07b981bad16342f4 (diff)
mlxsw: spectrum_router: Determine offload status using generic function
The previous patch introduced a generic function to determine whether a route should be offloaded or not. Make use of it here. In the future we're going to add more conditions to this test (e.g., whether TOS is non-zero), so it makes sense to centralize it instead of open coding it in a few places. 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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c