Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if_types.h
Show First 20 Lines • Show All 236 Lines • ▼ Show 20 Lines | typedef enum { | ||||
IFT_IMT = 0xbe, /* Inter-Machine Trunks */ | IFT_IMT = 0xbe, /* Inter-Machine Trunks */ | ||||
IFT_MVL = 0xbf, /* Multiple Virtual Lines DSL */ | IFT_MVL = 0xbf, /* Multiple Virtual Lines DSL */ | ||||
IFT_REACHDSL = 0xc0, /* Long Reach DSL */ | IFT_REACHDSL = 0xc0, /* Long Reach DSL */ | ||||
IFT_FRDLCIENDPT = 0xc1, /* Frame Relay DLCI End Point */ | IFT_FRDLCIENDPT = 0xc1, /* Frame Relay DLCI End Point */ | ||||
IFT_ATMVCIENDPT = 0xc2, /* ATM VCI End Point */ | IFT_ATMVCIENDPT = 0xc2, /* ATM VCI End Point */ | ||||
IFT_OPTICALCHANNEL = 0xc3, /* Optical Channel */ | IFT_OPTICALCHANNEL = 0xc3, /* Optical Channel */ | ||||
IFT_OPTICALTRANSPORT = 0xc4, /* Optical Transport */ | IFT_OPTICALTRANSPORT = 0xc4, /* Optical Transport */ | ||||
IFT_INFINIBAND = 0xc7, /* Infiniband */ | IFT_INFINIBAND = 0xc7, /* Infiniband */ | ||||
IFT_INFINIBANDLAG = 0xc8, /* Infiniband Link Aggregate */ | |||||
rpokala: The header for this enum mentions
http://www.iana.org/assignments/smi-numbers
This definition… | |||||
IFT_BRIDGE = 0xd1, /* Transparent bridge interface */ | IFT_BRIDGE = 0xd1, /* Transparent bridge interface */ | ||||
IFT_STF = 0xd7, /* 6to4 interface */ | IFT_STF = 0xd7, /* 6to4 interface */ | ||||
/* | /* | ||||
* Not based on IANA assignments. Conflicting with IANA assignments. | * Not based on IANA assignments. Conflicting with IANA assignments. | ||||
* We should make them negative probably. | * We should make them negative probably. | ||||
* This requires changes to struct if_data. | * This requires changes to struct if_data. | ||||
*/ | */ | ||||
Show All 23 Lines |
The header for this enum mentions
http://www.iana.org/assignments/smi-numbers
This definition conflicts with that, so shouldn't Mellanox / Nvidia register a new type value for aggregated IB, or shouldn't this be down with the non-IANA values?
Or at least have this annotated as being a known conflict?