ovs-ofctl: Factor out common code in str_to_port_no(), do_mod_port().
[openvswitch] / datapath / odp-compat.h
index 3d7b803fedfa5ae6ff6f8a89a7ea6b3943fec2e2..669a5216a872bc4eabbcb40a0f620c7324a4f81c 100644 (file)
@@ -16,8 +16,6 @@
 #include <linux/compat.h>
 
 #define ODP_PORT_LIST32                _IOWR('O', 10, struct compat_odp_portvec)
-#define ODP_PORT_GROUP_SET32   _IOR('O', 11, struct compat_odp_port_group)
-#define ODP_PORT_GROUP_GET32   _IOWR('O', 12, struct compat_odp_port_group)
 #define ODP_FLOW_GET32         _IOWR('O', 13, struct compat_odp_flow)
 #define ODP_FLOW_PUT32         _IOWR('O', 14, struct compat_odp_flow)
 #define ODP_FLOW_LIST32                _IOWR('O', 15, struct compat_odp_flowvec)
@@ -32,12 +30,6 @@ struct compat_odp_portvec {
        u32 n_ports;
 };
 
-struct compat_odp_port_group {
-       compat_uptr_t ports;
-       u16 n_ports;            /* Number of ports. */
-       u16 group;              /* Group number. */
-};
-
 struct compat_odp_flow {
        struct odp_flow_stats stats;
        struct odp_flow_key key;