summaryrefslogtreecommitdiffstats
path: root/include/net/devlink.h
diff options
context:
space:
mode:
authorArkadi Sharshevsky2017-08-24 08:39:59 +0200
committerDavid S. Miller2017-08-24 18:33:15 +0200
commit1177009131bee310421f5c04c43d3777cbacbdc8 (patch)
tree1eac186ba0d3d6de2bdf8f292f72313694716be9 /include/net/devlink.h
parentbpf: netdev is never null in __dev_map_flush (diff)
downloadkernel-qcow2-linux-1177009131bee310421f5c04c43d3777cbacbdc8.tar.gz
kernel-qcow2-linux-1177009131bee310421f5c04c43d3777cbacbdc8.tar.xz
kernel-qcow2-linux-1177009131bee310421f5c04c43d3777cbacbdc8.zip
devlink: Add Ethernet header for dpipe
This will be used by the IPv4 host table which will be introduced in the following patches. This header is global and can be reused by many drivers. Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/devlink.h')
-rw-r--r--include/net/devlink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/devlink.h b/include/net/devlink.h
index ed7687bbf5d0..ddb8b5227580 100644
--- a/include/net/devlink.h
+++ b/include/net/devlink.h
@@ -328,6 +328,7 @@ int devlink_dpipe_action_put(struct sk_buff *skb,
struct devlink_dpipe_action *action);
int devlink_dpipe_match_put(struct sk_buff *skb,
struct devlink_dpipe_match *match);
+extern struct devlink_dpipe_header devlink_dpipe_header_ethernet;
#else