summaryrefslogtreecommitdiff
path: root/drivers/net/ntb_netdev.c
diff options
context:
space:
mode:
authorAaron Sierra <asierra@xes-inc.com>2018-10-12 23:35:03 +0300
committerJon Mason <jdmason@kudzu.us>2018-11-01 04:20:05 +0300
commitfc5d1829f9bf3d8275322727c0e9a8baf268b7c6 (patch)
tree882b53242929fc4cc4ff3736ac52fcc5de1f0782 /drivers/net/ntb_netdev.c
parent846429bc998f4c42d9961c139ce82d0f76a51d35 (diff)
downloadlinux-fc5d1829f9bf3d8275322727c0e9a8baf268b7c6.tar.xz
NTB: transport: Try harder to alloc an aligned MW buffer
Be a little wasteful if the (likely CMA) message window buffer is not suitably aligned after our first attempt; allocate a buffer twice as big as we need and manually align our MW buffer within it. This was needed on Intel Broadwell DE platforms with intel_iommu=off Signed-off-by: Aaron Sierra <asierra@xes-inc.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers/net/ntb_netdev.c')
0 files changed, 0 insertions, 0 deletions