Re: mcx(4): sync only received length on RX

2021-05-31 Thread Jonathan Matthew
On Tue, Jun 01, 2021 at 08:20:43AM +1000, David Gwynne wrote: > > > > On 1 Jun 2021, at 04:15, Patrick Wildt wrote: > > > > Hi, > > > > mcx(4) seems to sync the whole mapsize on processing a received packet. > > As far as I know, we usually only sync the actual size that we have > > received.

Re: mcx(4): sync only received length on RX

2021-05-31 Thread David Gwynne
> On 1 Jun 2021, at 04:15, Patrick Wildt wrote: > > Hi, > > mcx(4) seems to sync the whole mapsize on processing a received packet. > As far as I know, we usually only sync the actual size that we have > received. Noticed this when doing bounce buffer tests, seeing that > it copied a lot

mcx(4): sync only received length on RX

2021-05-31 Thread Patrick Wildt
Hi, mcx(4) seems to sync the whole mapsize on processing a received packet. As far as I know, we usually only sync the actual size that we have received. Noticed this when doing bounce buffer tests, seeing that it copied a lot more data than is necessary. That's because the RX buffer size is