ixgbe: prevent from unwanted interface name changes
authorJedrzej Jagielski <jedrzej.jagielski@intel.com>
Thu, 3 Jul 2025 10:41:15 +0000 (12:41 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 12 Aug 2025 20:24:09 +0000 (13:24 -0700)
commite67a0bc3ed4fd8ee1697cb6d937e2b294ec13b5e
tree281054d818895fc7d7fb7ce75c3d847cffe10f9b
parentc5ec7f49b480db0dfc83f395755b1c2a7c979920
ixgbe: prevent from unwanted interface name changes

Users of the ixgbe driver report that after adding devlink support by
the commit a0285236ab93 ("ixgbe: add initial devlink support") their
configs got broken due to unwanted changes of interface names. It's
caused by automatic phys_port_name generation during devlink port
initialization flow.

To prevent from that set no_phys_port_name flag for ixgbe devlink ports.

Reported-by: David Howells <dhowells@redhat.com>
Closes: https://lore.kernel.org/netdev/3452224.1745518016@warthog.procyon.org.uk/
Reported-by: David Kaplan <David.Kaplan@amd.com>
Closes: https://lore.kernel.org/netdev/LV3PR12MB92658474624CCF60220157199470A@LV3PR12MB9265.namprd12.prod.outlook.com/
Fixes: a0285236ab93 ("ixgbe: add initial devlink support")
Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com>
Tested-by: Rinitha S <sx.rinitha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ixgbe/devlink/devlink.c