* [dpdk-test-report] |WARNING| pw76672 [PATCH 5/7] raw/dpaa2_qdma: support scatter gather in enqueue
[not found] <1599470764-30569-6-git-send-email-g.singh@nxp.com>
@ 2020-09-08 23:47 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-09-08 23:47 UTC (permalink / raw)
To: test-report; +Cc: Gagandeep Singh
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/76672
_coding style issues_
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#81: FILE: drivers/bus/fslmc/portal/dpaa2_hw_pvt.h:213:
+#define QBMAN_FLE_WORD4_FMT_SBF 0x0 /* Single buffer frame */
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#82: FILE: drivers/bus/fslmc/portal/dpaa2_hw_pvt.h:214:
+#define QBMAN_FLE_WORD4_FMT_SGE 0x2 /* Scatter gather frame */
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#84: FILE: drivers/bus/fslmc/portal/dpaa2_hw_pvt.h:216:
+struct qbman_fle_word4 {
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#102: FILE: drivers/bus/fslmc/portal/dpaa2_hw_pvt.h:233:
+ struct qbman_fle_word4 word4;
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#115: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:119:
+ uint64_t fle_iova,
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#127: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:128:
+ ((uint64_t)fle - QDMA_FLE_FLE_OFFSET +
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#127: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:128:
+ ((uint64_t)fle - QDMA_FLE_FLE_OFFSET +
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#128: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:129:
+ QDMA_FLE_SDD_OFFSET);
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#129: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:130:
+ sdd_iova = fle_iova - QDMA_FLE_FLE_OFFSET + QDMA_FLE_SDD_OFFSET;
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#129: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:130:
+ sdd_iova = fle_iova - QDMA_FLE_FLE_OFFSET + QDMA_FLE_SDD_OFFSET;
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#129: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:130:
+ sdd_iova = fle_iova - QDMA_FLE_FLE_OFFSET + QDMA_FLE_SDD_OFFSET;
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#133: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:133:
+ DPAA2_SET_FLE_ADDR(fle, sdd_iova);
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#133: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:133:
+ DPAA2_SET_FLE_ADDR(fle, sdd_iova);
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#147: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:177:
+ fle->word4.fmt = fmt;
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#160: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:190:
+ fle->word4.fmt = fmt;
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#299: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:308:
+ ret = rte_mempool_get_bulk(qdma_dev->fle_pool, elem, nb_jobs);
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#301: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:310:
+ DPAA2_QDMA_DP_DEBUG("Memory alloc failed for FLE");
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#313: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:322:
+ ((uint64_t)elem[i] + QDMA_FLE_JOB_NB_OFFSET)) = 1;
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#316: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:325:
+ ((uint64_t)elem[i] + QDMA_FLE_JOBS_OFFSET);
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#321: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:330:
+ fle = (struct qbman_fle *)
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#321: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:330:
+ fle = (struct qbman_fle *)
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#322: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:331:
+ ((uint64_t)elem[i] + QDMA_FLE_FLE_OFFSET);
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#323: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:332:
+ fle_iova = elem_iova + QDMA_FLE_FLE_OFFSET;
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#323: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:332:
+ fle_iova = elem_iova + QDMA_FLE_FLE_OFFSET;
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#325: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:334:
+ DPAA2_SET_FD_ADDR(&fd[i], fle_iova);
WARNING:TYPO_SPELLING: 'SER' may be misspelled - perhaps 'SET'?
#327: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:336:
+ DPAA2_SET_FD_FRC(&fd[i], QDMA_SER_CTX);
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#329: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:338:
+ memset(fle, 0, DPAA2_QDMA_MAX_FLE * sizeof(struct qbman_fle) +
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#329: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:338:
+ memset(fle, 0, DPAA2_QDMA_MAX_FLE * sizeof(struct qbman_fle) +
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#329: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:338:
+ memset(fle, 0, DPAA2_QDMA_MAX_FLE * sizeof(struct qbman_fle) +
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#332: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:341:
+ dpaa2_qdma_populate_fle(fle, fle_iova, rbp,
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#332: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:341:
+ dpaa2_qdma_populate_fle(fle, fle_iova, rbp,
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#332: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:341:
+ dpaa2_qdma_populate_fle(fle, fle_iova, rbp,
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#334: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:343:
+ job[i]->flags, QBMAN_FLE_WORD4_FMT_SBF);
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#349: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:358:
+ struct qbman_fle *fle;
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#349: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:358:
+ struct qbman_fle *fle;
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#350: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:359:
+ uint64_t elem_iova, fle_iova, src, dst;
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#363: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:383:
+ *((uint16_t *)((uint64_t)elem + QDMA_FLE_JOB_NB_OFFSET)) = nb_jobs;
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#367: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:385:
+ ((uint64_t)elem + QDMA_FLE_JOBS_OFFSET);
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#384: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:402:
+ ((uint64_t)elem + QDMA_FLE_SG_ENTRY_OFFSET);
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#386: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:404:
+ src = elem_iova + QDMA_FLE_SG_ENTRY_OFFSET;
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#390: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:408:
+ fmt = QBMAN_FLE_WORD4_FMT_SGE;
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#396: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:414:
+ fmt = QBMAN_FLE_WORD4_FMT_SBF;
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#400: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:418:
+ memset(fle, 0, DPAA2_QDMA_MAX_FLE * sizeof(struct qbman_fle) +
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#400: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:418:
+ memset(fle, 0, DPAA2_QDMA_MAX_FLE * sizeof(struct qbman_fle) +
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#400: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:418:
+ memset(fle, 0, DPAA2_QDMA_MAX_FLE * sizeof(struct qbman_fle) +
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#403: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:421:
+ dpaa2_qdma_populate_fle(fle, fle_iova, rbp,
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#403: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:421:
+ dpaa2_qdma_populate_fle(fle, fle_iova, rbp,
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#403: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:421:
+ dpaa2_qdma_populate_fle(fle, fle_iova, rbp,
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#450: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:471:
+ *nb_jobs = *((uint16_t *)((uint64_t)fle -
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#451: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:472:
+ QDMA_FLE_FLE_OFFSET + QDMA_FLE_JOB_NB_OFFSET));
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#451: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:472:
+ QDMA_FLE_FLE_OFFSET + QDMA_FLE_JOB_NB_OFFSET));
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#458: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:475:
+ ppjob = (struct rte_qdma_job **)((uint64_t)fle -
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#459: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:476:
+ QDMA_FLE_FLE_OFFSET + QDMA_FLE_JOBS_OFFSET);
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#459: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:476:
+ QDMA_FLE_FLE_OFFSET + QDMA_FLE_JOBS_OFFSET);
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#468: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:484:
+ rte_mempool_put(qdma_dev->fle_pool,
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#469: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:485:
+ (void *)((uint64_t)fle - QDMA_FLE_FLE_OFFSET));
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#469: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.c:485:
+ (void *)((uint64_t)fle - QDMA_FLE_FLE_OFFSET));
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#736: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.h:18:
+/** FLE pool size: job number(uint64_t) +
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#741: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.h:23:
+#define QDMA_FLE_POOL_SIZE (sizeof(uint64_t) + \
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#748: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.h:29:
+#define QDMA_FLE_JOB_NB_OFFSET 0
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#753: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.h:32:
+ (QDMA_FLE_JOB_NB_OFFSET + sizeof(uint64_t))
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#755: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.h:34:
+#define QDMA_FLE_SDD_OFFSET \
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#756: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.h:35:
+ (QDMA_FLE_FLE_OFFSET + \
WARNING:TYPO_SPELLING: 'fle' may be misspelled - perhaps 'file'?
#757: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.h:36:
+ sizeof(struct qbman_fle) * DPAA2_QDMA_MAX_FLE)
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#757: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.h:36:
+ sizeof(struct qbman_fle) * DPAA2_QDMA_MAX_FLE)
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#759: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.h:38:
+#define QDMA_FLE_SG_ENTRY_OFFSET \
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#760: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.h:39:
+ (QDMA_FLE_SDD_OFFSET + \
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#763: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.h:42:
+#define QDMA_FLE_JOBS_OFFSET \
WARNING:TYPO_SPELLING: 'FLE' may be misspelled - perhaps 'FILE'?
#764: FILE: drivers/raw/dpaa2_qdma/dpaa2_qdma.h:43:
+ (QDMA_FLE_SG_ENTRY_OFFSET + \
total: 0 errors, 69 warnings, 735 lines checked
Warning in drivers/raw/dpaa2_qdma/dpaa2_qdma.h:
Using compiler attribute directly
^ permalink raw reply [flat|nested] only message in thread