]> 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)
commit52e4ae498ec4071250923b6f16704bc691505260
treedaf121f5fd3e2859321c7047c75905c2c341f88c
parent43aaf23d62647f301a86fbf01b41f53b94809d21
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