[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230614145302.902301-1-piotrx.gardocki@intel.com>
Date: Wed, 14 Jun 2023 16:52:59 +0200
From: Piotr Gardocki <piotrx.gardocki@...el.com>
To: netdev@...r.kernel.org
Cc: piotrx.gardocki@...el.com,
intel-wired-lan@...ts.osuosl.org,
przemyslaw.kitszel@...el.com,
michal.swiatkowski@...ux.intel.com,
pmenzel@...gen.mpg.de,
kuba@...nel.org,
maciej.fijalkowski@...el.com,
anthony.l.nguyen@...el.com,
simon.horman@...igine.com,
aleksander.lobakin@...el.com
Subject: [PATCH net-next v3 0/3] optimize procedure of changing MAC address on interface
The first patch adds an if statement in core to skip early when
the MAC address is not being changes.
The remaining patches remove such checks from Intel drivers
as they're redundant at this point.
v3: removed "This patch ..." from first patch to simplify sentence.
v2: modified check in core to support addresses of any length,
removed redundant checks in i40e and ice
Piotr Gardocki (3):
net: add check for current MAC address in dev_set_mac_address
i40e: remove unnecessary check for old MAC == new MAC
ice: remove unnecessary check for old MAC == new MAC
drivers/net/ethernet/intel/i40e/i40e_main.c | 6 ------
drivers/net/ethernet/intel/ice/ice_main.c | 5 -----
net/core/dev.c | 2 ++
3 files changed, 2 insertions(+), 11 deletions(-)
--
2.34.1
Powered by blists - more mailing lists