Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ethernet: add sanity checks to p2p_ethernet_add/del
[vpp.git]
/
src
/
vnet
/
ethernet
/
interface.c
diff --git
a/src/vnet/ethernet/interface.c
b/src/vnet/ethernet/interface.c
index
3b9093c
..
629f190
100644
(file)
--- a/
src/vnet/ethernet/interface.c
+++ b/
src/vnet/ethernet/interface.c
@@
-1192,6
+1192,13
@@
VLIB_CLI_COMMAND (delete_sub_interface_command, static) = {
};
/* *INDENT-ON* */
};
/* *INDENT-ON* */
+/* ethernet { ... } configuration. */
+/*?
+ *
+ * @cfgcmd{default-mtu <n>}
+ * Specify the default mtu in the range of 64-9000. The default is 9000 bytes.
+ *
+ */
static clib_error_t *
ethernet_config (vlib_main_t * vm, unformat_input_t * input)
{
static clib_error_t *
ethernet_config (vlib_main_t * vm, unformat_input_t * input)
{