diff options
author | Nathan Skrzypczak <nathan.skrzypczak@gmail.com> | 2021-10-06 15:03:35 +0200 |
---|---|---|
committer | Nathan Skrzypczak <nathan.skrzypczak@gmail.com> | 2021-10-06 15:04:00 +0200 |
commit | 5e6a1651c4759eac56a0409a75e6d3b75511d234 (patch) | |
tree | 377777254a697f8da7a706ab9c652e55213429a5 /src | |
parent | fd51e849bfc00fb6b5150f485172070d0e1a6800 (diff) |
docs: more nitfixes
Type: fix
Change-Id: I41455e1cdc62e7c0baa148630b0701b042f3b156
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/acl/acl.c | 15 | ||||
-rw-r--r-- | src/vnet/vxlan-gbp/vxlan_gbp.c | 38 | ||||
-rw-r--r-- | src/vnet/vxlan-gpe/vxlan_gpe.c | 38 | ||||
-rw-r--r-- | src/vnet/vxlan/vxlan.c | 4 |
4 files changed, 49 insertions, 46 deletions
diff --git a/src/plugins/acl/acl.c b/src/plugins/acl/acl.c index 24536eb84b7..01a1e87a29b 100644 --- a/src/plugins/acl/acl.c +++ b/src/plugins/acl/acl.c @@ -3589,16 +3589,15 @@ VLIB_CLI_COMMAND (aclplugin_set_interface_command, static) = { * an ACL is composed of more than one Access control element (ACE). Multiple * ACEs can be specified with this command using a comma separated list. * - * Each ACE describes a tuple of src+dst IP prefix, ip protocol, src+dst port ranges. - * (the ACL plugin also support ICMP types/codes instead of UDP/TCP ports, but - * this CLI does not). + * Each ACE describes a tuple of src+dst IP prefix, ip protocol, src+dst port + * ranges. (the ACL plugin also support ICMP types/codes instead of UDP/TCP + * ports, but this CLI does not). * - * An ACL can optionally be assigned a 'tag' - which is an identifier understood - * by the client. VPP does not examine it in any way. + * An ACL can optionally be assigned a 'tag' - which is an identifier + * understood by the client. VPP does not examine it in any way. * - * @cliexpar - * <b><em> set acl-plugin acl <permit|deny> src <PREFIX> dst <PREFIX> proto <TCP|UDP> sport <X-Y> dport <X-Y> [tag FOO] </b></em> - * @cliexend + * @cliexcmd{set acl-plugin acl <permit|deny> src <PREFIX> dst <PREFIX> proto + * <TCP|UDP> sport <X-Y> dport <X-Y> [tag FOO]} ?*/ VLIB_CLI_COMMAND (aclplugin_set_acl_command, static) = { .path = "set acl-plugin acl", diff --git a/src/vnet/vxlan-gbp/vxlan_gbp.c b/src/vnet/vxlan-gbp/vxlan_gbp.c index 37cfd728121..1a1d2c2ba08 100644 --- a/src/vnet/vxlan-gbp/vxlan_gbp.c +++ b/src/vnet/vxlan-gbp/vxlan_gbp.c @@ -1031,11 +1031,12 @@ set_ip4_vxlan_gbp_bypass (vlib_main_t * vm, } /*? - * This command adds the 'ip4-vxlan-gbp-bypass' graph node for a given interface. - * By adding the IPv4 vxlan_gbp-bypass graph node to an interface, the node checks - * for and validate input vxlan_gbp packet and bypass ip4-lookup, ip4-local, - * ip4-udp-lookup nodes to speedup vxlan_gbp packet forwarding. This node will - * cause extra overhead to for non-vxlan_gbp packets which is kept at a minimum. + * This command adds the 'ip4-vxlan-gbp-bypass' graph node for a given + * interface. By adding the IPv4 vxlan_gbp-bypass graph node to an interface, + * the node checks for and validate input vxlan_gbp packet and bypass + * ip4-lookup, ip4-local, ip4-udp-lookup nodes to speedup vxlan_gbp packet + * forwarding. This node will cause extra overhead to for non-vxlan_gbp packets + * which is kept at a minimum. * * @cliexpar * @parblock @@ -1052,10 +1053,10 @@ set_ip4_vxlan_gbp_bypass (vlib_main_t * vm, * * Example of graph node after ip4-vxlan-gbp-bypass is enabled: * @cliexstart{show vlib graph ip4-vxlan-gbp-bypass} - * Name Next Previous - * ip4-vxlan-gbp-bypass error-drop [0] ip4-input - * vxlan4-gbp-input [1] ip4-input-no-checksum - * ip4-lookup [2] + * Name Next Previous + * ip4-vxlan-gbp-bypass error-drop [0] ip4-input + * vxlan4-gbp-input [1] ip4-input-no-checksum + * ip4-lookup [2] * @cliexend * * Example of how to display the feature enabled on an interface: @@ -1088,11 +1089,12 @@ set_ip6_vxlan_gbp_bypass (vlib_main_t * vm, } /*? - * This command adds the 'ip6-vxlan-gbp-bypass' graph node for a given interface. - * By adding the IPv6 vxlan-gbp-bypass graph node to an interface, the node checks - * for and validate input vxlan_gbp packet and bypass ip6-lookup, ip6-local, - * ip6-udp-lookup nodes to speedup vxlan_gbp packet forwarding. This node will - * cause extra overhead to for non-vxlan packets which is kept at a minimum. + * This command adds the 'ip6-vxlan-gbp-bypass' graph node for a given + * interface. By adding the IPv6 vxlan-gbp-bypass graph node to an interface, + * the node checks for and validate input vxlan_gbp packet and bypass + * ip6-lookup, ip6-local, ip6-udp-lookup nodes to speedup vxlan_gbp packet + * forwarding. This node will cause extra overhead to for non-vxlan packets + * which is kept at a minimum. * * @cliexpar * @parblock @@ -1109,10 +1111,10 @@ set_ip6_vxlan_gbp_bypass (vlib_main_t * vm, * * Example of graph node after ip6-vxlan-gbp-bypass is enabled: * @cliexstart{show vlib graph ip6-vxlan-gbp-bypass} - * Name Next Previous - * ip6-vxlan-gbp-bypass error-drop [0] ip6-input - * vxlan6-gbp-input [1] ip4-input-no-checksum - * ip6-lookup [2] + * Name Next Previous + * ip6-vxlan-gbp-bypass error-drop [0] ip6-input + * vxlan6-gbp-input [1] ip4-input-no-checksum + * ip6-lookup [2] * @cliexend * * Example of how to display the feature enabled on an interface: diff --git a/src/vnet/vxlan-gpe/vxlan_gpe.c b/src/vnet/vxlan-gpe/vxlan_gpe.c index e5ca4ec769e..6fd0561099b 100644 --- a/src/vnet/vxlan-gpe/vxlan_gpe.c +++ b/src/vnet/vxlan-gpe/vxlan_gpe.c @@ -1087,11 +1087,12 @@ set_ip4_vxlan_gpe_bypass (vlib_main_t * vm, } /*? - * This command adds the 'ip4-vxlan-gpe-bypass' graph node for a given interface. - * By adding the IPv4 vxlan-gpe-bypass graph node to an interface, the node checks - * for and validate input vxlan_gpe packet and bypass ip4-lookup, ip4-local, - * ip4-udp-lookup nodes to speedup vxlan_gpe packet forwarding. This node will - * cause extra overhead to for non-vxlan_gpe packets which is kept at a minimum. + * This command adds the 'ip4-vxlan-gpe-bypass' graph node for a given + * interface. By adding the IPv4 vxlan-gpe-bypass graph node to an interface, + * the node checks for and validate input vxlan_gpe packet and bypass + * ip4-lookup, ip4-local, ip4-udp-lookup nodes to speedup vxlan_gpe packet + * forwarding. This node will cause extra overhead to for non-vxlan_gpe + * packets which is kept at a minimum. * * @cliexpar * @parblock @@ -1108,10 +1109,10 @@ set_ip4_vxlan_gpe_bypass (vlib_main_t * vm, * * Example of graph node after ip4-vxlan-gpe-bypass is enabled: * @cliexstart{show vlib graph ip4-vxlan-gpe-bypass} - * Name Next Previous - * ip4-vxlan-gpe-bypass error-drop [0] ip4-input - * vxlan4-gpe-input [1] ip4-input-no-checksum - * ip4-lookup [2] + * Name Next Previous + * ip4-vxlan-gpe-bypass error-drop [0] ip4-input + * vxlan4-gpe-input [1] ip4-input-no-checksum + * ip4-lookup [2] * @cliexend * * Example of how to display the feature enabled on an interface: @@ -1144,11 +1145,12 @@ set_ip6_vxlan_gpe_bypass (vlib_main_t * vm, } /*? - * This command adds the 'ip6-vxlan-gpe-bypass' graph node for a given interface. - * By adding the IPv6 vxlan-gpe-bypass graph node to an interface, the node checks - * for and validate input vxlan_gpe packet and bypass ip6-lookup, ip6-local, - * ip6-udp-lookup nodes to speedup vxlan_gpe packet forwarding. This node will - * cause extra overhead to for non-vxlan_gpe packets which is kept at a minimum. + * This command adds the 'ip6-vxlan-gpe-bypass' graph node for a given + * interface. By adding the IPv6 vxlan-gpe-bypass graph node to an interface, + * the node checks for and validate input vxlan_gpe packet and bypass + * ip6-lookup, ip6-local, ip6-udp-lookup nodes to speedup vxlan_gpe packet + * forwarding. This node will cause extra overhead to for non-vxlan_gpe packets + * which is kept at a minimum. * * @cliexpar * @parblock @@ -1165,10 +1167,10 @@ set_ip6_vxlan_gpe_bypass (vlib_main_t * vm, * * Example of graph node after ip6-vxlan-gpe-bypass is enabled: * @cliexstart{show vlib graph ip6-vxlan-gpe-bypass} - * Name Next Previous - * ip6-vxlan-gpe-bypass error-drop [0] ip6-input - * vxlan6-gpe-input [1] ip4-input-no-checksum - * ip6-lookup [2] + * Name Next Previous + * ip6-vxlan-gpe-bypass error-drop [0] ip6-input + * vxlan6-gpe-input [1] ip4-input-no-checksum + * ip6-lookup [2] * @cliexend * * Example of how to display the feature enabled on an interface: diff --git a/src/vnet/vxlan/vxlan.c b/src/vnet/vxlan/vxlan.c index dcf480578a7..f62b9252377 100644 --- a/src/vnet/vxlan/vxlan.c +++ b/src/vnet/vxlan/vxlan.c @@ -1073,7 +1073,7 @@ set_ip4_vxlan_bypass (vlib_main_t * vm, /*? * This command adds the 'ip4-vxlan-bypass' graph node for a given interface. * By adding the IPv4 vxlan-bypass graph node to an interface, the node checks - * for and validate input vxlan packet and bypass ip4-lookup, ip4-local, + * for and validate input vxlan packet and bypass ip4-lookup, ip4-local, * ip4-udp-lookup nodes to speedup vxlan packet forwarding. This node will * cause extra overhead to for non-vxlan packets which is kept at a minimum. * @@ -1130,7 +1130,7 @@ set_ip6_vxlan_bypass (vlib_main_t * vm, /*? * This command adds the 'ip6-vxlan-bypass' graph node for a given interface. * By adding the IPv6 vxlan-bypass graph node to an interface, the node checks - * for and validate input vxlan packet and bypass ip6-lookup, ip6-local, + * for and validate input vxlan packet and bypass ip6-lookup, ip6-local, * ip6-udp-lookup nodes to speedup vxlan packet forwarding. This node will * cause extra overhead to for non-vxlan packets which is kept at a minimum. * |