summaryrefslogtreecommitdiffstats
path: root/include/net/devlink.h
diff options
context:
space:
mode:
authorArkadi Sharshevsky <arkadis@mellanox.com>2017-08-24 08:39:59 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-24 09:33:15 -0700
commit1177009131bee310421f5c04c43d3777cbacbdc8 (patch)
tree1eac186ba0d3d6de2bdf8f292f72313694716be9 /include/net/devlink.h
parenta5e2da6e9787187ff104c34aa048419703c1f9cb (diff)
downloadtalos-obmc-linux-1177009131bee310421f5c04c43d3777cbacbdc8.tar.gz
talos-obmc-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
OpenPOWER on IntegriCloud