mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
ofp-actions: Document that learn(limit=0) is no limit.
The documentation was unclear that specifying a limit of 0 is the same as specifying no limit. Controllers that wish to set a learn limit so that no more than 0 flows are learned may omit the learn action. Signed-off-by: Joe Stringer <joe@ovn.org> Acked-by: Jarno Rajahalme <jarno@ovn.org>
This commit is contained in:
@@ -762,7 +762,7 @@ struct ofpact_learn {
|
||||
uint16_t fin_idle_timeout; /* Idle timeout after FIN, if nonzero. */
|
||||
uint16_t fin_hard_timeout; /* Hard timeout after FIN, if nonzero. */
|
||||
/* If the number of flows on 'table_id' with 'cookie' exceeds this,
|
||||
* the action will not add a new flow. */
|
||||
* the action will not add a new flow. 0 indicates unlimited. */
|
||||
uint32_t limit;
|
||||
/* Used only if 'flags' has NX_LEARN_F_WRITE_RESULT. If the execution
|
||||
* failed to install a new flow because 'limit' is exceeded,
|
||||
|
Reference in New Issue
Block a user