> -----Original Message----- > From: Lobakin, Aleksander <aleksander.lobakin@xxxxxxxxx> > Sent: Thursday, July 25, 2024 8:52 AM > To: Hay, Joshua A <joshua.a.hay@xxxxxxxxx>; Nikolova, Tatyana E > <tatyana.e.nikolova@xxxxxxxxx> > Cc: jgg@xxxxxxxxxx; leon@xxxxxxxxxx; linux-rdma@xxxxxxxxxxxxxxx; Ismail, > Mustafa <mustafa.ismail@xxxxxxxxx> > Subject: Re: [RFC PATCH 09/25] idpf: implement get lan mmio memory regions > > From: Tatyana Nikolova <tatyana.e.nikolova@xxxxxxxxx> > Date: Wed, 24 Jul 2024 18:39:01 -0500 > > > From: Joshua Hay <joshua.a.hay@xxxxxxxxx> > > > > The rdma driver needs to map its own mmio regions for the sake of > > performance, meaning the idpf needs to avoid mapping portions of the > > bar space. However, to be vendor agnostic, the idpf cannot assume > > where these are and must avoid mapping hard coded regions. Instead, > > the idpf will map the bare minimum to load and communicate with the > > control plane, i.e. the mailbox registers and the reset state > > registers. The idpf will then call a new virtchnl op to fetch a list > > of mmio regions that it should map. All other registers will calculate > > which region they should store their address from. > > Pls Cc netdev and IWL next time. [Tatyana