diff options
author | Christoph Hellwig <[email protected]> | 2017-12-20 14:25:11 +0100 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2018-01-17 17:55:06 +0100 |
commit | f65efd6dfe4e687637704f7023157fdee99913ca (patch) | |
tree | 4b85c85121343e0ef9cebfe8e1242210d789e9a6 /net/unix/sysctl_net_unix.c | |
parent | 0fd997d3f77296522e836f7002e8a0636c9886aa (diff) |
nvme-pci: clean up CMB initialization
Refactor the call to nvme_map_cmb, and change the conditions for probing
for the CMB. First remove the version check as NVMe TPs always apply
to earlier versions of the spec as well. Second check for the whole CMBSZ
register for support of the CMB feature instead of just the size field
inside of it to simplify the code a bit.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Logan Gunthorpe <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions