linux_old1/include/linux/mlx4
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
..
cmd.h mlx4_core: Add "native" argument to mlx4_cmd and its callers (where needed) 2011-12-13 13:56:05 -05:00
cq.h mlx4_core: Add ethernet fields to CQE struct 2008-08-06 20:14:06 -07:00
device.h mlx4_core: mtts resources units changed to offset 2011-12-13 13:56:07 -05:00
doorbell.h
driver.h IB/mlx4: Handle protocol field in multicast table 2011-01-12 14:49:17 -08:00
qp.h net/mlx4_en: adding loopback support 2011-11-27 17:17:04 -05:00
srq.h