]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Add a helper macro in set features ndo
authorGal Pressman <galp@mellanox.com>
Thu, 11 Jan 2018 16:46:20 +0000 (18:46 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 26 Mar 2018 20:47:16 +0000 (13:47 -0700)
commita610be2864b4444307d63a03818c6dfd2c171bae
tree138468803402bff5007b4c9a5b7c93e49cf52807
parent207f2f363b4db62c191879435c8707240147ca84
net/mlx5e: Add a helper macro in set features ndo

Add a new macro to prevent copy-pasting the same code for each new
feature.

Signed-off-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c