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)
commitbe0f780bc50a00216ca9c7dc63485e2fc31bf8c8
tree138468803402bff5007b4c9a5b7c93e49cf52807
parent707129dceaf4b8c4721425d75e855aed4fd7b832
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