summaryrefslogtreecommitdiffstats
path: root/VNFs/vFW/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'VNFs/vFW/init.c')
-rw-r--r--VNFs/vFW/init.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/VNFs/vFW/init.c b/VNFs/vFW/init.c
index f5d457a4..4e98b335 100644
--- a/VNFs/vFW/init.c
+++ b/VNFs/vFW/init.c
@@ -730,10 +730,11 @@ app_init_link(struct app_params *app)
My_local_conf->rx_adv_conf.rss_conf.rss_key = NULL;
My_local_conf->rx_adv_conf.rss_conf.rss_hf = ETH_RSS_IP
| ETH_RSS_UDP | ETH_RSS_TCP;
- } else {/* disable-rss */
- My_local_conf->rx_adv_conf.rss_conf.rss_hf = 0;
/* pkt-filter-mode is perfect */
My_local_conf->fdir_conf.mode = RTE_FDIR_MODE_PERFECT;
+ } else {
+ /* disable-rss */
+ My_local_conf->rx_adv_conf.rss_conf.rss_hf = 0;
}
/* Set the hardware CRC stripping to avoid double stripping