give softnet threads unique names by suffixing softnet with their index.
authordlg <dlg@openbsd.org>
Sun, 14 May 2023 01:46:53 +0000 (01:46 +0000)
committerdlg <dlg@openbsd.org>
Sun, 14 May 2023 01:46:53 +0000 (01:46 +0000)
commit960d4cc134dd1b15a8167f1b4bcf2463e065370e
treefbee3c56add024cec33ea934b436ec59ee681470
parent3c817da7c9b8ff92fe5ef180a7138775dcfc6671
give softnet threads unique names by suffixing softnet with their index.

ie, you'll see softnet0, softnet1, etc in top/ps/etc now instead
of just softnet on these threads.

this is done by wrapping the taskq and name up in a softnet struct.

ok patrick@ bluhm@ mvs@ kn@ sashan@
sys/net/if.c