40#ifndef SOFTWARE_INCLUDE_ENSO_CONFIG_H_
41#define SOFTWARE_INCLUDE_ENSO_CONFIG_H_
65 uint16_t dst_port, uint16_t src_port, uint32_t dst_ip,
66 uint32_t src_ip, uint32_t protocol,
67 uint32_t enso_pipe_id);
82 uint8_t offset = kDefaultRttOffset);
130 uint16_t num, uint16_t den);
168 struct NotificationBufPair* notification_buf_pair);
int enable_timestamp(struct NotificationBufPair *notification_buf_pair, uint8_t offset=kDefaultRttOffset)
Enables hardware timestamping.
int enable_round_robin(struct NotificationBufPair *notification_buf_pair)
Enables packet round robin for the fallback pipes.
int disable_timestamp(struct NotificationBufPair *notification_buf_pair)
Disables hardware timestamping.
int enable_rate_limit(struct NotificationBufPair *notification_buf_pair, uint16_t num, uint16_t den)
Enables hardware rate limit.
int update_fallback_queues_config(struct NotificationBufPair *notification_buf_pair)
Update the device's fallback queues configuration.
int disable_rate_limit(struct NotificationBufPair *notification_buf_pair)
Disables hardware rate limit.
int insert_flow_entry(struct NotificationBufPair *notification_buf_pair, uint16_t dst_port, uint16_t src_port, uint32_t dst_ip, uint32_t src_ip, uint32_t protocol, uint32_t enso_pipe_id)
Inserts flow entry in the data plane flow table that will direct all packets matching the flow entry ...
int disable_round_robin(struct NotificationBufPair *notification_buf_pair)
Disables packet round robin for the fallback pipes. Using a hash of the packet's five tuple to select...
Constants used throughout the codebase. Some of these constants need to be kept in sync with the hard...
Definitions that are internal to Enso. They should not be exposed to applications.