net/mlx4_en: Prepare ethtool private flags to support more flags
authorHadar Hen Zion <hadarh@mellanox.com>
Mon, 27 Jul 2015 11:46:32 +0000 (14:46 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 22:00:36 +0000 (15:00 -0700)
commit7c509a48ff999463f698ed5082875a938094bfb3
treecf0e7df5c53bf69665c75d71d899e5b5a807918c
parent77fc29c4bbbbd01ee22c50ce8260fd0f2e08c124
net/mlx4_en: Prepare ethtool private flags to support more flags

Currently we support only one ethtool private flag. Prepare
mlx4_en_set_priv_flags function to support more than one private flag.
Will be used in the next patch to support hardware accelerated 802.1ad
vlan.

Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c