docs: fix info about representor identification
authorMateusz Polchlopek <mateusz.polchlopek@intel.com>
Thu, 12 Oct 2023 12:31:44 +0000 (08:31 -0400)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Oct 2023 00:30:00 +0000 (17:30 -0700)
commita258c804aa8742763dce694b5e992d7ccf4294f2
tree15b5bca4d26b37fca1ef90f4fe65654203d31a92
parent0f4d44f6ee048818abf80c69b6bc48927c178abe
docs: fix info about representor identification

Update the "How are representors identified?" documentation
subchapter. For newer kernels driver should use
SET_NETDEV_DEVLINK_PORT instead of ndo_get_devlink_port()
callback.

Fixes: 7712b3e966ea ("Merge branch 'net-fix-netdev-to-devlink_port-linkage-and-expose-to-user'")
Signed-off-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Edward Cree <ecree.xilinx@gmail.com>
Link: https://lore.kernel.org/r/20231012123144.15768-1-mateusz.polchlopek@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/representors.rst