net/mlx4_core: Directly expose fields of HW flow steering rule control segment
authorHadar Hen Zion <hadarh@mellanox.com>
Wed, 30 Jan 2013 23:07:02 +0000 (23:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jan 2013 17:48:46 +0000 (12:48 -0500)
commit015465f85193fdc3a0debb1c9176433ba19140b2
treedaf121f5fd3e2859321c7047c75905c2c341f88c
parent1b13c97fae9c61dc20db8e0d0a72a29df29ac377
net/mlx4_core: Directly expose fields of HW flow steering rule control segment

Some of the fields for struct mlx4_net_trans_rule_hw_ctrl were packed into u32
and accessed through bit field operations. Expose and access them directly as
u8.

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/mcg.c
drivers/net/ethernet/mellanox/mlx4/mlx4.h
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c