mirror of
https://github.com/openvswitch/ovs
synced 2025-10-25 15:07:05 +00:00
meta-flow: Add 64-bit registers.
These 64-bit registers are intended to conform with the OpenFlow 1.5 draft specification. EXT-244. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
This commit is contained in:
@@ -68,6 +68,7 @@ enum ofp12_oxm_class {
|
||||
OFPXMC12_NXM_0 = 0x0000, /* Backward compatibility with NXM */
|
||||
OFPXMC12_NXM_1 = 0x0001, /* Backward compatibility with NXM */
|
||||
OFPXMC12_OPENFLOW_BASIC = 0x8000, /* Basic class for OpenFlow */
|
||||
OFPXMC15_PACKET_REGS = 0x8001, /* Packet registers (pipeline fields). */
|
||||
OFPXMC12_EXPERIMENTER = 0xffff, /* Experimenter class */
|
||||
};
|
||||
|
||||
@@ -197,6 +198,9 @@ enum oxm12_ofb_match_fields {
|
||||
#define OXM_OF_TCP_FLAGS OXM_HEADER (OFPXMT15_OFB_TCP_FLAGS, 2)
|
||||
#define OXM_OF_TCP_FLAGS_W OXM_HEADER_W (OFPXMT15_OFB_TCP_FLAGS, 2)
|
||||
|
||||
#define OXM_OF_PKT_REG(N) (NXM_HEADER (OFPXMC15_PACKET_REGS, N, 8))
|
||||
#define OXM_OF_PKT_REG_W(N) (NXM_HEADER_W(OFPXMC15_PACKET_REGS, N, 8))
|
||||
|
||||
/* The VLAN id is 12-bits, so we can use the entire 16 bits to indicate
|
||||
* special conditions.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user