summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/af_packet/cli.c
diff options
context:
space:
mode:
authorBilly McFall <bmcfall@redhat.com>2017-01-11 08:44:52 -0500
committerDamjan Marion <dmarion.lists@gmail.com>2017-01-14 09:42:45 +0000
commit2d0b6e380be3acec05f4acea9e4f1b9bb730ee88 (patch)
tree074d6a55c26b6fc76d0b6a6601f37fdc06251996 /src/vnet/devices/af_packet/cli.c
parent5a3a6c09f58a28fee1a673475e1c25b3aea31f60 (diff)
VPP-279: Document changes for vnet/vnet/devices
Add doxygen documentation for netmap CLI commands. Change-Id: I8d3ce12b1cfa5af30ddcd31cb476ca4652cfc2f3 Signed-off-by: Billy McFall <bmcfall@redhat.com>
Diffstat (limited to 'src/vnet/devices/af_packet/cli.c')
-rw-r--r--src/vnet/devices/af_packet/cli.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vnet/devices/af_packet/cli.c b/src/vnet/devices/af_packet/cli.c
index 5c55cb4f10e..6baa26e1720 100644
--- a/src/vnet/devices/af_packet/cli.c
+++ b/src/vnet/devices/af_packet/cli.c
@@ -96,6 +96,11 @@ af_packet_create_command_fn (vlib_main_t * vm, unformat_input_t * input,
* is the name of the specified veth pair. Use the
* '<em>show interfaces</em>' command to display host interface details.
*
+ * This command has the following optional parameters:
+ *
+ * - <b>hw-addr <mac-addr></b> - Optional ethernet address, can be in either
+ * X:X:X:X:X:X unix or X.X.X cisco format.
+ *
* @cliexpar
* Example of how to create a host interface tied to one side of an
* existing linux veth pair named vpp1: