From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B2F6DA0C41 for ; Thu, 30 Sep 2021 16:52:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AF954410E5; Thu, 30 Sep 2021 16:52:12 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 2E5EF40DDA for ; Thu, 30 Sep 2021 16:52:11 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 27BE41206FE; Thu, 30 Sep 2021 16:52:11 +0200 (CEST) In-Reply-To: <20210930145014.2476799-4-gakhil@marvell.com> References: <20210930145014.2476799-4-gakhil@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Akhil Goyal Message-Id: <20210930145211.27BE41206FE@dpdk.org> Date: Thu, 30 Sep 2021 16:52:11 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw100109 [PATCH 3/3] cryptodev: rework session framework X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Sender: "test-report" 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