Rate This Document
Findability
Accuracy
Completeness
Readability

ovs-appctl hwoff-flow-agent/policy

Syntax

ovs-appctl hwoff-flow-agent/policy enable_permission <0|1> | user_default_permissions <0-10000000> | permission_update_interval <100-10000000 ms> | permission_credit <0-10000> offload_packet_num <0-10000000> | offload_delay_mode <0|1> | duration_before_offload <0-10000000 ms> | offload_pps <0-10000000> | garbage_clean_interval <100-10000000 ms> | garbage_max_life <10-10000000 ms> | enable_clean_window <0|1> | clean_pps <0-10000000> | clean_window_update_interval <100-10000000 ms> | limit_flow_nums <2000000-8000000> | user_idle_time <1-10000000>

Function

Configures policy parameters for flow table offloading.

Parameters

Parameter

Mandatory

Description

enable_permission

No

Indicates whether to enable the offload permission in user mode. The value can be 0 or 1. 0: disabled. 1: enabled.

user_default_permissions

No

Default number of flows that can be offloaded by a single user. The value ranges from 0 to 10,000,000.

permission_update_interval

No

Interval (in ms) for updating the number of flows that can be offloaded by a single user. The value ranges from 100 to 10,000,000.

permission_credit

No

Maximum number of conntrack records to be offloaded. The value ranges from 0 to 10,000. 0 indicates no limit.

offload_packet_num

No

Maximum number of packets before offloading. The value ranges from 0 to 10,000,000.

offload_delay_mode

No

Specifies whether to enable delayed offload. The value can be 0 or 1. 0: disabled. 1: enabled.

duration_before_offload

No

Offloading delay time, in ms. The value ranges from 0 to 10,000,000.

offload_pps

No

Offloading delay PPS (PPS is short for packet per second). Offloading starts when the traffic reaches this value. The value ranges from 0 to 10,000,000.

garbage_clean_interval

No

Interval (in ms) for deleting garbage flows. The value ranges from 100 to 10,000,000.

garbage_max_life

No

Maximum aging time (in ms) of garbage flows. The value ranges from 10 to 10,000,000.

enable_clean_window

No

Threshold for clearing conntrack offload cache. The value ranges from 0 to 10,000,000. The value 0 indicates that the function is disabled.

clean_pps

No

Flow replacement PPS. The value ranges from 0 to 10,000,000.

clean_window_update_interval

No

Interval (in ms) for clearing conntrack offload cache. The value ranges from 100 to 10,000,000.

limit_flow_nums

No

Maximum number of flows that can be offloaded. The value ranges from 2,000,000 to 8,000,000.

user_idle_time

No

Maximum idle time (in second) of a user in the hwoff-flow-agent offload policy. The value ranges from 1 to 10,000,000.

Example

1
ovs-appctl hwoff-flow-agent/policy enable_permission 1