diff options
author | Arkadi Sharshevsky <arkadis@mellanox.com> | 2017-08-24 09:40:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-24 19:33:16 +0300 |
commit | 3fb886ecea93605a8ea14e258ff3158b8966781e (patch) | |
tree | 1beec367c4ea6599e8658c8389dfa2e9bc8c4073 /include/uapi/linux/devlink.h | |
parent | 1177009131bee310421f5c04c43d3777cbacbdc8 (diff) | |
download | linux-3fb886ecea93605a8ea14e258ff3158b8966781e.tar.xz |
devlink: Add IPv4 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/uapi/linux/devlink.h')
-rw-r--r-- | include/uapi/linux/devlink.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/linux/devlink.h b/include/uapi/linux/devlink.h index a855f8dcc8ee..6c172548589d 100644 --- a/include/uapi/linux/devlink.h +++ b/include/uapi/linux/devlink.h @@ -230,8 +230,13 @@ enum devlink_dpipe_field_ethernet_id { DEVLINK_DPIPE_FIELD_ETHERNET_DST_MAC, }; +enum devlink_dpipe_field_ipv4_id { + DEVLINK_DPIPE_FIELD_IPV4_DST_IP, +}; + enum devlink_dpipe_header_id { DEVLINK_DPIPE_HEADER_ETHERNET, + DEVLINK_DPIPE_HEADER_IPV4, }; #endif /* _UAPI_LINUX_DEVLINK_H_ */ |