diff options
Diffstat (limited to 'usr/src/uts/i86pc/io/viona/viona.c')
-rw-r--r-- | usr/src/uts/i86pc/io/viona/viona.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/uts/i86pc/io/viona/viona.c b/usr/src/uts/i86pc/io/viona/viona.c index c22c0bf646..5b60daabe2 100644 --- a/usr/src/uts/i86pc/io/viona/viona.c +++ b/usr/src/uts/i86pc/io/viona/viona.c @@ -1337,6 +1337,8 @@ viona_worker_rx(viona_vring_t *ring, viona_link_t *link) { proc_t *p = ttoproc(curthread); + thread_vsetname(curthread, "viona_rx_%p", ring); + ASSERT(MUTEX_HELD(&ring->vr_lock)); ASSERT3U(ring->vr_state, ==, VRS_RUN); @@ -1370,6 +1372,8 @@ viona_worker_tx(viona_vring_t *ring, viona_link_t *link) { proc_t *p = ttoproc(curthread); + thread_vsetname(curthread, "viona_tx_%p", ring); + ASSERT(MUTEX_HELD(&ring->vr_lock)); ASSERT3U(ring->vr_state, ==, VRS_RUN); |