[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170426.145023.520426501343191968.davem@davemloft.net>
Date: Wed, 26 Apr 2017 14:50:23 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: willemdebruijn.kernel@...il.com
Cc: netdev@...r.kernel.org, mst@...hat.com, jasowang@...hat.com,
virtualization@...ts.linux-foundation.org, willemb@...gle.com
Subject: Re: [PATCH net-next] virtio-net: on tx, only call napi_disable if
tx napi is on
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
Date: Tue, 25 Apr 2017 15:59:17 -0400
> From: Willem de Bruijn <willemb@...gle.com>
>
> As of tx napi, device down (`ip link set dev $dev down`) hangs unless
> tx napi is enabled. Else napi_enable is not called, so napi_disable
> will spin on test_and_set_bit NAPI_STATE_SCHED.
>
> Only call napi_disable if tx napi is enabled.
>
> Fixes: 5a719c2552ca ("virtio-net: transmit napi")
> Reported-by: Jason Wang <jasowang@...hat.com>
> Signed-off-by: Willem de Bruijn <willemb@...gle.com>
Applied, thanks.
Powered by blists - more mailing lists