diff options
-rw-r--r-- | src/plugins/dpdk/device/dpdk.h | 2 | ||||
-rw-r--r-- | src/plugins/dpdk/device/init.c | 2 |
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; |