netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv3 net-next 00/12] net: mvpp2: misc improvements and preparation patches
@ 2017-02-02 15:51 Thomas Petazzoni
  2017-02-02 15:51 ` [PATCHv3 net-next 01/12] net: mvpp2: remove useless arguments in mvpp2_rx_{pkts,time}_coal_set Thomas Petazzoni
                   ` (13 more replies)
  0 siblings, 14 replies; 21+ messages in thread
From: Thomas Petazzoni @ 2017-02-02 15:51 UTC (permalink / raw)
  To: netdev, David S. Miller
  Cc: linux-arm-kernel, Nadav Haklai, Hanna Hawa, Yehuda Yitschak,
	Russell King, Stefan Chulski, Jason Cooper, Andrew Lunn,
	Sebastian Hesselbarth, Gregory Clement, Marcin Wojtas,
	Thomas Petazzoni

David,

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

Sorry for the long delay since v2, I was on
vacation/conference/training in January, and therefore wasn't able to
resend a new version earlier. Upcoming versions should arrive much
faster, if there are further comments on this series.

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 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 (12):
  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 | 208 +++++++++++++++++++++--------------
 2 files changed, 125 insertions(+), 86 deletions(-)

-- 
2.7.4

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

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

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-02 15:51 [PATCHv3 net-next 00/12] net: mvpp2: misc improvements and preparation patches Thomas Petazzoni
2017-02-02 15:51 ` [PATCHv3 net-next 01/12] net: mvpp2: remove useless arguments in mvpp2_rx_{pkts,time}_coal_set Thomas Petazzoni
2017-02-02 15:51 ` [PATCHv3 net-next 02/12] net: mvpp2: handle too large value handling in mvpp2_rx_pkts_coal_set() Thomas Petazzoni
2017-02-02 15:51 ` [PATCHv3 net-next 03/12] net: mvpp2: handle too large value in mvpp2_rx_time_coal_set() Thomas Petazzoni
2017-02-02 15:51 ` [PATCHv3 net-next 04/12] net: mvpp2: release reference to txq_cpu[] entry after unmapping Thomas Petazzoni
2017-02-02 15:51 ` [PATCHv3 net-next 05/12] net: mvpp2: remove unused 'tx_skb' field of 'struct mvpp2_tx_queue' Thomas Petazzoni
2017-02-02 15:51 ` [PATCHv3 net-next 06/12] net: mvpp2: drop useless fields in mvpp2_bm_pool and related code Thomas Petazzoni
2017-02-02 15:51 ` [PATCHv3 net-next 07/12] net: mvpp2: simplify mvpp2_bm_bufs_add() Thomas Petazzoni
2017-02-02 15:51 ` [PATCHv3 net-next 08/12] net: mvpp2: remove unused register definitions Thomas Petazzoni
2017-02-02 15:51 ` [PATCHv3 net-next 09/12] net: mvpp2: fix indentation of MVPP2_EXT_GLOBAL_CTRL_DEFAULT Thomas Petazzoni
2017-02-02 15:51 ` [PATCHv3 net-next 10/12] net: mvpp2: simplify MVPP2_PRS_RI_* definitions Thomas Petazzoni
2017-02-02 15:51 ` [PATCHv3 net-next 11/12] net: mvpp2: switch to build_skb() in the RX path Thomas Petazzoni
2017-02-05  9:19   ` Marcin Wojtas
2017-02-02 15:51 ` [PATCHv3 net-next 12/12] net: mvpp2: enable building on 64-bit platforms Thomas Petazzoni
2017-02-09  9:39 ` [PATCHv3 net-next 00/12] net: mvpp2: misc improvements and preparation patches Thomas Petazzoni
2017-02-09  9:55 ` Russell King - ARM Linux
2017-02-20  9:07   ` Thomas Petazzoni
2017-02-20 14:53     ` David Miller
2017-02-20 15:47       ` Thomas Petazzoni
2017-02-20 16:12         ` David Miller
2017-02-21 10:32           ` 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).