mbox series

[net-next,v2,0/3] dpaa2-eth: misc cleanup

Message ID 1570448308-16248-1-git-send-email-ioana.ciornei@nxp.com
Headers show
Series dpaa2-eth: misc cleanup | expand

Message

Ioana Ciornei Oct. 7, 2019, 11:38 a.m. UTC
This patch set consists of some cleanup patches ranging from removing dead
code to fixing a minor issue in ethtool stats. Also, unbounded while loops
are removed from the driver by adding a maximum number of retries for DPIO
portal commands.

Changes in v2:
 - return -ETIMEDOUT where possible if the number of retries is hit

Ioana Radulescu (3):
  dpaa2-eth: Cleanup dead code
  dpaa2-eth: Fix minor bug in ethtool stats reporting
  dpaa2-eth: Avoid unbounded while loops

 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c   | 39 ++++++++++++++--------
 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h   |  8 +++++
 .../net/ethernet/freescale/dpaa2/dpaa2-ethtool.c   |  2 +-
 3 files changed, 35 insertions(+), 14 deletions(-)

Comments

David Miller Oct. 7, 2019, 2:08 p.m. UTC | #1
From: Ioana Ciornei <ioana.ciornei@nxp.com>
Date: Mon,  7 Oct 2019 14:38:25 +0300

> This patch set consists of some cleanup patches ranging from removing dead
> code to fixing a minor issue in ethtool stats. Also, unbounded while loops
> are removed from the driver by adding a maximum number of retries for DPIO
> portal commands.
> 
> Changes in v2:
>  - return -ETIMEDOUT where possible if the number of retries is hit

Series applied.