summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-02-02 14:33:08 -0500
committerDave Barach <dave@barachs.net>2019-02-02 14:33:38 -0500
commit9793de02184e250b2c271f4c7710169394c8d0be (patch)
treeee2919bd7b310d643662e6fa9e3c439ea2948ecb /src/plugins/dpdk
parent1a6ece34358a34367ff1807ac3a9a97b8a120b77 (diff)
Disable hqos part deux
Change-Id: Ieab56e0a20696b8cc97f783f08f10a94a83644eb Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/plugins/dpdk')
-rw-r--r--src/plugins/dpdk/device/dpdk.h2
-rw-r--r--src/plugins/dpdk/device/init.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/dpdk/device/dpdk.h b/src/plugins/dpdk/device/dpdk.h
index 14630967ea5..b2ca56cbe4d 100644
--- a/src/plugins/dpdk/device/dpdk.h
+++ b/src/plugins/dpdk/device/dpdk.h
@@ -315,7 +315,9 @@ typedef struct dpdk_device_config_hqos_t
int dpdk_hqos_validate_mask (u64 mask, u32 n);
void dpdk_device_config_hqos_pipe_profile_default (dpdk_device_config_hqos_t *
hqos, u32 pipe_profile_id);
+#if 0
void dpdk_device_config_hqos_default (dpdk_device_config_hqos_t * hqos);
+#endif
clib_error_t *dpdk_port_setup_hqos (dpdk_device_t * xd,
dpdk_device_config_hqos_t * hqos);
void dpdk_hqos_metadata_set (dpdk_device_hqos_per_worker_thread_t * hqos,
diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c
index a5af97c44d4..ffd63ea0514 100644
--- a/src/plugins/dpdk/device/init.c
+++ b/src/plugins/dpdk/device/init.c
@@ -949,7 +949,9 @@ dpdk_device_config (dpdk_config_main_t * conf, vlib_pci_addr_t pci_addr,
devconf->pci_addr.as_u32 = pci_addr.as_u32;
devconf->hqos_enabled = 0;
+#if 0
dpdk_device_config_hqos_default (&devconf->hqos);
+#endif
if (!input)
return 0;