]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/net/ethernet/mellanox/mlx4/mcg.c
mlx4_core: Directly expose fields of DMFS HW rule control segment
authorHadar Hen Zion <hadarh@mellanox.com>
Wed, 24 Apr 2013 13:58:47 +0000 (13:58 +0000)
committerRoland Dreier <roland@purestorage.com>
Thu, 25 Apr 2013 00:51:29 +0000 (17:51 -0700)
commitbcf372971d471f6cb4070adb7bfc987d8b3d21f2
treed99f6faa007d10a1246a0f7a4853dff6e8b98d44
parentba60a3560ccf8e4253da9c0e8d1292375fd51796
mlx4_core: Directly expose fields of DMFS HW rule control segment

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

Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/net/ethernet/mellanox/mlx4/mcg.c
include/linux/mlx4/device.h