From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH 8/9] Remove most checks of __BYTE_ORDER Date: Wed, 5 Oct 2016 11:44:49 -0600 Message-ID: <20161005174449.GG18636@obsidianresearch.com> References: <1475182076-5411-1-git-send-email-jgunthorpe@obsidianresearch.com> <1475182076-5411-9-git-send-email-jgunthorpe@obsidianresearch.com> <00e001d21a98$3265f6e0$9731e4a0$@opengridcomputing.com> <20160929222802.GC27229@obsidianresearch.com> <20160930000800.GA7570@obsidianresearch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Yishai Hadas Cc: Steve Wise , Steve Wise , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Tatyana Nikolova , Hal Rosenstock , Doug Ledford , Devesh Sharma , Sean Hefty , Bart Van Assche , "yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org" List-Id: linux-rdma@vger.kernel.org On Wed, Oct 05, 2016 at 06:16:45PM +0300, Yishai Hadas wrote: > Upon QP creation the code uses htonl for setting qp->doorbell_qpn (see > mlx4_create_qp_ex), later on this value is used without any change upon > writing a door bell. (see mmio_writel). No PCI swap is expected. Thanks, so the mlx drivers are doing what the kernel calls writel_be()? 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