summaryrefslogtreecommitdiffstats
path: root/VNFs/vACL
diff options
context:
space:
mode:
Diffstat (limited to 'VNFs/vACL')
-rw-r--r--VNFs/vACL/init.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/VNFs/vACL/init.c b/VNFs/vACL/init.c
index 71dd50e4..dda6277e 100644
--- a/VNFs/vACL/init.c
+++ b/VNFs/vACL/init.c
@@ -706,11 +706,12 @@ app_init_link(struct app_params *app)
My_local_conf->rxmode.mq_mode = ETH_MQ_RX_RSS;
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 of FCS in VM */
p_link->conf.rxmode.hw_strip_crc = 1;