[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161215172437.GA11387@obsidianresearch.com>
Date: Thu, 15 Dec 2016 10:24:37 -0700
From: Jason Gunthorpe <jgunthorpe@...idianresearch.com>
To: "Hefty, Sean" <sean.hefty@...el.com>
Cc: "Vishwanathapura, Niranjana" <niranjana.vishwanathapura@...el.com>,
"dledford@...hat.com" <dledford@...hat.com>,
"linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"Dalessandro, Dennis" <dennis.dalessandro@...el.com>,
"Weiny, Ira" <ira.weiny@...el.com>,
"Warrier, Sadanand" <sadanand.warrier@...el.com>,
"Dutt, Sudeep" <sudeep.dutt@...el.com>,
"Jajodia, Tanya K" <tanya.k.jajodia@...el.com>,
"Kacprowski, Andrzej" <Andrzej.Kacprowski@...el.com>
Subject: Re: [RFC v2 03/10] IB/hfi-vnic: Virtual Network Interface Controller
(VNIC) netdev
On Thu, Dec 15, 2016 at 05:21:05PM +0000, Hefty, Sean wrote:
> > This goes on the network too? Also looks like it has endian problems.
>
> I don't think OPA supports BE systems, and I think it uses LE on the
> wire for at least some portions of its protocol.
This is a linux driver for a PCI device.
It needs to support big endian systems, that is how we do things in
Linux.
If it uses LE on the wire then mark with __le and make it sparse clean.
Do not use bitfields without providing a BE version of the bitfield.
Jason
Powered by blists - more mailing lists