From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: How far back does rdma-core X supports the kernel Y? Date: Wed, 1 Nov 2017 12:00:01 -0600 Message-ID: <20171101180001.GH1030@ziepe.ca> References: <20171101163915.GB1030@ziepe.ca> <287a10c2-15a7-0748-c59e-3f084e7538f4@dev.mellanox.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <287a10c2-15a7-0748-c59e-3f084e7538f4-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Yishai Hadas Cc: "Amrani, Ram" , "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "Elior, Ariel" , "Kalderon, Michal" , Matan Barak , Bodong Wang , Yishai Hadas List-Id: linux-rdma@vger.kernel.org > > if (attr_mask & ~((1ULL << (IBV_QP_DEST_QPN + 1)) - 1)) > > The above rdma-core code is correct, look at verbs.h: > IBV_QP_DEST_QPN = 1 << 20, Okay, then it should be if (attr_mask & ~(IB_QP_RATE_LIMIT - 1)) Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html