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

From: Logan Gunthorpe
Date: Tue Apr 04 2017 - 11:57:01 EST




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