linux_dsm_epyc7002/drivers/infiniband/hw/mlx5
Artemy Kovalyov 3e7e1193e2 IB: Replace ib_umem page_size by page_shift
Size of pages are held by struct ib_umem in page_size field.

It is better to store it as an exponent, because page size by nature
is always power-of-two and used as a factor, divisor or ilog2's argument.

The conversion of page_size to be page_shift allows to have portable
code and avoid following error while compiling on ARM:

  ERROR: "__aeabi_uldivmod" [drivers/infiniband/core/ib_core.ko] undefined!

CC: Selvin Xavier <selvin.xavier@broadcom.com>
CC: Steve Wise <swise@chelsio.com>
CC: Lijun Ou <oulijun@huawei.com>
CC: Shiraz Saleem <shiraz.saleem@intel.com>
CC: Adit Ranadive <aditr@vmware.com>
CC: Dennis Dalessandro <dennis.dalessandro@intel.com>
CC: Ram Amrani <Ram.Amrani@Cavium.com>
Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Acked-by: Ram Amrani <Ram.Amrani@cavium.com>
Acked-by: Shiraz Saleem <shiraz.saleem@intel.com>
Acked-by: Selvin Xavier <selvin.xavier@broadcom.com>
Acked-by: Selvin Xavier <selvin.xavier@broadcom.com>
Acked-by: Adit Ranadive <aditr@vmware.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-04-25 15:40:28 -04:00
..
ah.c IB/mlx5: Use kernel driver to help userspace create ah 2016-12-13 13:38:49 -05:00
cmd.c IB/mlx5: Support congestion related counters 2017-04-21 12:29:31 -04:00
cmd.h IB/mlx5: Support congestion related counters 2017-04-21 12:29:31 -04:00
cq.c IB/mlx5: Set correct SL in completion for RoCE 2017-04-21 12:29:31 -04:00
doorbell.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
gsi.c IB/mlx5: Fix iteration overrun in GSI qps 2016-08-02 14:32:51 -04:00
ib_virt.c IB/mlx5: Implement callbacks for manipulating VFs 2016-03-21 17:13:14 -04:00
Kconfig net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality 2015-05-30 18:24:51 -07:00
mad.c IB: Query ports via the core instead of direct into the driver 2017-02-14 11:41:22 -05:00
main.c IB/mlx5: Add support for active_width and active_speed in RoCE 2017-04-21 12:58:41 -04:00
Makefile IB/mlx5: Add null_mkey access 2017-02-14 11:41:18 -05:00
mem.c IB: Replace ib_umem page_size by page_shift 2017-04-25 15:40:28 -04:00
mlx5_ib.h IB/mlx5: Support congestion related counters 2017-04-21 12:29:31 -04:00
mr.c This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
odp.c IB: Replace ib_umem page_size by page_shift 2017-04-25 15:40:28 -04:00
qp.c IB/mlx5: Support congestion related counters 2017-04-21 12:29:31 -04:00
srq.c IB/mlx5: Fix out-of-bound access 2017-02-14 10:14:25 -05:00