examples/ipsec-secgw: fix promiscuous mode option
PATCH 1/1 examples/ipsec-secgw: fix promiscuous mode option
Currently default value of promiscuous mode flag is true and even there is command line argument to set it to true. So it never is in non-promiscuous mode. Fix it by changing default value to false.
Fixes d299106e8e31 ("examples/ipsec-secgw: add IPsec sample application")
Signed-off-by Nithin Dabilpuram <[email protected]>
--- examples/ipsec-secgw/ipsec-secgw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
examples/ipsec-secgw/ipsec-secgw.c +1 -1
@@ -175,7 +175,7 @@ uint32_t single_sa_idx;/* mask of enabled ports */ static uint32_t enabled_port_mask;static uint64_t enabled_cryptodev_mask =UINT64_MAX ; -static int32_t promiscuous_on =1 ; +static int32_t promiscuous_on;static int32_t numa_on =1 ;/**< NUMA is enabled by default. */ static uint32_t nb_lcores;static uint32_t single_sa;
Signature · 1 line
2.8.4
Quoted 9 lines
Currently default value of promiscuous mode flag is true and even there is command line argument to set it to true. So it never is in non-promiscuous mode. Fix it by changing default value to false.
Fixes d299106e8e31 ("examples/ipsec-secgw: add IPsec sample application")Signed-off-by Nithin Dabilpuram <[email protected]>
Acked-by Akhil Goyal <[email protected]>
Akhil Goyal
AppliedQuoted 11 lines
Quoted 10 lines
Currently default value of promiscuous mode flag is true and even there is command line argument to set it to true. So it never is in non-promiscuous mode. Fix it by changing default value to false.
Fixes d299106e8e31 ("examples/ipsec-secgw: add IPsec sample application")Signed-off-by Nithin Dabilpuram <[email protected]>Acked-by Akhil Goyal <[email protected]>
Applied to dpdk-next-crypto
Thanks.