Re: [PATCH 8/9] Remove most checks of __BYTE_ORDER

Jason Gunthorpe
2016-10-05T17:44:49Z

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