@@ -68,6 +68,7 @@
#include "lib/vswitch-idl.h"
#include "xenserver.h"
#include "vlan-bitmap.h"
+#include "tc.h"
VLOG_DEFINE_THIS_MODULE(bridge);
@@ -2921,6 +2922,7 @@ bridge_run(void)
if (cfg) {
netdev_set_flow_api_enabled(smap_get_bool(&cfg->other_config,
"hw-offload", false));
+ tc_set_skip_hw(smap_get_bool(&cfg->other_config, "skip-hw", false));
dpdk_init(&cfg->other_config);
}
@@ -199,6 +199,20 @@
</p>
</column>
+ <column name="other_config" key="skip-hw"
+ type='{"type": "boolean"}'>
+ <p>
+ Set this value to <code>true</code> for flows offloaded using tc flower
+ flower classifier be handled in software (use skip_hw flower flag).
+ </p>
+ <p>
+ This is only relevant if HW offloading is enabled (hw-offload).
+ </p>
+ <p>
+ The default value is <code>false</code>.
+ </p>
+ </column>
+
<column name="other_config" key="dpdk-lcore-mask"
type='{"type": "integer", "minInteger": 1}'>
<p>