diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2020-02-11 18:57:07 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2020-02-11 18:57:07 +0000 |
commit | 6c3e93cb5a4aa4b8a2d8d4d326f2a7c34d3a4458 (patch) | |
tree | dafe70452ee0f6a65323f5c914a4a846c5cf0faa /sys/dev/xl | |
parent | 4426b2e64bd6ff5b05997d985140323b3db67085 (diff) | |
download | src-6c3e93cb5a4aa4b8a2d8d4d326f2a7c34d3a4458.tar.gz src-6c3e93cb5a4aa4b8a2d8d4d326f2a7c34d3a4458.zip |
Use NET_TASK_INIT() and NET_GROUPTASK_INIT() for drivers that process
incoming packets in taskqueue context.
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D23518
Notes
Notes:
svn path=/head/; revision=357772
Diffstat (limited to 'sys/dev/xl')
-rw-r--r-- | sys/dev/xl/if_xl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/xl/if_xl.c b/sys/dev/xl/if_xl.c index 9daea3dc4fa6..ca6184758815 100644 --- a/sys/dev/xl/if_xl.c +++ b/sys/dev/xl/if_xl.c @@ -1218,7 +1218,7 @@ xl_attach(device_t dev) } callout_init_mtx(&sc->xl_tick_callout, &sc->xl_mtx, 0); - TASK_INIT(&sc->xl_task, 0, xl_rxeof_task, sc); + NET_TASK_INIT(&sc->xl_task, 0, xl_rxeof_task, sc); /* * Now allocate a tag for the DMA descriptor lists and a chunk |