Add comment explaining why CACHE_LINE_SIZE is defined in nvme_private.h
if not already defined elsewhere. Requested by: attilio MFC after: 3 days
This commit is contained in:
parent
d7c0528dab
commit
6a4189c5fd
@ -109,6 +109,10 @@ MALLOC_DECLARE(M_NVME);
|
|||||||
/* Maximum log page size to fetch for AERs. */
|
/* Maximum log page size to fetch for AERs. */
|
||||||
#define NVME_MAX_AER_LOG_SIZE (4096)
|
#define NVME_MAX_AER_LOG_SIZE (4096)
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Define CACHE_LINE_SIZE here for older FreeBSD versions that do not define
|
||||||
|
* it.
|
||||||
|
*/
|
||||||
#ifndef CACHE_LINE_SIZE
|
#ifndef CACHE_LINE_SIZE
|
||||||
#define CACHE_LINE_SIZE (64)
|
#define CACHE_LINE_SIZE (64)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user