Project

General

Profile

Actions

Bug #7294

closed

several small nvme fixes from Tegile

Added by Hans Rosenfeld almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
driver - device drivers
Start date:
2016-08-11
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

Tegile sent me a handful of small nvme fixes for obvious botches:
  • test against n_ignore_unknown_vendor_status in nvme_check_vendor_cmd_status() should be inverted
  • in nvme_set_nqueues(), value of nqueues is 0-based
  • in nvme_init(), need to set the size of the SQ and CQ entries for the NVM command set; D3700 fails I/O Q creation otherwise
  • in nvme_init(), when releasing unused interrupts, s/nqueues/nvme_n_ioq_count/ in the call to nvme_setup_interrupts()
  • in nvme_get_logpage(), initialize getlogpage union zero; D3700 barfs on non-zero reserved fields
Actions

Also available in: Atom PDF