RE: [PATCH net-next] dpaa2-eth: Add pause frame support

2019-08-26 Thread Ioana Ciocoi Radulescu
> -Original Message- > From: Andrew Lunn > Sent: Friday, August 23, 2019 7:31 PM > To: Ioana Ciocoi Radulescu > Cc: netdev@vger.kernel.org; da...@davemloft.net; Ioana Ciornei > > Subject: Re: [PATCH net-next] dpaa2-eth: Add pause frame support > > > --- a/

Re: [PATCH net-next] dpaa2-eth: Add pause frame support

2019-08-23 Thread Andrew Lunn
> --- a/drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c > +++ b/drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c > @@ -78,29 +78,20 @@ static int > dpaa2_eth_get_link_ksettings(struct net_device *net_dev, >struct ethtool_link_ksettings *link_settings) > { > -

[PATCH net-next] dpaa2-eth: Add pause frame support

2019-08-23 Thread Ioana Radulescu
Starting with firmware version MC10.18.0, we have support for L2 flow control. Asymmetrical configuration (Rx or Tx only) is supported, but not pause frame autonegotioation. The hardware can automatically send pause frames when the number of buffers in the pool goes below a predefined threshold. D