[RFC 2/8] cxgb4: setup pcie memory window 4 and create p2pmem region

Logan Gunthorpe logang at deltatee.com
Tue Apr 4 08:56:48 PDT 2017



On 04/04/17 04:42 AM, Sagi Grimberg wrote:
> This is weird, why even call this if !use_p2pmem?

I personally find it cleaner than:

if (use_p2pmem)
	setup_memwin_p2pmem(...)

I'm not sure why that's so weird.

Logan



More information about the Linux-nvme mailing list