netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv4 net-next 00/13] net: mvpp2: misc improvements and preparation patches
@ 2017-02-21 10:28 Thomas Petazzoni
  2017-02-21 10:28 ` [PATCHv4 net-next 01/13] net: mvpp2: fix DMA address calculation in mvpp2_txq_inc_put() Thomas Petazzoni
                   ` (13 more replies)
  0 siblings, 14 replies; 16+ messages in thread
From: Thomas Petazzoni @ 2017-02-21 10:28 UTC (permalink / raw)
  To: David S. Miller, netdev
  Cc: Nadav Haklai, Hanna Hawa, Yehuda Yitschak, Jason Cooper,
	Andrew Lunn, Sebastian Hesselbarth, Gregory Clement, Russell King,
	Stefan Chulski, Thomas Petazzoni

David,

This series contains a number of fixes, misc improvements and
preparation patches for an upcoming series that adds support for the
new PPv2.2 network controller to the mvpp2 driver.

The most significant improvements are:

 - Switching to using build_skb(), which is necessary for the upcoming
   PPv2.2 support, but anyway a good improvement to the current mvpp2
   driver (supporting PPv2.1).

 - Making the driver build on 64-bit platforms.

Changes since v3:

 - Addition of a patch "net: mvpp2: fix DMA address calculation in
   mvpp2_txq_inc_put()", which fixes a bug in the driver in the
   calculation of DMA addresses. This bug was found using
   DMA_API_DEBUG.

 - Modify the "net: mvpp2: switch to build_skb() in the RX path" patch
   to recalculate the fragment size when the MTU is changed in
   mvpp2_bm_update_mtu().

 - Added Acked-by from Russell King on all patches, except:

    * "net: mvpp2: fix DMA address calculation in
      mvpp2_txq_inc_put()", because it's a new patch

    * "net: mvpp2: switch to build_skb() in the RX path" because I
      modified it since the v3.

 - Rebased on top of 4.10.

Changes since v2:

 - Fix remaining 64-bit build warning, reported by David Miller.

 - Adjust how bit mask related definitions are done in "net: mvpp2:
   simplify MVPP2_PRS_RI_* definitions" according to Russell King
   suggestions.

 - Add a patch "net: mvpp2: remove useless arguments in
   mvpp2_rx_{pkts,time}_coal_set", suggested by Russell King.

 - Rework mvpp2_rx_time_coal_set() implementation to avoid overflows
   and rounding errors. I've used the implementation suggested by
   Russell King.

Changes since v1:

 - This series is split as a separate series from the larger patch set
   adding support for PPv2.2 in the mvpp2 driver, as requested by
   David Miller.

 - Rebased on top of v4.10-rc1.

Thanks!

Thomas

Thomas Petazzoni (13):
  net: mvpp2: fix DMA address calculation in mvpp2_txq_inc_put()
  net: mvpp2: remove useless arguments in mvpp2_rx_{pkts,time}_coal_set
  net: mvpp2: handle too large value handling in
    mvpp2_rx_pkts_coal_set()
  net: mvpp2: handle too large value in mvpp2_rx_time_coal_set()
  net: mvpp2: release reference to txq_cpu[] entry after unmapping
  net: mvpp2: remove unused 'tx_skb' field of 'struct mvpp2_tx_queue'
  net: mvpp2: drop useless fields in mvpp2_bm_pool and related code
  net: mvpp2: simplify mvpp2_bm_bufs_add()
  net: mvpp2: remove unused register definitions
  net: mvpp2: fix indentation of MVPP2_EXT_GLOBAL_CTRL_DEFAULT
  net: mvpp2: simplify MVPP2_PRS_RI_* definitions
  net: mvpp2: switch to build_skb() in the RX path
  net: mvpp2: enable building on 64-bit platforms

 drivers/net/ethernet/marvell/Kconfig |   3 +-
 drivers/net/ethernet/marvell/mvpp2.c | 212 +++++++++++++++++++++--------------
 2 files changed, 128 insertions(+), 87 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2017-02-21 20:03 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-21 10:28 [PATCHv4 net-next 00/13] net: mvpp2: misc improvements and preparation patches Thomas Petazzoni
2017-02-21 10:28 ` [PATCHv4 net-next 01/13] net: mvpp2: fix DMA address calculation in mvpp2_txq_inc_put() Thomas Petazzoni
2017-02-21 10:28 ` [PATCHv4 net-next 02/13] net: mvpp2: remove useless arguments in mvpp2_rx_{pkts,time}_coal_set Thomas Petazzoni
2017-02-21 10:28 ` [PATCHv4 net-next 03/13] net: mvpp2: handle too large value handling in mvpp2_rx_pkts_coal_set() Thomas Petazzoni
2017-02-21 10:28 ` [PATCHv4 net-next 04/13] net: mvpp2: handle too large value in mvpp2_rx_time_coal_set() Thomas Petazzoni
2017-02-21 10:28 ` [PATCHv4 net-next 05/13] net: mvpp2: release reference to txq_cpu[] entry after unmapping Thomas Petazzoni
2017-02-21 10:28 ` [PATCHv4 net-next 06/13] net: mvpp2: remove unused 'tx_skb' field of 'struct mvpp2_tx_queue' Thomas Petazzoni
2017-02-21 10:28 ` [PATCHv4 net-next 07/13] net: mvpp2: drop useless fields in mvpp2_bm_pool and related code Thomas Petazzoni
2017-02-21 10:28 ` [PATCHv4 net-next 08/13] net: mvpp2: simplify mvpp2_bm_bufs_add() Thomas Petazzoni
2017-02-21 10:28 ` [PATCHv4 net-next 09/13] net: mvpp2: remove unused register definitions Thomas Petazzoni
2017-02-21 10:28 ` [PATCHv4 net-next 10/13] net: mvpp2: fix indentation of MVPP2_EXT_GLOBAL_CTRL_DEFAULT Thomas Petazzoni
2017-02-21 10:28 ` [PATCHv4 net-next 11/13] net: mvpp2: simplify MVPP2_PRS_RI_* definitions Thomas Petazzoni
2017-02-21 10:28 ` [PATCHv4 net-next 12/13] net: mvpp2: switch to build_skb() in the RX path Thomas Petazzoni
2017-02-21 10:28 ` [PATCHv4 net-next 13/13] net: mvpp2: enable building on 64-bit platforms Thomas Petazzoni
2017-02-21 18:17 ` [PATCHv4 net-next 00/13] net: mvpp2: misc improvements and preparation patches David Miller
2017-02-21 20:03   ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).