]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6e68c75cf972cbc12841dd81903d577e38220669
treedaf121f5fd3e2859321c7047c75905c2c341f88c
parent292345f9bca8784a693bfc8d80c0b4ca91b4c355
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