RE: [PATCH net-next] liquidio: Fix an issue with multiple switchdev enable disables

2017-11-06 Thread Guvva, Vijaya
>Applied, thanks. > >But I do have a question, are you properly reference counting these dispatch >function objects? I can't see how you can properly handle multiple >enable/disable otherwise. > LiquidIO doesn't reference count dispatch function as no two LiquidIO components registers for the same

Re: [PATCH net-next] liquidio: Fix an issue with multiple switchdev enable disables

2017-11-03 Thread David Miller
From: Felix Manlunas Date: Fri, 3 Nov 2017 12:17:44 -0700 > From: Vijaya Mohan Guvva > > Return success if the same dispatch function is being registered for > a given opcode and subcode, there by allow multiple switchdev enable > and disables. > > Signed-off-by: Vijaya Mohan Guvva > Signed-o

[PATCH net-next] liquidio: Fix an issue with multiple switchdev enable disables

2017-11-03 Thread Felix Manlunas
From: Vijaya Mohan Guvva Return success if the same dispatch function is being registered for a given opcode and subcode, there by allow multiple switchdev enable and disables. Signed-off-by: Vijaya Mohan Guvva Signed-off-by: Satanand Burla Signed-off-by: Felix Manlunas --- drivers/net/ether