Files
linux-st/include/net
Elad Raz 7ceb2afbd6 switchdev: Adding complete operation to deferred switchdev ops
When using switchdev deferred operation (SWITCHDEV_F_DEFER), the operation
is executed in different context and the application doesn't have any way
to get the operation real status.

Adding a completion callback fixes that. This patch adds fields to
switchdev_attr and switchdev_obj "complete_priv" field which is used by
the "complete" callback.

Application can set a complete function which will be called once the
operation executed.

Signed-off-by: Elad Raz <eladr@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-04-24 14:23:32 -04:00
..
2016-03-18 23:14:15 -04:00
2015-11-18 16:17:38 -05:00
2016-03-01 16:07:29 -05:00
2016-02-16 20:21:48 -05:00
2016-03-10 14:42:03 -05:00
2016-02-21 22:00:28 -05:00
2015-10-23 06:26:42 -07:00
2016-03-23 22:09:58 -04:00
2016-03-11 12:04:37 -05:00
2016-04-11 15:56:20 -04:00
2015-10-26 22:24:22 -07:00
2016-03-21 13:30:02 -04:00