On Thu, May 28, 2015 at 11:22 PM, Sai Pavan Boddu <sai.pavan.bo...@xilinx.com> wrote: > This patch corrects the Rx buffer size field mask to mask bits 23 to 16 > > Signed-off-by: Sai Pavan Boddu <saip...@xilinx.com> > Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com>
Matches Xilinx UG585 documentation. Reviewed-by: Peter Crosthwaite <peter.crosthwa...@xilinx.com> Can this go via the trivial queue? Regards, Peter > --- > hw/net/cadence_gem.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/hw/net/cadence_gem.c b/hw/net/cadence_gem.c > index dafe914..494a346 100644 > --- a/hw/net/cadence_gem.c > +++ b/hw/net/cadence_gem.c > @@ -155,7 +155,7 @@ > #define GEM_NWCFG_BCAST_REJ 0x00000020 /* Reject broadcast packets */ > #define GEM_NWCFG_PROMISC 0x00000010 /* Accept all packets */ > > -#define GEM_DMACFG_RBUFSZ_M 0x007F0000 /* DMA RX Buffer Size mask */ > +#define GEM_DMACFG_RBUFSZ_M 0x00FF0000 /* DMA RX Buffer Size mask */ > #define GEM_DMACFG_RBUFSZ_S 16 /* DMA RX Buffer Size shift */ > #define GEM_DMACFG_RBUFSZ_MUL 64 /* DMA RX Buffer Size multiplier */ > #define GEM_DMACFG_TXCSUM_OFFL 0x00000800 /* Transmit checksum offload */ > -- > 1.7.4 > >