[dpdk-test-report] |WARNING| pw24172 [PATCH RFC 5/5] examples: updated IPSec sample app to support inline IPSec

checkpatch at dpdk.org checkpatch at dpdk.org
Tue May 9 17:01:32 CEST 2017


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/24172

_coding style issues_


ERROR:CODE_INDENT: code indent should use tabs where possible
#32: FILE: examples/ipsec-secgw/esp.c:256:
+^I           sa->flags == IP4_INLINE || sa->flags == IP6_INLINE ||$

ERROR:CODE_INDENT: code indent should use tabs where possible
#78: FILE: examples/ipsec-secgw/sa.c:259:
+                        else if (strcmp(tokens[ti], "ipv4-inline") == 0)$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#78: FILE: examples/ipsec-secgw/sa.c:259:
+                        else if (strcmp(tokens[ti], "ipv4-inline") == 0)$

ERROR:CODE_INDENT: code indent should use tabs where possible
#79: FILE: examples/ipsec-secgw/sa.c:260:
+                                rule->flags = IP4_INLINE;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#79: FILE: examples/ipsec-secgw/sa.c:260:
+                                rule->flags = IP4_INLINE;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#80: FILE: examples/ipsec-secgw/sa.c:261:
+                        else if (strcmp(tokens[ti], "ipv6-inline") == 0)$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#80: FILE: examples/ipsec-secgw/sa.c:261:
+                        else if (strcmp(tokens[ti], "ipv6-inline") == 0)$

ERROR:CODE_INDENT: code indent should use tabs where possible
#81: FILE: examples/ipsec-secgw/sa.c:262:
+                                rule->flags = IP6_INLINE;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#81: FILE: examples/ipsec-secgw/sa.c:262:
+                                rule->flags = IP6_INLINE;$

