Re: [PATCH net 2/4] qed: fix handling of concurrent ramrods

2015-12-04 Thread David Miller
From: Manish Chopra Date: Thu, 3 Dec 2015 05:59:14 -0500 > @@ -124,8 +124,19 @@ struct qed_spq { > dma_addr_t p_phys; > struct qed_spq_entry*p_virt; > > - /* Used as index for completions (returns on EQ by FW) */ > - u16 echo_idx; > +

[PATCH net 2/4] qed: fix handling of concurrent ramrods

2015-12-03 Thread Manish Chopra
From: Tomer Tayar Concurrent non-blocking slowpath ramrods can be completed out-of-order on the completion chain. Recycling completed elements, while previously sent elements are still completion pending, can lead to overriding of active elements on the chain. Furthermore, sending pending slowpat