commit | 178f69b4776ea5e6c1dc1240d447d9c76e32c839 | [log] [tgz] |
---|---|---|
author | Eli Cohen <eli@mellanox.com> | Thu Feb 13 11:12:16 2020 +0200 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Thu Feb 27 16:40:39 2020 -0800 |
tree | 9e8dfc319cc3da2e7d9423239c3f636083c5c9e6 | |
parent | dec481c86e741b9ec94cb7867dbf253d6bca5e43 [diff] |
net/mlx5e: Reduce number of arguments in slow path handling mlx5e_tc_offload_to_slow_path() and mlx5e_tc_unoffload_from_slow_path() take an extra argument allocated on the stack of the caller but not used by the caller. Avoid the extra argument and use local variable in the function itself. Signed-off-by: Eli Cohen <eli@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>