summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@google.com>2026-10-13 20:57:28 +0000
committerJakub Kicinski <kuba@kernel.org>2026-10-20 11:57:08 -0700
commit3e2ca51e7e35dca9ec457f690e2fb490a8cbb320 (patch)
treed3046507c7266632226bdc30a0d7b9426c149645 /Documentation
parentff5a2a7acec1bcd0921f986c8fd1c0285ed97b50 (diff)
Documentation: networking: switchdev: Replace arp_tbl with arp_table(net).
Since commit cda2962b6e2b ("neighbour: Namespacify neigh_tables."), arp_tbl is a template for the per-netns table. Let's apply s/arp_tbl/arp_table(net)/ to switchdev.rst. Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com> Link: https://patch.msgid.link/20261013205816.1642597-2-kuniyu@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/networking/switchdev.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/Documentation/networking/switchdev.rst b/Documentation/networking/switchdev.rst
index 2966b7122f05..8e8ab6632ffe 100644
--- a/Documentation/networking/switchdev.rst
+++ b/Documentation/networking/switchdev.rst
@@ -401,14 +401,15 @@ The FIB entry's nexthop list contains the nexthop tuple (gateway, dev), but for
the switch device to forward the packet with the correct dst mac address, the
nexthop gateways must be resolved to the neighbor's mac address. Neighbor mac
address discovery comes via the ARP (or ND) process and is available via the
-arp_tbl neighbor table. To resolve the routes nexthop gateways, the driver
-should trigger the kernel's neighbor resolution process. See the rocker
+arp_table(net) neighbor table. To resolve the routes nexthop gateways, the
+driver should trigger the kernel's neighbor resolution process. See the rocker
driver's rocker_port_ipv4_resolve() for an example.
-The driver can monitor for updates to arp_tbl using the netevent notifier
+The driver can monitor for updates to arp_table(net) using the netevent notifier
NETEVENT_NEIGH_UPDATE. The device can be programmed with resolved nexthops
-for the routes as arp_tbl updates. The driver implements ndo_neigh_destroy
-to know when arp_tbl neighbor entries are purged from the port.
+for the routes as arp_table(net) updates. The driver implements
+ndo_neigh_destroy to know when arp_table(net) neighbor entries are purged from
+the port.
Device driver expected behavior
-------------------------------