mlx4_core: Expose a few helpers to fill DMFS HW strucutures
authorHadar Hen Zion <hadarh@mellanox.com>
Wed, 24 Apr 2013 13:58:48 +0000 (13:58 +0000)
committerRoland Dreier <roland@purestorage.com>
Thu, 25 Apr 2013 00:51:30 +0000 (17:51 -0700)
commitc2c19dc3c9a1585e58804041e5a328cde425403a
tree9d869a0721ea8bae67f604aab06038eb5363e0e9
parentbcf372971d471f6cb4070adb7bfc987d8b3d21f2
mlx4_core: Expose a few helpers to fill DMFS HW strucutures

Re-arrange some of code which fills DMFS HW structures so we can use
it from within the core driver and from the IB driver too, e.g when
verbs DMFS structures are transformed into mlx4 hardware structs.

Also, add struct mlx4_flow_handle struct which will be of use by the
DMFS verbs flow in the IB driver.

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