mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
geneve-map-rename: rename geneve-map to tlv-map.
This patch renames the command name related with geneve-map to a more generic name as following: add-geneve-map -> add-tlv-map del-geneve-map -> del-tlv-map dump-geneve-map -> dump-tlv-map It also renames the Geneve_table to tlv_table. By doing this renaming, the NSH variable context header (the same TLV format as Geneve) or other protocol can reuse the field tun_metadata<N> in the future. Signed-off-by: Mengke Liu <mengke.liu@intel.com> Signed-off-by: Ricky Li <ricky.li@intel.com> Signed-off-by: Jesse Gross <jesse@kernel.org>
This commit is contained in:
@@ -725,32 +725,32 @@ enum ofperr {
|
||||
OFPERR_OFPMOFC_BAD_OUT,
|
||||
|
||||
/* ## ----------------------------- ## */
|
||||
/* ## OFPET_GENEVE_TABLE_MOD_FAILED ## */
|
||||
/* ## OFPET_TLV_TABLE_MOD_FAILED ## */
|
||||
/* ## ----------------------------- ## */
|
||||
|
||||
/* NX1.0-1.1(1,527), NX1.2+(16). The Geneve table mod command is not
|
||||
/* NX1.0-1.1(1,527), NX1.2+(16). The TLV table mod command is not
|
||||
* recognized as a valid operation. */
|
||||
OFPERR_NXGTMFC_BAD_COMMAND,
|
||||
OFPERR_NXTTMFC_BAD_COMMAND,
|
||||
|
||||
/* NX1.0-1.1(1,528), NX1.2+(17). The option length is not a valid
|
||||
* option size for Geneve. */
|
||||
OFPERR_NXGTMFC_BAD_OPT_LEN,
|
||||
* option size for TLVs. */
|
||||
OFPERR_NXTTMFC_BAD_OPT_LEN,
|
||||
|
||||
/* NX1.0-1.1(1,529), NX1.2+(18). The field index is out of range for
|
||||
* the supported NX_TUN_METADATA<n> match. */
|
||||
OFPERR_NXGTMFC_BAD_FIELD_IDX,
|
||||
OFPERR_NXTTMFC_BAD_FIELD_IDX,
|
||||
|
||||
/* NX1.0-1.1(1,530), NX1.2+(19). The total set of configured options
|
||||
* exceeds the maximum supported by the switch. */
|
||||
OFPERR_NXGTMFC_TABLE_FULL,
|
||||
OFPERR_NXTTMFC_TABLE_FULL,
|
||||
|
||||
/* NX1.0-1.1(1,531), NX1.2+(20). The controller issued an NXGTMC_ADD
|
||||
/* NX1.0-1.1(1,531), NX1.2+(20). The controller issued an NXTTMC_ADD
|
||||
* command for a field index that is already mapped. */
|
||||
OFPERR_NXGTMFC_ALREADY_MAPPED,
|
||||
OFPERR_NXTTMFC_ALREADY_MAPPED,
|
||||
|
||||
/* NX1.0-1.1(1,532), NX1.2+(21). The Geneve option that is attempting
|
||||
/* NX1.0-1.1(1,532), NX1.2+(21). The option TLV that is attempting
|
||||
* to be mapped is the same as one assigned to a different field. */
|
||||
OFPERR_NXGTMFC_DUP_ENTRY,
|
||||
OFPERR_NXTTMFC_DUP_ENTRY,
|
||||
|
||||
/* ## ------------------ ## */
|
||||
/* ## OFPET_EXPERIMENTER ## */
|
||||
|
Reference in New Issue
Block a user