Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1637743
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] net: ethernet: ti: cpsw: adjust cpsw fifos depth for fullduplex flow control |
| Date | 2017-05-08 23:40 +0200 |
| Message-ID | <tEYxQ-SB-15@gated-at.bofh.it> (permalink) |
| References | <tEWw1-84h-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Grygorii Strashko <grygorii.strashko@ti.com> Date: Mon, 8 May 2017 14:21:21 -0500 > When users set flow control using ethtool the bits are set properly in the > CPGMAC_SL MACCONTROL register, but the FIFO depth in the respective Port n > Maximum FIFO Blocks (Pn_MAX_BLKS) registers remains set to the minimum size > reset value. When receive flow control is enabled on a port, the port's > associated FIFO block allocation must be adjusted. The port RX allocation > must increase to accommodate the flow control runout. The TRM recommends > numbers of 5 or 6. > > Hence, apply required Port FIFO configuration to > Pn_MAX_BLKS.Pn_TX_MAX_BLKS=0xF and Pn_MAX_BLKS.Pn_RX_MAX_BLKS=0x5 during > interface initialization. > > Cc: Schuyler Patton <spatton@ti.com> > Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Applied.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] net: ethernet: ti: cpsw: adjust cpsw fifos depth for fullduplex flow control Grygorii Strashko <grygorii.strashko@ti.com> - 2017-05-08 21:30 +0200 Re: [PATCH] net: ethernet: ti: cpsw: adjust cpsw fifos depth for fullduplex flow control David Miller <davem@davemloft.net> - 2017-05-08 23:40 +0200
csiph-web