automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw100109 [PATCH 3/3] cryptodev: rework session framework
       [not found] <20210930145014.2476799-4-gakhil@marvell.com>
@ 2021-09-30 14:52 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-09-30 14:52 UTC (permalink / raw)
  To: test-report; +Cc: Akhil Goyal

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

_coding style issues_


ERROR:TRAILING_WHITESPACE: trailing whitespace
#1760: FILE: drivers/crypto/cnxk/cnxk_cryptodev_ops.c:497:
+^I^I      void *sess) $

ERROR:C99_COMMENTS: do not use C99 // comments
#3446: FILE: examples/ipsec-secgw/ipsec-secgw.c:2402:
+//static void

ERROR:C99_COMMENTS: do not use C99 // comments
#3447: FILE: examples/ipsec-secgw/ipsec-secgw.c:2403:
+//session_priv_pool_init(struct socket_ctx *ctx, int32_t socket_id,

ERROR:C99_COMMENTS: do not use C99 // comments
#3448: FILE: examples/ipsec-secgw/ipsec-secgw.c:2404:
+//	size_t sess_sz)

ERROR:C99_COMMENTS: do not use C99 // comments
#3449: FILE: examples/ipsec-secgw/ipsec-secgw.c:2405:
+//{

ERROR:C99_COMMENTS: do not use C99 // comments
#3450: FILE: examples/ipsec-secgw/ipsec-secgw.c:2406:
+//	char mp_name[RTE_MEMPOOL_NAMESIZE];

ERROR:C99_COMMENTS: do not use C99 // comments
#3451: FILE: examples/ipsec-secgw/ipsec-secgw.c:2407:
+//	struct rte_mempool *sess_mp;

ERROR:C99_COMMENTS: do not use C99 // comments
#3452: FILE: examples/ipsec-secgw/ipsec-secgw.c:2408:
+//	uint32_t nb_sess;

ERROR:C99_COMMENTS: do not use C99 // comments
#3453: FILE: examples/ipsec-secgw/ipsec-secgw.c:2409:
+//

ERROR:C99_COMMENTS: do not use C99 // comments
#3454: FILE: examples/ipsec-secgw/ipsec-secgw.c:2410:
+//	snprintf(mp_name, RTE_MEMPOOL_NAMESIZE,

ERROR:C99_COMMENTS: do not use C99 // comments
#3455: FILE: examples/ipsec-secgw/ipsec-secgw.c:2411:
+//			"sess_mp_priv_%u", socket_id);

ERROR:C99_COMMENTS: do not use C99 // comments
#3456: FILE: examples/ipsec-secgw/ipsec-secgw.c:2412:
+//	nb_sess = (get_nb_crypto_sessions() + CDEV_MP_CACHE_SZ *

ERROR:C99_COMMENTS: do not use C99 // comments
#3457: FILE: examples/ipsec-secgw/ipsec-secgw.c:2413:
+//		rte_lcore_count());

ERROR:C99_COMMENTS: do not use C99 // comments
#3458: FILE: examples/ipsec-secgw/ipsec-secgw.c:2414:
+//	nb_sess = RTE_MAX(nb_sess, CDEV_MP_CACHE_SZ *

ERROR:C99_COMMENTS: do not use C99 // comments
#3459: FILE: examples/ipsec-secgw/ipsec-secgw.c:2415:
+//			CDEV_MP_CACHE_MULTIPLIER);

ERROR:C99_COMMENTS: do not use C99 // comments
#3460: FILE: examples/ipsec-secgw/ipsec-secgw.c:2416:
+//	sess_mp = rte_mempool_create(mp_name,

ERROR:C99_COMMENTS: do not use C99 // comments
#3461: FILE: examples/ipsec-secgw/ipsec-secgw.c:2417:
+//			nb_sess,

ERROR:C99_COMMENTS: do not use C99 // comments
#3462: FILE: examples/ipsec-secgw/ipsec-secgw.c:2418:
+//			sess_sz,

ERROR:C99_COMMENTS: do not use C99 // comments
#3463: FILE: examples/ipsec-secgw/ipsec-secgw.c:2419:
+//			CDEV_MP_CACHE_SZ,

ERROR:C99_COMMENTS: do not use C99 // comments
#3464: FILE: examples/ipsec-secgw/ipsec-secgw.c:2420:
+//			0, NULL, NULL, NULL,

ERROR:C99_COMMENTS: do not use C99 // comments
#3465: FILE: examples/ipsec-secgw/ipsec-secgw.c:2421:
+//			NULL, socket_id,

ERROR:C99_COMMENTS: do not use C99 // comments
#3466: FILE: examples/ipsec-secgw/ipsec-secgw.c:2422:
+//			0);

ERROR:C99_COMMENTS: do not use C99 // comments
#3467: FILE: examples/ipsec-secgw/ipsec-secgw.c:2423:
+//	ctx->session_priv_pool = sess_mp;

ERROR:C99_COMMENTS: do not use C99 // comments
#3468: FILE: examples/ipsec-secgw/ipsec-secgw.c:2424:
+//

ERROR:C99_COMMENTS: do not use C99 // comments
#3469: FILE: examples/ipsec-secgw/ipsec-secgw.c:2425:
+//	if (ctx->session_priv_pool == NULL)

ERROR:C99_COMMENTS: do not use C99 // comments
#3470: FILE: examples/ipsec-secgw/ipsec-secgw.c:2426:
+//		rte_exit(EXIT_FAILURE,

ERROR:C99_COMMENTS: do not use C99 // comments
#3471: FILE: examples/ipsec-secgw/ipsec-secgw.c:2427:
+//			"Cannot init session priv pool on socket %d
",

ERROR:C99_COMMENTS: do not use C99 // comments
#3472: FILE: examples/ipsec-secgw/ipsec-secgw.c:2428:
+//			socket_id);

ERROR:C99_COMMENTS: do not use C99 // comments
#3473: FILE: examples/ipsec-secgw/ipsec-secgw.c:2429:
+//	else

ERROR:C99_COMMENTS: do not use C99 // comments
#3474: FILE: examples/ipsec-secgw/ipsec-secgw.c:2430:
+//		printf("Allocated session priv pool on socket %d
",

ERROR:C99_COMMENTS: do not use C99 // comments
#3475: FILE: examples/ipsec-secgw/ipsec-secgw.c:2431:
+//			socket_id);

ERROR:C99_COMMENTS: do not use C99 // comments
#3476: FILE: examples/ipsec-secgw/ipsec-secgw.c:2432:
+//}

ERROR:C99_COMMENTS: do not use C99 // comments
#3486: FILE: examples/ipsec-secgw/ipsec-secgw.c:2935:
+//		session_priv_pool_init(&socket_ctx[socket_id], socket_id,

ERROR:C99_COMMENTS: do not use C99 // comments
#3487: FILE: examples/ipsec-secgw/ipsec-secgw.c:2936:
+//			sess_sz);

total: 34 errors, 0 warnings, 3483 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-30 14:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210930145014.2476799-4-gakhil@marvell.com>
2021-09-30 14:52 ` [dpdk-test-report] |WARNING| pw100109 [PATCH 3/3] cryptodev: rework session framework checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).