|WARNING| pw107899 [PATCH v2] gpu/cuda: CPU map GPU memory with GDRCopy

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Feb 21 15:35:28 CET 2022


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

_coding style issues_


WARNING:TYPO_SPELLING: 'retun' may be misspelled - perhaps 'return'?
#178: FILE: doc/guides/gpus/cuda.rst:57:
+and will retun error if the application invokes the gpude ``rte_gpu_mem_cpu_map`` function.

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#363: FILE: drivers/gpu/cuda/gdrcopy.c:2:
+/* SPDX-License-Identifier: BSD-3-Clause
+* Copyright (c) 2022 NVIDIA Corporation & Affiliates

WARNING:LONG_LINE: line length of 132 exceeds 100 columns
#378: FILE: drivers/gpu/cuda/gdrcopy.c:17:
+static int (*sym_gdr_pin_buffer)(gdr_t g, unsigned long addr, size_t size, uint64_t p2p_token, uint32_t va_space, gdr_mh_t *handle);

WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#544: FILE: drivers/gpu/cuda/gdrcopy.h:23:
+int gdrcopy_pin(gdr_t *gdrc_h, __rte_unused gdr_mh_t *mh, uint64_t d_addr, size_t size, void **h_addr);

total: 0 errors, 4 warnings, 380 lines checked


More information about the test-report mailing list