diff options
author | Shannon Nelson <snelson@pensando.io> | 2020-10-01 09:22:39 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-10-02 16:30:01 -0700 |
commit | 9576a36cc107ba206c182a6ae9fb179db6f32bef (patch) | |
tree | 2cbd663292236c313d04adfd2c1de0edec558b6c /drivers/scsi | |
parent | 7b419e658ff750045d12aaabdae4183660075592 (diff) |
ionic: contiguous memory for notifyq
The event notification queue is set up a little differently in the
NIC and so the notifyq q and cq descriptor structures need to be
contiguous, which got missed in an earlier patch that separated
out the q and cq descriptor allocations. That patch was aimed at
making the big tx and rx descriptor queue allocations easier to
manage - the notifyq is much smaller and doesn't need to be split.
This patch simply adds an if/else and slightly different code for
the notifyq descriptor allocation.
Fixes: ea5a8b09dc3a ("ionic: reduce contiguous memory allocation requirement")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions