net/mlx5: use mlx5_buf_alloc_node instead of mlx5_buf_alloc in mlx5_wq_ll_create
authorWang Sheng-Hui <shhuiw@foxmail.com>
Fri, 24 Jun 2016 00:52:11 +0000 (08:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Jun 2016 09:17:38 +0000 (05:17 -0400)
commitf299a02d5f13c4deb52c1a7ddf2b42630fe6294a
tree2a32573d804a9b7109988ae47a4fe23dbd41efdd
parentd1b5a8da298bc15f67e16f18aa0812c35fe639a2
net/mlx5: use mlx5_buf_alloc_node instead of mlx5_buf_alloc in mlx5_wq_ll_create

Commit 311c7c71c9bb ("net/mlx5e: Allocate DMA coherent memory on
reader NUMA node") introduced mlx5_*_alloc_node() but missed changing
some calling and warn messages. This patch introduces 2 changes:
* Use mlx5_buf_alloc_node() instead of mlx5_buf_alloc() in
  mlx5_wq_ll_create()
* Update the failure warn messages with _node postfix for
  mlx5_*_alloc function names

Fixes: 311c7c71c9bb ("net/mlx5e: Allocate DMA coherent memory on reader NUMA node")
Signed-off-by: Wang Sheng-Hui <shhuiw@foxmail.com>
Acked-By: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/wq.c