summaryrefslogtreecommitdiff
path: root/drivers/gpu/host1x/bus.c
diff options
context:
space:
mode:
authorIsrael Rukshin <israelr@mellanox.com>2020-05-19 17:05:54 +0300
committerChristoph Hellwig <hch@lst.de>2020-05-27 08:12:39 +0300
commitba7ca2ae029607c7eb2c18e37e8bc0d2252d3d12 (patch)
tree20ee80eb43ebdff6d6b5dbdd620fc8a5598a003b /drivers/gpu/host1x/bus.c
parent33cfdc2aa6969829f42640f758357e4b015e9f7d (diff)
downloadlinux-ba7ca2ae029607c7eb2c18e37e8bc0d2252d3d12.tar.xz
nvme: introduce NVME_INLINE_METADATA_SG_CNT
SGL size of metadata is usually small. Thus, 1 inline sg should cover most cases. The macro will be used for pre-allocate a single SGL entry for metadata. The preallocation of small inline SGLs depends on SG_CHAIN capability so if the ARCH doesn't support SG_CHAIN, use the runtime allocation for the SGL. This patch is a preparation for adding metadata (T10-PI) over fabric support. Signed-off-by: Israel Rukshin <israelr@mellanox.com> Signed-off-by: Max Gurtovoy <maxg@mellanox.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: James Smart <james.smart@broadcom.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/gpu/host1x/bus.c')
0 files changed, 0 insertions, 0 deletions