aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Feldman <sfeldma@gmail.com>2015-03-20 20:42:46 -0400
committerDavid S. Miller <davem@davemloft.net>2015-03-20 21:36:53 -0400
commit13bb8e2eb37eb3badf5bf4b6bb90e485fbb6b1cd (patch)
tree5b0e769e0694d7fafb475ae6b8512b1da155c3a4
parentd3593b5cef76db45c864de23c599b58198879e8c (diff)
switchdev: kernel-doc cleanup on swithdev ops
Suggested-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Scott Feldman <sfeldma@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/net/switchdev.h23
1 files changed, 7 insertions, 16 deletions
diff --git a/include/net/switchdev.h b/include/net/switchdev.h
index e5de53f92482..d2e69ee3019a 100644
--- a/include/net/switchdev.h
+++ b/include/net/switchdev.h
@@ -19,25 +19,16 @@ struct fib_info;
19/** 19/**
20 * struct switchdev_ops - switchdev operations 20 * struct switchdev_ops - switchdev operations
21 * 21 *
22 * int (*swdev_parent_id_get)(struct net_device *dev, 22 * @swdev_parent_id_get: Called to get an ID of the switch chip this port
23 * struct netdev_phys_item_id *psid); 23 * is part of. If driver implements this, it indicates that it
24 * Called to get an ID of the switch chip this port is part of. 24 * represents a port of a switch chip.
25 * If driver implements this, it indicates that it represents a port
26 * of a switch chip.
27 * 25 *
28 * int (*swdev_port_stp_update)(struct net_device *dev, u8 state); 26 * @swdev_port_stp_update: Called to notify switch device port of bridge
29 * Called to notify switch device port of bridge port STP 27 * port STP state change.
30 * state change.
31 * 28 *
32 * int (*swdev_fib_ipv4_add)(struct net_device *dev, __be32 dst, 29 * @swdev_fib_ipv4_add: Called to add/modify IPv4 route to switch device.
33 * int dst_len, struct fib_info *fi,
34 * u8 tos, u8 type, u32 nlflags, u32 tb_id);
35 * Called to add/modify IPv4 route to switch device.
36 * 30 *
37 * int (*swdev_fib_ipv4_del)(struct net_device *dev, __be32 dst, 31 * @swdev_fib_ipv4_del: Called to delete IPv4 route from switch device.
38 * int dst_len, struct fib_info *fi,
39 * u8 tos, u8 type, u32 tb_id);
40 * Called to delete IPv4 route from switch device.
41 */ 32 */
42struct swdev_ops { 33struct swdev_ops {
43 int (*swdev_parent_id_get)(struct net_device *dev, 34 int (*swdev_parent_id_get)(struct net_device *dev,