evb change help text

Change the help text for the evb draft 0.2 version.
Add the draft version number into the description
field.

Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
vdp change return code when interface missing

Change the return code of some funtions to return
device_not_found when the VSI profile search using
the interface name does not return the profile.

Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
vdp command line interface check mac address

Add a check for the correct format of the MAC address
when a VSI command is entered via the mode option.
Also return device_not_found when the network interface
is not active (instead of cmd_invalid).
Remove an unnecessary check.

Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
vdp make function print_profile static

Declare function print_profile static

Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
vdp command line interface move defines

Move some defines to the correct include file.

Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
vdp remove unneeded header file

Remove unneeded header file include/lldp_vdp_clif.h when
is not needed anymore after defines have been moved.

Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
vdp command line mode support

Rework the output of the command 'lldptool -t -i ethx -V vdp -c mode'
to match the same format as on input.

Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
vdp command line interface info text

Change the vdp protocol help text to contain the
draft 0.2 of the IEEE 802.1Qbg standard.

Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
evb make command line parameter lower case

Convert the command line parameter -V evbCfg all lower
case. The invocation can still be mixed case as the
code uses strcasecmp() function.

Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
lldp_8021qaz_cmds rearrange parameter checking

Rearrange the sequence of input parameter checks to return
the error code cmd_not_applicable first before any other
type of input parameter checks are performed.

Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>