]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite3ba44d9c3d85a2927e2622359b7f20cafd4ff5a
tree2a32573d804a9b7109988ae47a4fe23dbd41efdd
parent9c2e2b0da65da25ee22ec2ba3ffbbfacf5ca6fd8
net/mlx5: use mlx5_buf_alloc_node instead of mlx5_buf_alloc in mlx5_wq_ll_create

Commit 734a969d1d40 ("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: 734a969d1d40 ("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