diff options
author | Eugene Grosbein <eugen@FreeBSD.org> | 2025-07-01 14:13:10 +0000 |
---|---|---|
committer | Eugene Grosbein <eugen@FreeBSD.org> | 2025-07-13 15:48:37 +0000 |
commit | 5d15e09a26c6b08fc0d5cd7deca082ba5b9cabd4 (patch) | |
tree | e625bdae6a907c3652d74bc74cdb51cc7ba09a31 /sys/netiso/tp_trace.h | |
parent | 57c652dfa1c08a361e29b7edb7fe05b63ffae235 (diff) |
libexec/rc: MFC: improve performance of pccard_ether scriptstable/13
Replace "ifconfig -ul" with "ifconfig -n" because netlink-enabled
/sbin/ifconfig utility has sub-optimal performance for listing.
Combined with the commit b1b17432aa1be670564161232d110461a5dde4ce,
these changes mostly eliminate performance regression of the command
"service devd start" for a system having hundreds of network interfaces
created before devd starts, after FreeBSD 14+ switched
/sbin/ifconfig to netlink(4)
PR: 287872
(cherry picked from commit 6d3bc576abbd84f736d917f5bfec4e3fe7e6c125)
(cherry picked from commit 24e8ed535ff673b9ea751c3d3b2a68ef0a29b0e2)
Diffstat (limited to 'sys/netiso/tp_trace.h')
0 files changed, 0 insertions, 0 deletions