summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@mellanox.com>2016-11-30 17:59:37 +0200
committerDavid S. Miller <davem@davemloft.net>2016-12-02 10:47:01 -0500
commit1c1b522808a18402f043c1418b4e48c7355480cc (patch)
treeab6a81cf98628e39cc8f570887487c136b08d92e /lib/debugobjects.c
parent6c0c62035ea51fcacbfa408f991cae767e30b116 (diff)
net/mlx5e: Implement Fragmented Work Queue (WQ)
Add new type of struct mlx5_frag_buf which is used to allocate fragmented buffers rather than contiguous, and make the Completion Queues (CQs) use it as they are big (default of 2MB per CQ in Striding RQ). This fixes the failures of type: "mlx5e_open_locked: mlx5e_open_channels failed, -12" due to dma_zalloc_coherent insufficient contiguous coherent memory to satisfy the driver's request when the user tries to setup more or larger rings. Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Reported-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions