net/mlx4: Prepare VLAN macros for 802.1ad Hardware accelerated support
authorHadar Hen Zion <hadarh@mellanox.com>
Mon, 27 Jul 2015 11:46:33 +0000 (14:46 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 22:00:37 +0000 (15:00 -0700)
commite802f8e4c54e6adf4215ef9fa3d6eea8fcb10bf9
tree78b652b4b48ef6e99111d0b6365ef3adbf5649ee
parent7c509a48ff999463f698ed5082875a938094bfb3
net/mlx4: Prepare VLAN macros for 802.1ad Hardware accelerated support

To add Hardware accelerated support in 802.1ad vlan, replace
Current VLAN macros to CVLAN.
Replace:
MLX4_WQE_CTRL_INS_VLAN
MLX4_CQE_VLAN_PRESENT_MASK
With:
MLX4_WQE_CTRL_INS_CVLAN
MLX4_CQE_CVLAN_PRESENT_MASK

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/infiniband/hw/mlx4/cq.c
drivers/net/ethernet/mellanox/mlx4/en_rx.c
drivers/net/ethernet/mellanox/mlx4/en_tx.c
include/linux/mlx4/cq.h
include/linux/mlx4/qp.h