RE: [PATCH net v2 2/2] dpaa_eth: fix the RX headroom size alignment

2020-11-02 Thread Camelia Alexandra Groza
> -Original Message- > From: Jakub Kicinski > Sent: Saturday, October 31, 2020 03:44 > To: Camelia Alexandra Groza > Cc: willemdebruijn.ker...@gmail.com; Madalin Bucur (OSS) > ; da...@davemloft.net; > netdev@vger.kernel.org > Subject: Re: [PATCH net v2 2/2] dpaa_

Re: [PATCH net v2 2/2] dpaa_eth: fix the RX headroom size alignment

2020-10-30 Thread Jakub Kicinski
On Wed, 28 Oct 2020 18:41:00 +0200 Camelia Groza wrote: > @@ -2842,7 +2842,8 @@ static int dpaa_ingress_cgr_init(struct dpaa_priv *priv) > return err; > } > > -static inline u16 dpaa_get_headroom(struct dpaa_buffer_layout *bl) > +static inline u16 dpaa_get_headroom(struct dpaa_buffer_layout

Re: [PATCH net v2 2/2] dpaa_eth: fix the RX headroom size alignment

2020-10-28 Thread Willem de Bruijn
On Wed, Oct 28, 2020 at 12:41 PM Camelia Groza wrote: > > The headroom reserved for received frames needs to be aligned to an > RX specific value. There is currently a discrepancy between the values > used in the Ethernet driver and the values passed to the FMan. > Coincidentally, the resulting al