aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/dpdk/device/dpdk.h2
-rwxr-xr-xsrc/plugins/dpdk/device/init.c5
2 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/dpdk/device/dpdk.h b/src/plugins/dpdk/device/dpdk.h
index 69dd5b68b57..51ead045aca 100644
--- a/src/plugins/dpdk/device/dpdk.h
+++ b/src/plugins/dpdk/device/dpdk.h
@@ -377,8 +377,6 @@ typedef struct
*/
u8 admin_up_down_in_progress;
- u8 use_rss;
-
/* which cpus are running I/O TX */
int hqos_cpu_first_index;
int hqos_cpu_count;
diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c
index 767a7a4c9a7..314a2e9ba70 100755
--- a/src/plugins/dpdk/device/init.c
+++ b/src/plugins/dpdk/device/init.c
@@ -340,11 +340,6 @@ dpdk_lib_init (dpdk_main_t * dm)
&& devconf->num_tx_queues < xd->tx_q_used)
xd->tx_q_used = clib_min (xd->tx_q_used, devconf->num_tx_queues);
- if (devconf->num_rx_queues > 1 && dm->use_rss == 0)
- {
- dm->use_rss = 1;
- }
-
if (devconf->num_rx_queues > 1
&& dev_info.max_rx_queues >= devconf->num_rx_queues)
{