WARNING:LONG_LINE: line over 90 characters
#99: FILE: examples/ipsec-secgw/sa.c:414:
+			} else if (rule->flags == IP6_TUNNEL || rule->flags == IP6_INLINE) {

WARNING:LONG_LINE: line over 90 characters
#117: FILE: examples/ipsec-secgw/sa.c:457:
+			} else if (rule->flags == IP6_TUNNEL || rule->flags == IP6_INLINE) {

ERROR:SPACING: spaces required around that '?' (ctx:VxW)
#127: FILE: examples/ipsec-secgw/sa.c:526:
+		printf(sa->flags == IP4_TUNNEL? "IP4Tunnel " : "IP4Inline ");
 		                              ^

ERROR:CODE_INDENT: code indent should use tabs where possible
#136: FILE: examples/ipsec-secgw/sa.c:534:
+^I        printf(sa->flags == IP6_TUNNEL? "IP6Tunnel " : "IP6Inline ");$

ERROR:SPACING: spaces required around that '?' (ctx:VxW)
#136: FILE: examples/ipsec-secgw/sa.c:534:
+	        printf(sa->flags == IP6_TUNNEL? "IP6Tunnel " : "IP6Inline ");
 	                                      ^

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 20)
#192: FILE: examples/ipsec-secgw/sa.c:617:
+		if (sa->flags == IP4_INLINE || sa->flags == IP6_INLINE) {
[...]
+                    if (inbound) {

ERROR:CODE_INDENT: code indent should use tabs where possible
#194: FILE: examples/ipsec-secgw/sa.c:619:
+                    if (inbound) {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#194: FILE: examples/ipsec-secgw/sa.c:619:
+                    if (inbound) {$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (20, 28)
#194: FILE: examples/ipsec-secgw/sa.c:619:
+                    if (inbound) {
+                            sa_ctx->xf[idx].b.type = RTE_CRYPTO_SYM_XFORM_CIPHER;

ERROR:CODE_INDENT: code indent should use tabs where possible
#195: FILE: examples/ipsec-secgw/sa.c:620:
+                            sa_ctx->xf[idx].b.type = RTE_CRYPTO_SYM_XFORM_CIPHER;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#195: FILE: examples/ipsec-secgw/sa.c:620:
+                            sa_ctx->xf[idx].b.type = RTE_CRYPTO_SYM_XFORM_CIPHER;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#196: FILE: examples/ipsec-secgw/sa.c:621:
+                            sa_ctx->xf[idx].b.cipher.algo = sa->cipher_algo;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#196: FILE: examples/ipsec-secgw/sa.c:621:
+                            sa_ctx->xf[idx].b.cipher.algo = sa->cipher_algo;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#197: FILE: examples/ipsec-secgw/sa.c:622:
+                            sa_ctx->xf[idx].b.cipher.key.data = sa->cipher_key;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#197: FILE: examples/ipsec-secgw/sa.c:622:
+                            sa_ctx->xf[idx].b.cipher.key.data = sa->cipher_key;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#198: FILE: examples/ipsec-secgw/sa.c:623:
+                            sa_ctx->xf[idx].b.cipher.key.length =$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#198: FILE: examples/ipsec-secgw/sa.c:623:
+                            sa_ctx->xf[idx].b.cipher.key.length =$

ERROR:CODE_INDENT: code indent should use tabs where possible
#199: FILE: examples/ipsec-secgw/sa.c:624:
+                                    sa->cipher_key_len;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#199: FILE: examples/ipsec-secgw/sa.c:624:
+                                    sa->cipher_key_len;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#200: FILE: examples/ipsec-secgw/sa.c:625:
+                            sa_ctx->xf[idx].b.cipher.op =$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#200: FILE: examples/ipsec-secgw/sa.c:625:
+                            sa_ctx->xf[idx].b.cipher.op =$

ERROR:CODE_INDENT: code indent should use tabs where possible
#201: FILE: examples/ipsec-secgw/sa.c:626:
+                                    RTE_CRYPTO_CIPHER_OP_DECRYPT;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#201: FILE: examples/ipsec-secgw/sa.c:626:
+                                    RTE_CRYPTO_CIPHER_OP_DECRYPT;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#202: FILE: examples/ipsec-secgw/sa.c:627:
+                            sa_ctx->xf[idx].b.next = NULL;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#202: FILE: examples/ipsec-secgw/sa.c:627:
+                            sa_ctx->xf[idx].b.next = NULL;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#204: FILE: examples/ipsec-secgw/sa.c:629:
+                            sa_ctx->xf[idx].a.type = RTE_CRYPTO_SYM_XFORM_IPSEC;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#204: FILE: examples/ipsec-secgw/sa.c:629:
+                            sa_ctx->xf[idx].a.type = RTE_CRYPTO_SYM_XFORM_IPSEC;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#205: FILE: examples/ipsec-secgw/sa.c:630:
+                            sa_ctx->xf[idx].a.ipsec.dir = RTE_CRYPTO_INBOUND;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#205: FILE: examples/ipsec-secgw/sa.c:630:
+                            sa_ctx->xf[idx].a.ipsec.dir = RTE_CRYPTO_INBOUND;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#206: FILE: examples/ipsec-secgw/sa.c:631:
+                            sa_ctx->xf[idx].a.ipsec.spi = sa->spi;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#206: FILE: examples/ipsec-secgw/sa.c:631:
+                            sa_ctx->xf[idx].a.ipsec.spi = sa->spi;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#207: FILE: examples/ipsec-secgw/sa.c:632:
+                            sa_ctx->xf[idx].a.ipsec.salt = sa->salt;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#207: FILE: examples/ipsec-secgw/sa.c:632:
+                            sa_ctx->xf[idx].a.ipsec.salt = sa->salt;$

WARNING:LONG_LINE: line over 90 characters
#208: FILE: examples/ipsec-secgw/sa.c:633:
+                            sa_ctx->xf[idx].a.ipsec.src_ip.ipv4 = rte_cpu_to_be_32(sa->src.ip.ip4);

ERROR:CODE_INDENT: code indent should use tabs where possible
#208: FILE: examples/ipsec-secgw/sa.c:633:
+                            sa_ctx->xf[idx].a.ipsec.src_ip.ipv4 = rte_cpu_to_be_32(sa->src.ip.ip4);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#208: FILE: examples/ipsec-secgw/sa.c:633:
+                            sa_ctx->xf[idx].a.ipsec.src_ip.ipv4 = rte_cpu_to_be_32(sa->src.ip.ip4);$

WARNING:LONG_LINE: line over 90 characters
#209: FILE: examples/ipsec-secgw/sa.c:634:
+                            sa_ctx->xf[idx].a.ipsec.dst_ip.ipv4 = rte_cpu_to_be_32(sa->dst.ip.ip4);

ERROR:CODE_INDENT: code indent should use tabs where possible
#209: FILE: examples/ipsec-secgw/sa.c:634:
+                            sa_ctx->xf[idx].a.ipsec.dst_ip.ipv4 = rte_cpu_to_be_32(sa->dst.ip.ip4);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#209: FILE: examples/ipsec-secgw/sa.c:634:
+                            sa_ctx->xf[idx].a.ipsec.dst_ip.ipv4 = rte_cpu_to_be_32(sa->dst.ip.ip4);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#211: FILE: examples/ipsec-secgw/sa.c:636:
+                    } else { /* outbound */$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#211: FILE: examples/ipsec-secgw/sa.c:636:
+                    } else { /* outbound */$

ERROR:CODE_INDENT: code indent should use tabs where possible
#212: FILE: examples/ipsec-secgw/sa.c:637:
+                            sa_ctx->xf[idx].a.type = RTE_CRYPTO_SYM_XFORM_CIPHER;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#212: FILE: examples/ipsec-secgw/sa.c:637:
+                            sa_ctx->xf[idx].a.type = RTE_CRYPTO_SYM_XFORM_CIPHER;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#213: FILE: examples/ipsec-secgw/sa.c:638:
+                            sa_ctx->xf[idx].a.cipher.algo = sa->cipher_algo;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#213: FILE: examples/ipsec-secgw/sa.c:638:
+                            sa_ctx->xf[idx].a.cipher.algo = sa->cipher_algo;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#214: FILE: examples/ipsec-secgw/sa.c:639:
+                            sa_ctx->xf[idx].a.cipher.key.data = sa->cipher_key;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#214: FILE: examples/ipsec-secgw/sa.c:639:
+                            sa_ctx->xf[idx].a.cipher.key.data = sa->cipher_key;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#215: FILE: examples/ipsec-secgw/sa.c:640:
+                            sa_ctx->xf[idx].a.cipher.key.length =$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#215: FILE: examples/ipsec-secgw/sa.c:640:
+                            sa_ctx->xf[idx].a.cipher.key.length =$

ERROR:CODE_INDENT: code indent should use tabs where possible
#216: FILE: examples/ipsec-secgw/sa.c:641:
+                                    sa->cipher_key_len;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#216: FILE: examples/ipsec-secgw/sa.c:641:
+                                    sa->cipher_key_len;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#217: FILE: examples/ipsec-secgw/sa.c:642:
+                            sa_ctx->xf[idx].a.cipher.op =$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#217: FILE: examples/ipsec-secgw/sa.c:642:
+                            sa_ctx->xf[idx].a.cipher.op =$

ERROR:CODE_INDENT: code indent should use tabs where possible
#218: FILE: examples/ipsec-secgw/sa.c:643:
+                                    RTE_CRYPTO_CIPHER_OP_ENCRYPT;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#218: FILE: examples/ipsec-secgw/sa.c:643:
+                                    RTE_CRYPTO_CIPHER_OP_ENCRYPT;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#219: FILE: examples/ipsec-secgw/sa.c:644:
+                            sa_ctx->xf[idx].a.next = NULL;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#219: FILE: examples/ipsec-secgw/sa.c:644:
+                            sa_ctx->xf[idx].a.next = NULL;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#221: FILE: examples/ipsec-secgw/sa.c:646:
+                            sa_ctx->xf[idx].b.type = RTE_CRYPTO_SYM_XFORM_IPSEC;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#221: FILE: examples/ipsec-secgw/sa.c:646:
+                            sa_ctx->xf[idx].b.type = RTE_CRYPTO_SYM_XFORM_IPSEC;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#222: FILE: examples/ipsec-secgw/sa.c:647:
+                            sa_ctx->xf[idx].b.ipsec.dir = RTE_CRYPTO_OUTBOUND;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#222: FILE: examples/ipsec-secgw/sa.c:647:
+                            sa_ctx->xf[idx].b.ipsec.dir = RTE_CRYPTO_OUTBOUND;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#223: FILE: examples/ipsec-secgw/sa.c:648:
+                            sa_ctx->xf[idx].b.ipsec.spi = sa->spi;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#223: FILE: examples/ipsec-secgw/sa.c:648:
+                            sa_ctx->xf[idx].b.ipsec.spi = sa->spi;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#224: FILE: examples/ipsec-secgw/sa.c:649:
+                            sa_ctx->xf[idx].b.ipsec.salt = sa->salt;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#224: FILE: examples/ipsec-secgw/sa.c:649:
+                            sa_ctx->xf[idx].b.ipsec.salt = sa->salt;$

WARNING:LONG_LINE: line over 90 characters
#225: FILE: examples/ipsec-secgw/sa.c:650:
+                            sa_ctx->xf[idx].b.ipsec.src_ip.ipv4 = rte_cpu_to_be_32(sa->src.ip.ip4);

ERROR:CODE_INDENT: code indent should use tabs where possible
#225: FILE: examples/ipsec-secgw/sa.c:650:
+                            sa_ctx->xf[idx].b.ipsec.src_ip.ipv4 = rte_cpu_to_be_32(sa->src.ip.ip4);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#225: FILE: examples/ipsec-secgw/sa.c:650:
+                            sa_ctx->xf[idx].b.ipsec.src_ip.ipv4 = rte_cpu_to_be_32(sa->src.ip.ip4);$

WARNING:LONG_LINE: line over 90 characters
#226: FILE: examples/ipsec-secgw/sa.c:651:
+                            sa_ctx->xf[idx].b.ipsec.dst_ip.ipv4 = rte_cpu_to_be_32(sa->dst.ip.ip4);

ERROR:CODE_INDENT: code indent should use tabs where possible
#226: FILE: examples/ipsec-secgw/sa.c:651:
+                            sa_ctx->xf[idx].b.ipsec.dst_ip.ipv4 = rte_cpu_to_be_32(sa->dst.ip.ip4);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#226: FILE: examples/ipsec-secgw/sa.c:651:
+                            sa_ctx->xf[idx].b.ipsec.dst_ip.ipv4 = rte_cpu_to_be_32(sa->dst.ip.ip4);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#227: FILE: examples/ipsec-secgw/sa.c:652:
+                    }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#227: FILE: examples/ipsec-secgw/sa.c:652:
+                    }$

ERROR:CODE_INDENT: code indent should use tabs where possible
#229: FILE: examples/ipsec-secgw/sa.c:654:
+                    sa_ctx->xf[idx].a.next = &sa_ctx->xf[idx].b;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#229: FILE: examples/ipsec-secgw/sa.c:654:
+                    sa_ctx->xf[idx].a.next = &sa_ctx->xf[idx].b;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#230: FILE: examples/ipsec-secgw/sa.c:655:
+                    sa_ctx->xf[idx].b.next = NULL;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#230: FILE: examples/ipsec-secgw/sa.c:655:
+                    sa_ctx->xf[idx].b.next = NULL;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#231: FILE: examples/ipsec-secgw/sa.c:656:
+                    sa->xforms = &sa_ctx->xf[idx].a;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#231: FILE: examples/ipsec-secgw/sa.c:656:
+                    sa->xforms = &sa_ctx->xf[idx].a;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#233: FILE: examples/ipsec-secgw/sa.c:658:
+                    print_one_sa_rule(sa, inbound);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#233: FILE: examples/ipsec-secgw/sa.c:658:
+                    print_one_sa_rule(sa, inbound);$

ERROR:ELSE_AFTER_BRACE: else should follow close brace '}'
#235: FILE: examples/ipsec-secgw/sa.c:660:
+		}
+		else {

ERROR:CODE_INDENT: code indent should use tabs where possible
#237: FILE: examples/ipsec-secgw/sa.c:662:
+^I                if (inbound) {$

ERROR:CODE_INDENT: code indent should use tabs where possible
#238: FILE: examples/ipsec-secgw/sa.c:663:
+^I                        sa_ctx->xf[idx].b.type = RTE_CRYPTO_SYM_XFORM_CIPHER;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#239: FILE: examples/ipsec-secgw/sa.c:664:
+^I                        sa_ctx->xf[idx].b.cipher.algo = sa->cipher_algo;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#240: FILE: examples/ipsec-secgw/sa.c:665:
+^I                        sa_ctx->xf[idx].b.cipher.key.data = sa->cipher_key;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#241: FILE: examples/ipsec-secgw/sa.c:666:
+^I                        sa_ctx->xf[idx].b.cipher.key.length =$

ERROR:CODE_INDENT: code indent should use tabs where possible
#242: FILE: examples/ipsec-secgw/sa.c:667:
+^I                                sa->cipher_key_len;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#243: FILE: examples/ipsec-secgw/sa.c:668:
+^I                        sa_ctx->xf[idx].b.cipher.op =$

ERROR:CODE_INDENT: code indent should use tabs where possible
#244: FILE: examples/ipsec-secgw/sa.c:669:
+^I                                RTE_CRYPTO_CIPHER_OP_DECRYPT;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#245: FILE: examples/ipsec-secgw/sa.c:670:
+^I                        sa_ctx->xf[idx].b.next = NULL;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#247: FILE: examples/ipsec-secgw/sa.c:672:
+^I                        sa_ctx->xf[idx].a.type = RTE_CRYPTO_SYM_XFORM_AUTH;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#248: FILE: examples/ipsec-secgw/sa.c:673:
+^I                        sa_ctx->xf[idx].a.auth.algo = sa->auth_algo;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#249: FILE: examples/ipsec-secgw/sa.c:674:
+^I                        sa_ctx->xf[idx].a.auth.add_auth_data_length =$

ERROR:CODE_INDENT: code indent should use tabs where possible
#250: FILE: examples/ipsec-secgw/sa.c:675:
+^I                                sa->aad_len;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#251: FILE: examples/ipsec-secgw/sa.c:676:
+^I                        sa_ctx->xf[idx].a.auth.key.data = sa->auth_key;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#252: FILE: examples/ipsec-secgw/sa.c:677:
+^I                        sa_ctx->xf[idx].a.auth.key.length =$

ERROR:CODE_INDENT: code indent should use tabs where possible
#253: FILE: examples/ipsec-secgw/sa.c:678:
+^I                                sa->auth_key_len;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#254: FILE: examples/ipsec-secgw/sa.c:679:
+^I                        sa_ctx->xf[idx].a.auth.digest_length =$

ERROR:CODE_INDENT: code indent should use tabs where possible
#255: FILE: examples/ipsec-secgw/sa.c:680:
+^I                                sa->digest_len;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#256: FILE: examples/ipsec-secgw/sa.c:681:
+^I                        sa_ctx->xf[idx].a.auth.op =$

ERROR:CODE_INDENT: code indent should use tabs where possible
#257: FILE: examples/ipsec-secgw/sa.c:682:
+^I                                RTE_CRYPTO_AUTH_OP_VERIFY;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#259: FILE: examples/ipsec-secgw/sa.c:684:
+^I                } else { /* outbound */$

ERROR:CODE_INDENT: code indent should use tabs where possible
#260: FILE: examples/ipsec-secgw/sa.c:685:
+^I                        sa_ctx->xf[idx].a.type = RTE_CRYPTO_SYM_XFORM_CIPHER;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#261: FILE: examples/ipsec-secgw/sa.c:686:
+^I                        sa_ctx->xf[idx].a.cipher.algo = sa->cipher_algo;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#262: FILE: examples/ipsec-secgw/sa.c:687:
+^I                        sa_ctx->xf[idx].a.cipher.key.data = sa->cipher_key;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#263: FILE: examples/ipsec-secgw/sa.c:688:
+^I                        sa_ctx->xf[idx].a.cipher.key.length =$

ERROR:CODE_INDENT: code indent should use tabs where possible
#264: FILE: examples/ipsec-secgw/sa.c:689:
+^I                                sa->cipher_key_len;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#265: FILE: examples/ipsec-secgw/sa.c:690:
+^I                        sa_ctx->xf[idx].a.cipher.op =$

ERROR:CODE_INDENT: code indent should use tabs where possible
#266: FILE: examples/ipsec-secgw/sa.c:691:
+^I                                RTE_CRYPTO_CIPHER_OP_ENCRYPT;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#267: FILE: examples/ipsec-secgw/sa.c:692:
+^I                        sa_ctx->xf[idx].a.next = NULL;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#269: FILE: examples/ipsec-secgw/sa.c:694:
+^I                        sa_ctx->xf[idx].b.type = RTE_CRYPTO_SYM_XFORM_AUTH;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#270: FILE: examples/ipsec-secgw/sa.c:695:
+^I                        sa_ctx->xf[idx].b.auth.algo = sa->auth_algo;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#271: FILE: examples/ipsec-secgw/sa.c:696:
+^I                        sa_ctx->xf[idx].b.auth.add_auth_data_length =$

ERROR:CODE_INDENT: code indent should use tabs where possible
#272: FILE: examples/ipsec-secgw/sa.c:697:
+^I                                sa->aad_len;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#273: FILE: examples/ipsec-secgw/sa.c:698:
+^I                        sa_ctx->xf[idx].b.auth.key.data = sa->auth_key;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#274: FILE: examples/ipsec-secgw/sa.c:699:
+^I                        sa_ctx->xf[idx].b.auth.key.length =$

ERROR:CODE_INDENT: code indent should use tabs where possible
#275: FILE: examples/ipsec-secgw/sa.c:700:
+^I                                sa->auth_key_len;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#276: FILE: examples/ipsec-secgw/sa.c:701:
+^I                        sa_ctx->xf[idx].b.auth.digest_length =$

ERROR:CODE_INDENT: code indent should use tabs where possible
#277: FILE: examples/ipsec-secgw/sa.c:702:
+^I                                sa->digest_len;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#278: FILE: examples/ipsec-secgw/sa.c:703:
+^I                        sa_ctx->xf[idx].b.auth.op =$

ERROR:CODE_INDENT: code indent should use tabs where possible
#279: FILE: examples/ipsec-secgw/sa.c:704:
+^I                                RTE_CRYPTO_AUTH_OP_GENERATE;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#280: FILE: examples/ipsec-secgw/sa.c:705:
+^I                }$

ERROR:CODE_INDENT: code indent should use tabs where possible
#282: FILE: examples/ipsec-secgw/sa.c:707:
+^I                sa_ctx->xf[idx].a.next = &sa_ctx->xf[idx].b;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#283: FILE: examples/ipsec-secgw/sa.c:708:
+^I                sa_ctx->xf[idx].b.next = NULL;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#284: FILE: examples/ipsec-secgw/sa.c:709:
+^I                sa->xforms = &sa_ctx->xf[idx].a;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#286: FILE: examples/ipsec-secgw/sa.c:711:
+^I                print_one_sa_rule(sa, inbound);$

total: 89 errors, 47 warnings, 265 lines checked


More information about the test-report mailing list