Files
linux-stable-mirror/include/linux
Marcel Apfelbaum 2b8fb2867c mlx4_core: mtts resources units changed to offset
In the previous implementation mtts are managed by:
1. order     - log(mtt segments), 'mtt segment' groups several mtts together.
2. first_seg - segment location relative to mtt table.
In the current implementation:
1. order     - log(mtts) rather than segments
2. offset    - mtt index in mtt table

Note: The actual mtt allocation is made in segments but it is
      transparent to callers.

Rational: The mtt resource holders are not interested on how the allocation
          of mtt is done, but rather on how they will use it.

Signed-off-by: Marcel Apfelbaum <marcela@dev.mellanox.co.il>
Reviewed-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-12-13 13:56:07 -05:00
..
2011-12-11 18:25:16 -05:00
2011-11-07 09:11:16 -08:00
2011-12-11 18:25:16 -05:00
2011-11-16 09:21:50 +01:00
2011-11-07 23:54:53 +01:00
2011-11-26 14:59:39 -05:00
2011-12-11 18:25:16 -05:00
2011-11-16 17:43:08 -05:00
2011-11-16 22:00:34 -05:00
2011-11-23 11:33:07 +01:00
2011-11-16 18:16:38 -05:00
2011-11-13 16:10:10 -05:00
2011-12-11 18:25:16 -05:00
2011-11-13 16:10:10 -05:00
2011-12-12 19:04:10 -05:00
2011-11-14 00:47:54 -05:00
2011-11-29 11:59:50 +00:00
2011-12-04 13:20:39 -05:00
2011-12-06 13:58:01 -05:00