cadence_gem: Fix Rx buffer size field mask
This patch corrects the Rx buffer size field mask to mask bits 23 to 16 to match Xilinx UG585 documentation. Signed-off-by: Sai Pavan Boddu <saipava@xilinx.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
8b8f1c7e9d
commit
2801339f2f
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user