summaryrefslogtreecommitdiffstats
path: root/include/net/switchdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/switchdev.h')
-rw-r--r--include/net/switchdev.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/net/switchdev.h b/include/net/switchdev.h
index 45310ddf2d7e..be4b13e66668 100644
--- a/include/net/switchdev.h
+++ b/include/net/switchdev.h
@@ -115,13 +115,9 @@ typedef int switchdev_obj_dump_cb_t(struct switchdev_obj *obj);
115/** 115/**
116 * struct switchdev_ops - switchdev operations 116 * struct switchdev_ops - switchdev operations
117 * 117 *
118 * @switchdev_port_attr_get: Get a port attribute (see switchdev_attr).
119 *
120 * @switchdev_port_attr_set: Set a port attribute (see switchdev_attr). 118 * @switchdev_port_attr_set: Set a port attribute (see switchdev_attr).
121 */ 119 */
122struct switchdev_ops { 120struct switchdev_ops {
123 int (*switchdev_port_attr_get)(struct net_device *dev,
124 struct switchdev_attr *attr);
125 int (*switchdev_port_attr_set)(struct net_device *dev, 121 int (*switchdev_port_attr_set)(struct net_device *dev,
126 const struct switchdev_attr *attr, 122 const struct switchdev_attr *attr,
127 struct switchdev_trans *trans); 123 struct switchdev_trans *trans);