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 D1D8DA0C41 for ; Tue, 7 Sep 2021 10:05:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 92A8641137; Tue, 7 Sep 2021 10:04:59 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 1FA0B410FC for ; Tue, 7 Sep 2021 10:04:59 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 099D1122D3F; Tue, 7 Sep 2021 10:04:59 +0200 (CEST) In-Reply-To: <20210907075957.28848-6-hemant.agrawal@nxp.com> References: <20210907075957.28848-6-hemant.agrawal@nxp.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Hemant Agrawal Message-Id: <20210907080459.099D1122D3F@dpdk.org> Date: Tue, 7 Sep 2021 10:04:59 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw98130 [PATCH v2 05/15] crypto/dpaa2_sec: support raw datapath APIs 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/98130 _coding style issues_ WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #192: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h:20: +/* FLE_POOL_NUM_BUFS is set as per the ipsec-secgw application */ WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #193: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h:21: +#define FLE_POOL_NUM_BUFS 32000 WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #194: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h:22: +#define FLE_POOL_BUF_SIZE 256 WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #195: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h:23: +#define FLE_POOL_CACHE_SIZE 512 WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #196: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h:24: +#define FLE_SG_MEM_SIZE(num) (FLE_POOL_BUF_SIZE + ((num) * 32)) WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #196: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h:24: +#define FLE_SG_MEM_SIZE(num) (FLE_POOL_BUF_SIZE + ((num) * 32)) WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #431: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:147: + struct qbman_fle *ip_fle, *op_fle, *sge, *fle; WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #431: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:147: + struct qbman_fle *ip_fle, *op_fle, *sge, *fle; WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #431: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:147: + struct qbman_fle *ip_fle, *op_fle, *sge, *fle; WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #431: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:147: + struct qbman_fle *ip_fle, *op_fle, *sge, *fle; WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #454: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:170: + /* first FLE entry used to store mbuf and session ctxt */ WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #455: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:171: + fle = (struct qbman_fle *)rte_malloc(NULL, WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #455: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:171: + fle = (struct qbman_fle *)rte_malloc(NULL, WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #456: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:172: + FLE_SG_MEM_SIZE(2*sgl->num), WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #458: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:174: + if (!fle) { WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #462: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:178: + memset(fle, 0, FLE_SG_MEM_SIZE(2*sgl->num)); WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #462: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:178: + memset(fle, 0, FLE_SG_MEM_SIZE(2*sgl->num)); WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #463: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:179: + /* first FLE entry used to store userdata and session ctxt */ WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #464: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:180: + DPAA2_SET_FLE_ADDR(fle, (size_t)userdata); WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #464: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:180: + DPAA2_SET_FLE_ADDR(fle, (size_t)userdata); WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #465: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:181: + DPAA2_FLE_SAVE_CTXT(fle, (ptrdiff_t)priv); WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #465: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:181: + DPAA2_FLE_SAVE_CTXT(fle, (ptrdiff_t)priv); WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #467: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:183: + op_fle = fle + 1; WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #467: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:183: + op_fle = fle + 1; WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #468: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:184: + ip_fle = fle + 2; WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #468: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:184: + ip_fle = fle + 2; WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #469: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:185: + sge = fle + 3; WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #479: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:195: + /* o/p fle */ WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #480: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:196: + DPAA2_SET_FLE_ADDR(op_fle, DPAA2_VADDR_TO_IOVA(sge)); WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #480: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:196: + DPAA2_SET_FLE_ADDR(op_fle, DPAA2_VADDR_TO_IOVA(sge)); WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #481: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:197: + op_fle->length = data_len; WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #482: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:198: + DPAA2_SET_FLE_SG_EXT(op_fle); WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #482: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:198: + DPAA2_SET_FLE_SG_EXT(op_fle); WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #485: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:201: + DPAA2_SET_FLE_ADDR(sge, sgl->vec[0].iova); WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #486: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:202: + DPAA2_SET_FLE_OFFSET(sge, data_offset); WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #492: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:208: + DPAA2_SET_FLE_ADDR(sge, sgl->vec[i].iova); WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #493: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:209: + DPAA2_SET_FLE_OFFSET(sge, 0); WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #496: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:212: + DPAA2_SET_FLE_FIN(sge); WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #499: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:215: + "RAW CIPHER SG: 1 - flc = %p, fle = %p FLEaddr = %x-%x, len %d ", WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #500: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:216: + flc, fle, fle->addr_hi, fle->addr_lo, WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #500: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:216: + flc, fle, fle->addr_hi, fle->addr_lo, WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #500: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:216: + flc, fle, fle->addr_hi, fle->addr_lo, WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #501: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:217: + fle->length); WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #503: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:219: + /* i/p fle */ WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #505: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:221: + DPAA2_SET_FLE_ADDR(ip_fle, DPAA2_VADDR_TO_IOVA(sge)); WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #505: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:221: + DPAA2_SET_FLE_ADDR(ip_fle, DPAA2_VADDR_TO_IOVA(sge)); WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #506: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:222: + ip_fle->length = sess->iv.length + data_len; WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #507: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:223: + DPAA2_SET_FLE_SG_EXT(ip_fle); WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #507: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:223: + DPAA2_SET_FLE_SG_EXT(ip_fle); WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #510: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:226: + DPAA2_SET_FLE_ADDR(sge, iv->iova); WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #511: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:227: + DPAA2_SET_FLE_OFFSET(sge, 0); WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #517: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:233: + DPAA2_SET_FLE_ADDR(sge, sgl->vec[0].iova); WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #518: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:234: + DPAA2_SET_FLE_OFFSET(sge, data_offset); WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #524: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:240: + DPAA2_SET_FLE_ADDR(sge, sgl->vec[i].iova); WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #525: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:241: + DPAA2_SET_FLE_OFFSET(sge, 0); WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #528: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:244: + DPAA2_SET_FLE_FIN(sge); WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #529: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:245: + DPAA2_SET_FLE_FIN(ip_fle); WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #529: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:245: + DPAA2_SET_FLE_FIN(ip_fle); WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #532: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:248: + DPAA2_SET_FD_ADDR(fd, DPAA2_VADDR_TO_IOVA(op_fle)); WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #533: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:249: + DPAA2_SET_FD_LEN(fd, ip_fle->length); WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #666: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:382: + struct qbman_fle *fle; WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #666: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:382: + struct qbman_fle *fle; WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #668: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:384: + fle = (struct qbman_fle *)DPAA2_IOVA_TO_VADDR(DPAA2_GET_FD_ADDR(fd)); WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #668: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:384: + fle = (struct qbman_fle *)DPAA2_IOVA_TO_VADDR(DPAA2_GET_FD_ADDR(fd)); WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #670: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:386: + DPAA2_SEC_DP_DEBUG("FLE addr = %x - %x, offset = %x ", WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #671: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:387: + fle->addr_hi, fle->addr_lo, fle->fin_bpid_offset); WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #671: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:387: + fle->addr_hi, fle->addr_lo, fle->fin_bpid_offset); WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #671: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:387: + fle->addr_hi, fle->addr_lo, fle->fin_bpid_offset); WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'? #672: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:388: + userdata = (struct rte_crypto_op *)DPAA2_GET_FLE_ADDR((fle - 1)); WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #672: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:388: + userdata = (struct rte_crypto_op *)DPAA2_GET_FLE_ADDR((fle - 1)); WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #673: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:389: + /* free the fle memory */ WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'? #674: FILE: drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c:390: + rte_free((void *)(fle-1)); total: 0 errors, 72 warnings, 738 lines checked --- a/doc/guides/rel_notes/release_21_11.rst +++ b/doc/guides/rel_notes/release_21_11.rst