net/sfc: rename ethdev m-port retrieval helper
authorIvan Malov <ivan.malov@oktetlabs.ru>
Mon, 25 Oct 2021 11:04:10 +0000 (14:04 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 2 Nov 2021 18:26:13 +0000 (19:26 +0100)
commit3419c9a7e532832182c4ac40c888658ab6f0ae4b
treea117a582c19a2136e821c267c2c57c79caf08950
parentb7b7b9f80090703eadc95cfd7ac58e1f3cddc5a9
net/sfc: rename ethdev m-port retrieval helper

The function in question has an unfortunate name that reads
like finding a SW switch port entry. In fact just one of
the two m-ports is retrieved from that entry.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
drivers/net/sfc/sfc_mae.c
drivers/net/sfc/sfc_switch.c
drivers/net/sfc/sfc_switch.h