Re: [PATCH net-next v2] net: thunderx: Fix transmit queue timeout issue

2016-12-02 Thread David Miller
From: sunil.kovv...@gmail.com Date: Thu, 1 Dec 2016 18:24:28 +0530 > From: Sunil Goutham > > Transmit queue timeout issue is seen in two cases > - Due to a race condition btw setting stop_queue at xmit() > and checking for stopped_queue in NAPI poll routine, at times > transmission from a S

[PATCH net-next v2] net: thunderx: Fix transmit queue timeout issue

2016-12-01 Thread sunil . kovvuri
From: Sunil Goutham Transmit queue timeout issue is seen in two cases - Due to a race condition btw setting stop_queue at xmit() and checking for stopped_queue in NAPI poll routine, at times transmission from a SQ comes to a halt. This is fixed by using barriers and also added a check for S