Re: [PATCH 1/5 net-next] ibmvnic: Activate disabled RX buffer pools on reset

2017-06-14 Thread Thomas Falcon
On 06/14/2017 10:42 PM, David Miller wrote:
> Please always provide a proper "[PATCH 0/N ...] " header posting
> explaining what the patch series is doing, how it is doing it, and why
> it is doing it that way.
>
> I am getting kind of tired asking people for this FWIW...
>
Sorry, I will send a v2 with a proper header patch shortly.  Thanks for the 
prompt feedback.



Re: [PATCH 1/5 net-next] ibmvnic: Activate disabled RX buffer pools on reset

2017-06-14 Thread David Miller

Please always provide a proper "[PATCH 0/N ...] " header posting
explaining what the patch series is doing, how it is doing it, and why
it is doing it that way.

I am getting kind of tired asking people for this FWIW...


[PATCH 1/5 net-next] ibmvnic: Activate disabled RX buffer pools on reset

2017-06-14 Thread Thomas Falcon
RX buffer pools are disabled while awaiting a device
reset if firmware indicates that the resource is closed.

This patch fixes a bug where pools were not being 
subsequently enabled after the device reset, causing
the device to become inoperable.

Signed-off-by: Thomas Falcon 

---
 drivers/net/ethernet/ibm/ibmvnic.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/ibm/ibmvnic.c 
b/drivers/net/ethernet/ibm/ibmvnic.c
index 7e585fd..000cd15 100644
--- a/drivers/net/ethernet/ibm/ibmvnic.c
+++ b/drivers/net/ethernet/ibm/ibmvnic.c
@@ -383,6 +383,7 @@ static int reset_rx_pools(struct ibmvnic_adapter *adapter)
atomic_set(_pool->available, 0);
rx_pool->next_alloc = 0;
rx_pool->next_free = 0;
+   rx_pool->active = 1;
}
 
return 0;
-- 
1.8.5.6