History

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.

Arkadi Sharshevsky committed 9 years ago

Commit 3fb886e1 parent 11770093 files · +23 −0Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/devlink.h+5−0
@@ -230,8 +230,13 @@ enum devlink_dpipe_field_ethernet_id { · 229 unmodified lines
230230 DEVLINK_DPIPE_FIELD_ETHERNET_DST_MAC,
231231 };
232232
233+enum devlink_dpipe_field_ipv4_id {
234+ DEVLINK_DPIPE_FIELD_IPV4_DST_IP,
235+};
236+
233237 enum devlink_dpipe_header_id {
234238 DEVLINK_DPIPE_HEADER_ETHERNET,
239+ DEVLINK_DPIPE_HEADER_IPV4,
235240 };
236241
237242 #endif /* _UAPI_LINUX_DEVLINK_H_ */