diff options
author | Eyal Bari <ebari@cisco.com> | 2017-12-04 16:40:30 +0200 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-12-04 16:26:27 +0000 |
commit | 7223959c0ad924872b8a7b4f22643bbaf137d0a7 (patch) | |
tree | f5cda6d4afe90ff78bef360338c7ca7261a229a0 | |
parent | 1645bbc1ac3340539561da150ae8cc9af4d918b8 (diff) |
dpdk: remove unused "use_rss" flag
Change-Id: I31d2cbb02a0f59603ef1adc0d185e3d775dfda2f
Signed-off-by: Eyal Bari <ebari@cisco.com>
-rw-r--r-- | src/plugins/dpdk/device/dpdk.h | 2 | ||||
-rwxr-xr-x | src/plugins/dpdk/device/init.c | 5 |
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) { |