Netdev Archive on lore.kernel.org
 help / color / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: "David S. Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>
Cc: Leon Romanovsky <leonro@mellanox.com>,
	linux-netdev <netdev@vger.kernel.org>
Subject: [PATCH net-next 00/16] Clean driver, module and FW versions
Date: Thu, 20 Feb 2020 16:58:39 +0200
Message-ID: <20200220145855.255704-1-leon@kernel.org> (raw)

From: Leon Romanovsky <leonro@mellanox.com>

Hi,

This is first patchset to netdev (already sent RDMA [1] and arch/um)
in attempt to unify the version management for in-tree kernel code.
The patches follow already accepted ethtool change [2] to set as
a default linux kernel version.

It allows us to remove driver version and present to the users unified
picture of driver version, which is similar to default MODULE_VERSION().

As part of this series, I deleted various creative attempts to mark
absence of FW. There is no need to set "N/A" in ethtool ->fw_version
field and it is enough to do not set it.

1.
The code is compile tested and passes 0-day kbuild.
2.
The proposed changes are based on commit:
  2bb07f4e1d86 ("tc-testing: updated tdc tests for basic filter")
3.
WIP branch is [3].

[1] https://lore.kernel.org/linux-rdma/20200220071239.231800-1-leon@kernel.org/
[2] https://lore.kernel.org/linux-rdma/20200127072028.19123-1-leon@kernel.org/
[3] https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git/log/?h=ethtool

Leon Romanovsky (16):
  net/bond: Delete driver and module versions
  net/dummy: Ditch driver and module versions
  net/3com: Delete driver and module versions from 3com drivers
  net/adaptec: Clean driver versions
  net/aeroflex: Clean ethtool_info struct assignments
  net/agere: Delete unneeded driver version
  net/alacritech: Delete driver version
  net/allwinner: Remove driver version
  net/alteon: Properly report FW version
  net/althera: Delete hardcoded driver version
  net/amazon: Ensure that driver version is aligned to the linux kernel
  net/amd: Remove useless driver version
  net/apm: Remove useless driver version and properly mark lack of FW
  net/aquantia: Delete module version
  net/arc: Delete driver version
  net/atheros: Clean atheros code from driver version

 drivers/net/bonding/bond_main.c                 |  4 +---
 drivers/net/bonding/bonding_priv.h              |  4 ++--
 drivers/net/dummy.c                             |  3 ---
 drivers/net/ethernet/3com/3c509.c               |  7 +------
 drivers/net/ethernet/3com/3c515.c               |  6 ++----
 drivers/net/ethernet/3com/3c589_cs.c            |  2 --
 drivers/net/ethernet/3com/typhoon.c             |  1 -
 drivers/net/ethernet/adaptec/starfire.c         | 11 +++++------
 drivers/net/ethernet/aeroflex/greth.c           |  2 --
 drivers/net/ethernet/agere/et131x.c             |  1 -
 drivers/net/ethernet/agere/et131x.h             |  1 -
 drivers/net/ethernet/alacritech/slicoss.c       |  3 ---
 drivers/net/ethernet/allwinner/sun4i-emac.c     |  2 --
 drivers/net/ethernet/alteon/acenic.c            |  5 ++---
 .../net/ethernet/altera/altera_tse_ethtool.c    |  1 -
 drivers/net/ethernet/amazon/ena/ena_ethtool.c   |  1 -
 drivers/net/ethernet/amazon/ena/ena_netdev.c    | 17 ++---------------
 drivers/net/ethernet/amazon/ena/ena_netdev.h    | 11 -----------
 drivers/net/ethernet/amd/amd8111e.c             |  5 +----
 drivers/net/ethernet/amd/au1000_eth.c           |  5 -----
 drivers/net/ethernet/amd/nmclan_cs.c            |  9 +++------
 drivers/net/ethernet/amd/pcnet32.c              |  7 -------
 drivers/net/ethernet/amd/sunlance.c             | 10 ----------
 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c    |  1 -
 drivers/net/ethernet/amd/xgbe/xgbe-main.c       |  1 -
 drivers/net/ethernet/amd/xgbe/xgbe.h            |  1 -
 drivers/net/ethernet/apm/xgene-v2/ethtool.c     |  2 --
 drivers/net/ethernet/apm/xgene-v2/main.c        |  1 -
 drivers/net/ethernet/apm/xgene-v2/main.h        |  1 -
 .../net/ethernet/apm/xgene/xgene_enet_ethtool.c |  2 --
 .../net/ethernet/apm/xgene/xgene_enet_main.c    |  1 -
 .../net/ethernet/apm/xgene/xgene_enet_main.h    |  1 -
 drivers/net/ethernet/aquantia/atlantic/aq_cfg.h |  4 ----
 .../net/ethernet/aquantia/atlantic/aq_common.h  |  1 -
 .../net/ethernet/aquantia/atlantic/aq_ethtool.c |  1 -
 .../net/ethernet/aquantia/atlantic/aq_main.c    |  1 -
 drivers/net/ethernet/aquantia/atlantic/ver.h    | 12 ------------
 drivers/net/ethernet/arc/emac.h                 |  1 -
 drivers/net/ethernet/arc/emac_arc.c             |  2 --
 drivers/net/ethernet/arc/emac_main.c            |  1 -
 drivers/net/ethernet/arc/emac_rockchip.c        |  2 --
 drivers/net/ethernet/atheros/atl1c/atl1c.h      |  1 -
 .../net/ethernet/atheros/atl1c/atl1c_ethtool.c  |  2 --
 drivers/net/ethernet/atheros/atl1c/atl1c_main.c |  5 -----
 drivers/net/ethernet/atheros/atl1e/atl1e.h      |  1 -
 .../net/ethernet/atheros/atl1e/atl1e_ethtool.c  |  2 --
 drivers/net/ethernet/atheros/atl1e/atl1e_main.c |  4 ----
 drivers/net/ethernet/atheros/atlx/atl1.c        |  6 ------
 drivers/net/ethernet/atheros/atlx/atl2.c        | 10 ----------
 49 files changed, 19 insertions(+), 166 deletions(-)
 delete mode 100644 drivers/net/ethernet/aquantia/atlantic/ver.h

