From 7a7c370b26d5e767522c1fa3ef717fd9b6f13384 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Thu, 20 Jul 2017 11:34:08 -0700 Subject: [PATCH] Revert "hardware offload support for openvswitch" This reverts commit f39c1a1615cc64e08aff7e873b62def53638659e. As it turned out during nova review for the feature [1], we can avoid a separate vif type, reusing the normal one. This patch drops the type added in the previous library release. In theory, it's not backwards compatible, but since there is probably little adoption for the last library release, and especially for the new type (I would be surprised to learn anyone started using it), I think it's ok to drop it and pretend it never happened. [1] https://review.openstack.org/#/c/398265/ Related-Bug: #1627987 Change-Id: Ic1ee2cd4b0c75b2d0fe5f672e18b9e6206bb7f41 --- neutron_lib/api/definitions/portbindings.py | 4 ---- .../notes/add_vif_type_ovs_acceleration-0f983fa70c6d7519.yaml | 3 --- 2 files changed, 7 deletions(-) delete mode 100644 releasenotes/notes/add_vif_type_ovs_acceleration-0f983fa70c6d7519.yaml diff --git a/neutron_lib/api/definitions/portbindings.py b/neutron_lib/api/definitions/portbindings.py index fab287241..77db22b55 100644 --- a/neutron_lib/api/definitions/portbindings.py +++ b/neutron_lib/api/definitions/portbindings.py @@ -87,10 +87,6 @@ VIF_TYPE_BINDING_FAILED = 'binding_failed' VIF_TYPE_DISTRIBUTED = 'distributed' VIF_TYPE_OVS = 'ovs' VIF_TYPE_BRIDGE = 'bridge' -# - ovs-acceleration: The ovs acceleration interface type is a SR-IOV hostdev -# interface which support switchdev mode provided by -# kernel 4.8. -VIF_TYPE_OVS_ACCELERATION = 'ovs_acceleration' VIF_TYPE_OTHER = 'other' VIF_TYPE_TAP = 'tap' # vif_type_macvtap: Tells Nova that the macvtap vif_driver should be used to diff --git a/releasenotes/notes/add_vif_type_ovs_acceleration-0f983fa70c6d7519.yaml b/releasenotes/notes/add_vif_type_ovs_acceleration-0f983fa70c6d7519.yaml deleted file mode 100644 index 7af751434..000000000 --- a/releasenotes/notes/add_vif_type_ovs_acceleration-0f983fa70c6d7519.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -features: - - Add new vif type ``VIF_TYPE_OVS_ACCELERATION`` to portbindings. \ No newline at end of file