]> Pileus Git - ~andy/linux/blobdiff - net/openvswitch/datapath.c
openvswitch: Use parallel_ops genl.
[~andy/linux] / net / openvswitch / datapath.c
index d2f9f2e572989c1fe19034b9aac37e094cf2917c..74a5fe6feae3418453a490d3214e5887394abe6f 100644 (file)
@@ -270,7 +270,8 @@ static struct genl_family dp_packet_genl_family = {
        .name = OVS_PACKET_FAMILY,
        .version = OVS_PACKET_VERSION,
        .maxattr = OVS_PACKET_ATTR_MAX,
-       .netnsok = true
+       .netnsok = true,
+       .parallel_ops = true,
 };
 
 int ovs_dp_upcall(struct datapath *dp, struct sk_buff *skb,
@@ -836,7 +837,8 @@ static struct genl_family dp_flow_genl_family = {
        .name = OVS_FLOW_FAMILY,
        .version = OVS_FLOW_VERSION,
        .maxattr = OVS_FLOW_ATTR_MAX,
-       .netnsok = true
+       .netnsok = true,
+       .parallel_ops = true,
 };
 
 static struct genl_multicast_group ovs_dp_flow_multicast_group = {
@@ -1269,7 +1271,8 @@ static struct genl_family dp_datapath_genl_family = {
        .name = OVS_DATAPATH_FAMILY,
        .version = OVS_DATAPATH_VERSION,
        .maxattr = OVS_DP_ATTR_MAX,
-       .netnsok = true
+       .netnsok = true,
+       .parallel_ops = true,
 };
 
 static struct genl_multicast_group ovs_dp_datapath_multicast_group = {
@@ -1623,7 +1626,8 @@ static struct genl_family dp_vport_genl_family = {
        .name = OVS_VPORT_FAMILY,
        .version = OVS_VPORT_VERSION,
        .maxattr = OVS_VPORT_ATTR_MAX,
-       .netnsok = true
+       .netnsok = true,
+       .parallel_ops = true,
 };
 
 struct genl_multicast_group ovs_dp_vport_multicast_group = {