--
2.24.1


             reply index

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-20 14:58 Leon Romanovsky [this message]
2020-02-20 14:58 ` [PATCH net-next 01/16] net/bond: Delete driver and module versions Leon Romanovsky
2020-02-20 14:58 ` [PATCH net-next 02/16] net/dummy: Ditch " Leon Romanovsky
2020-02-21  9:11   ` Sergei Shtylyov
2020-02-22  7:28     ` Leon Romanovsky
2020-02-20 14:58 ` [PATCH net-next 03/16] net/3com: Delete driver and module versions from 3com drivers Leon Romanovsky
2020-02-20 14:58 ` [PATCH net-next 04/16] net/adaptec: Clean driver versions Leon Romanovsky
2020-02-20 14:58 ` [PATCH net-next 05/16] net/aeroflex: Clean ethtool_info struct assignments Leon Romanovsky
2020-02-20 14:58 ` [PATCH net-next 06/16] net/agere: Delete unneeded driver version Leon Romanovsky
2020-02-20 14:58 ` [PATCH net-next 07/16] net/alacritech: Delete " Leon Romanovsky
2020-02-20 14:58 ` [PATCH net-next 08/16] net/allwinner: Remove " Leon Romanovsky
2020-02-20 14:58 ` [PATCH net-next 09/16] net/alteon: Properly report FW version Leon Romanovsky
2020-02-20 14:58 ` [PATCH net-next 10/16] net/althera: Delete hardcoded driver version Leon Romanovsky
2020-02-20 14:58 ` [PATCH net-next 11/16] net/amazon: Ensure that driver version is aligned to the linux kernel Leon Romanovsky
2020-02-23  8:54   ` Gal Pressman
2020-02-23  9:10     ` Leon Romanovsky
2020-02-20 14:58 ` [PATCH net-next 12/16] net/amd: Remove useless driver version Leon Romanovsky
2020-02-20 14:58 ` [PATCH net-next 13/16] net/apm: Remove useless driver version and properly mark lack of FW Leon Romanovsky
2020-02-20 14:58 ` [PATCH net-next 14/16] net/aquantia: Delete module version Leon Romanovsky
2020-02-20 14:58 ` [PATCH net-next 15/16] net/arc: Delete driver version Leon Romanovsky
2020-02-20 14:58 ` [PATCH net-next 16/16] net/atheros: Clean atheros code from " Leon Romanovsky
2020-02-21  1:17 ` [PATCH net-next 00/16] Clean driver, module and FW versions Jakub Kicinski
2020-02-21 19:35   ` David Miller
2020-02-22  7:27     ` Leon Romanovsky

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=20200220145855.255704-1-leon@kernel.org \
    --to=leon@kernel.org \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --cc=leonro@mellanox.com \
    --cc=netdev@vger.kernel.org \
    /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

Netdev Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/netdev/0 netdev/git/0.git
	git clone --mirror https://lore.kernel.org/netdev/1 netdev/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 netdev netdev/ https://lore.kernel.org/netdev \
		netdev@vger.kernel.org
	public-inbox-index netdev

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.netdev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git