mlx4: Replace PCI pool old API
authorRomain Perier <romain.perier@collabora.com>
Tue, 22 Aug 2017 11:46:58 +0000 (13:46 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 22 Aug 2017 17:59:46 +0000 (13:59 -0400)
commitb9f761aa78126d0937f6ab38d04aec4f9fcce1df
tree98907e787b40830a9f466eade4dabd627af48c1a
parent11880a5512ac51b9326507df9acc42a8bd13e2b7
mlx4: Replace PCI pool old API

The PCI pool API is deprecated. This commit replaces the PCI pool old
API by the appropriate function with the DMA pool API.

Signed-off-by: Romain Perier <romain.perier@collabora.com>
Acked-by: Peter Senna Tschudin <peter.senna@collabora.com>
Tested-by: Peter Senna Tschudin <peter.senna@collabora.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Acked-by: Doug Ledford <dledford@redhat.com>
Tested-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/net/ethernet/mellanox/mlx4/cmd.c
drivers/net/ethernet/mellanox/mlx4/mlx4.h