From 2b8940ac493cc3902db9972e58b8708d481938c8 Mon Sep 17 00:00:00 2001 From: Srivats P Date: Mon, 25 Feb 2019 21:03:28 +0530 Subject: [PATCH] HostDev: Change default mac mode to resolve Note - this will cause regressions in current API scripts if fixed was assumed as default. Fix is to explicitly specify fixed --- common/mac.proto | 4 ++-- common/mac.ui | 34 +++++++++++++++++----------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/common/mac.proto b/common/mac.proto index 1bd07f4..1c0a468 100644 --- a/common/mac.proto +++ b/common/mac.proto @@ -33,13 +33,13 @@ message Mac { // Dst Mac optional uint64 dst_mac = 1; - optional MacAddrMode dst_mac_mode = 2 [default = e_mm_fixed]; + optional MacAddrMode dst_mac_mode = 2 [default = e_mm_resolve]; optional uint32 dst_mac_count = 3 [default = 16]; optional uint32 dst_mac_step = 4 [default = 1]; // Src Mac optional uint64 src_mac = 5; - optional MacAddrMode src_mac_mode = 6 [default = e_mm_fixed]; + optional MacAddrMode src_mac_mode = 6 [default = e_mm_resolve]; optional uint32 src_mac_count = 7 [default = 16]; optional uint32 src_mac_step = 8 [default = 1]; } diff --git a/common/mac.ui b/common/mac.ui index dfa8247..66c88d4 100644 --- a/common/mac.ui +++ b/common/mac.ui @@ -15,16 +15,16 @@ - + - Address + Mode - + - Mode + Address @@ -50,16 +50,6 @@ - - - - 120 - 0 - - - - - @@ -83,6 +73,16 @@ + + + + + 120 + 0 + + + + @@ -105,9 +105,6 @@ - - - @@ -131,6 +128,9 @@ + + +