OSDN Git Service

Merge branch 'devlink-port_del-new-cleanup'
authorDavid S. Miller <davem@davemloft.net>
Wed, 24 May 2023 09:34:26 +0000 (10:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 May 2023 09:34:26 +0000 (10:34 +0100)
Jiri Pirko says:

====================
devlink: small port_new/del() cleanup

This patchset cleans up couple of leftovers after recent devlink locking
changes. Previously, both port_new/dev() commands were called without
holding instance lock. Currently all devlink commands are called with
instance lock held.

The first patch just removes redundant port notification.
The second one removes couple of outdated comments.
The last patch changes port_dev() to have devlink_port pointer as an arg
instead of port_index, which makes it similar to the rest of port
related ops.
====================

Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge