netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Igor Russkikh <igor.russkikh@aquantia.com>
To: "David S . Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org, David Arcari <darcari@redhat.com>,
	Pavel Belous <pavel.belous@aquantia.com>,
	Igor Russkikh <igor.russkikh@aquantia.com>
Subject: [PATCH net-next v2 00/10] Aquantia atlantic driver update 2018/01
Date: Mon, 15 Jan 2018 16:41:12 +0300	[thread overview]
Message-ID: <cover.1516023407.git.igor.russkikh@aquantia.com> (raw)

This patch is a set of cleanups and bugfixes in preparation to new
Aquantia hardware support.

Standard ARRAY_SIZE is now used through all the code,
some unused abstraction structures removed and cleaned up,
duplicate declarations removed.

Also two large declaration styling fixes:
- Hardware register set defines are lined up with kernel style
- Hardware access functions were not prefixed, now already
  defined hw_atl prefix is used.

patch v2 changes:
- patch reorganized because of its big size. New HW support
  will be submitted as a separate patchset.

Igor Russkikh (10):
  net: aquantia: Eliminate AQ_DIMOF, replace with ARRAY_SIZE
  net: aquantia: Cleanup status flags accesses
  net: aquantia: Cleanup hardware access modules
  net: aquantia: Remove duplicate hardware descriptors declarations
  net: aquantia: Add const qualifiers for hardware ops tables
  net: aquantia: Simplify dependencies between pci modules
  net: aquantia: Eliminate aq_nic structure abstraction
  net: aquantia: Fix register definitions to linux style
  net: aquantia: Prepend hw access functions declarations with prefix
  net: aquantia: Fix internal stats calculation on rx

 drivers/net/ethernet/aquantia/atlantic/aq_common.h |    1 -
 drivers/net/ethernet/aquantia/atlantic/aq_hw.h     |   35 +-
 .../net/ethernet/aquantia/atlantic/aq_hw_utils.c   |    6 +-
 drivers/net/ethernet/aquantia/atlantic/aq_main.c   |   96 +-
 drivers/net/ethernet/aquantia/atlantic/aq_main.h   |    2 +
 drivers/net/ethernet/aquantia/atlantic/aq_nic.c    |   41 +-
 drivers/net/ethernet/aquantia/atlantic/aq_nic.h    |   41 +-
 .../ethernet/aquantia/atlantic/aq_nic_internal.h   |   45 -
 .../net/ethernet/aquantia/atlantic/aq_pci_func.c   |   99 +-
 .../net/ethernet/aquantia/atlantic/aq_pci_func.h   |    7 +-
 drivers/net/ethernet/aquantia/atlantic/aq_ring.c   |    4 +-
 drivers/net/ethernet/aquantia/atlantic/aq_ring.h   |    2 +-
 drivers/net/ethernet/aquantia/atlantic/aq_utils.h  |    6 -
 drivers/net/ethernet/aquantia/atlantic/aq_vec.c    |    5 +-
 drivers/net/ethernet/aquantia/atlantic/aq_vec.h    |    4 +-
 .../ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c  |  349 ++---
 .../ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.h  |    2 +-
 .../aquantia/atlantic/hw_atl/hw_atl_a0_internal.h  |   31 -
 .../ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c  |  375 +++--
 .../ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.h  |    2 +-
 .../aquantia/atlantic/hw_atl/hw_atl_b0_internal.h  |   31 -
 .../ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c | 1326 +++++++++--------
 .../ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h |  544 +++----
 .../aquantia/atlantic/hw_atl/hw_atl_llh_internal.h | 1521 ++++++++++----------
 .../aquantia/atlantic/hw_atl/hw_atl_utils.c        |   82 +-
 .../aquantia/atlantic/hw_atl/hw_atl_utils.h        |   62 +-
 26 files changed, 2385 insertions(+), 2334 deletions(-)
 delete mode 100644 drivers/net/ethernet/aquantia/atlantic/aq_nic_internal.h

-- 
2.7.4

             reply	other threads:[~2018-01-15 13:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-15 13:41 Igor Russkikh [this message]
2018-01-15 13:41 ` [PATCH net-next v2 01/10] net: aquantia: Eliminate AQ_DIMOF, replace with ARRAY_SIZE Igor Russkikh
2018-01-15 13:41 ` [PATCH net-next v2 02/10] net: aquantia: Cleanup status flags accesses Igor Russkikh
2018-01-15 13:41 ` [PATCH net-next v2 03/10] net: aquantia: Cleanup hardware access modules Igor Russkikh
2018-01-15 13:41 ` [PATCH net-next v2 04/10] net: aquantia: Remove duplicate hardware descriptors declarations Igor Russkikh
2018-01-15 13:41 ` [PATCH net-next v2 05/10] net: aquantia: Add const qualifiers for hardware ops tables Igor Russkikh
2018-01-15 13:41 ` [PATCH net-next v2 06/10] net: aquantia: Simplify dependencies between pci modules Igor Russkikh
2018-01-15 13:41 ` [PATCH net-next v2 07/10] net: aquantia: Eliminate aq_nic structure abstraction Igor Russkikh
2018-01-15 13:41 ` [PATCH net-next v2 08/10] net: aquantia: Fix register definitions to linux style Igor Russkikh
2018-01-16 16:56   ` Joe Perches
2018-01-17  9:09     ` Igor Russkikh
2018-01-15 13:41 ` [PATCH net-next v2 09/10] net: aquantia: Prepend hw access functions declarations with prefix Igor Russkikh
2018-01-15 13:41 ` [PATCH net-next v2 10/10] net: aquantia: Fix internal stats calculation on rx Igor Russkikh
2018-01-16 19:42 ` [PATCH net-next v2 00/10] Aquantia atlantic driver update 2018/01 David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1516023407.git.igor.russkikh@aquantia.com \
    --to=igor.russkikh@aquantia.com \
    --cc=darcari@redhat.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=pavel.belous@aquantia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).