aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/qat/qat_common/adf_freebsd_dbgfs.c
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2025-10-17 07:53:35 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2025-10-17 08:22:36 +0000
commitc26d6bf9da013e839d9a696746ea1741569e619e (patch)
treead86f2c773aa9a018e2aa6a5030175360707755f /sys/dev/qat/qat_common/adf_freebsd_dbgfs.c
parent86db3c735dd999f75eab54d848fb8402e6689c80 (diff)
arp: fix adding proxy entries for P2P interfacesHEADmain
The old rtsock implementation used in-kernel workaround to do so. When route to specified destination address used P2P interface, the kernel did the search with ifa_ifwithnet() for most suitable network and then add proxy entry to this interface. Use similar approach with netlink implementation. We already have get_ether_addr() function that does almost the same thing as ifa_ifwithnet(). Use it when we find that destination route uses P2P interface and then try to guess suitable interface. This should fix the use of netlink-based arp(8) in mpd5. Rename get_ether_addr() to get_ifinfo(), since now it is used to find only ifindex in case when hwaddr is specified by user. Also make set_nl() and delete_nl() prototype similar to rtsock. And allow '-i' to be used with '-S', since we already allow the same for '-s'. PR: 290221 Reported by: eugen Reviewed by: eugen MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D53113
Diffstat (limited to 'sys/dev/qat/qat_common/adf_freebsd_dbgfs.c')
0 files changed, 0 insertions, 0 deletions