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
230 DEVLINK_DPIPE_FIELD_ETHERNET_DST_MAC,230 DEVLINK_DPIPE_FIELD_ETHERNET_DST_MAC,
231};231};
232 232
233enum devlink_dpipe_field_ipv4_id {
234 DEVLINK_DPIPE_FIELD_IPV4_DST_IP,
235};
236
233enum devlink_dpipe_header_id {237enum devlink_dpipe_header_id {
234 DEVLINK_DPIPE_HEADER_ETHERNET,238 DEVLINK_DPIPE_HEADER_ETHERNET,
239 DEVLINK_DPIPE_HEADER_IPV4,
235};240};
236 241
237#endif /* _UAPI_LINUX_DEVLINK_H_ */242#endif /* _UAPI_LINUX_DEVLINK_H_ */