automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw149076 [PATCH v11 6/7] app/test: add unit tests for soring API
       [not found] <20241206183600.34758-7-konstantin.ananyev@huawei.com>
@ 2024-12-06 17:47 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2024-12-06 17:47 UTC (permalink / raw)
  To: test-report; +Cc: Konstantin Ananyev

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

_coding style issues_


WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#35: 
Subject: [PATCH v11 6/7] app/test: add unit tests for soring API

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#59: 
Add both functional and stess test-cases for soring API.

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#60: 
Stress test serves as both functional and performance test of soring

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#89: FILE: app/test/meson.build:180:
+    'test_soring.c': [],

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#90: FILE: app/test/meson.build:181:
+    'test_soring_mt_stress.c': [],

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#91: FILE: app/test/meson.build:182:
+    'test_soring_stress.c': [],

WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#107: FILE: app/test/test_soring.c:7:
+#include <stdio.h>

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#128: FILE: app/test/test_soring.c:28:
+#include <rte_soring.h>

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#134: FILE: app/test/test_soring.c:34:
+#define SORING_TEST_ASSERT(val, expected) do { \

WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop
#134: FILE: app/test/test_soring.c:34:
+#define SORING_TEST_ASSERT(val, expected) do { \
+	RTE_TEST_ASSERT(expected == val, \
+			"%s: expected %u got %u
", #val, expected, val); \
+} while (0)

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#140: FILE: app/test/test_soring.c:40:
+set_soring_init_param(struct rte_soring_param *prm,

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#140: FILE: app/test/test_soring.c:40:
+set_soring_init_param(struct rte_soring_param *prm,

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#156: FILE: app/test/test_soring.c:56:
+move_forward_stage(struct rte_soring *sor,

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#163: FILE: app/test/test_soring.c:63:
+	acquired = rte_soring_acquire_bulk(sor, acquired_objs, stage,

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#165: FILE: app/test/test_soring.c:65:
+	SORING_TEST_ASSERT(acquired, num_packets);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#166: FILE: app/test/test_soring.c:66:
+	rte_soring_release(sor, NULL, stage, num_packets,

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#173: FILE: app/test/test_soring.c:73:
+ * struct rte_soring_param param checking.

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#176: FILE: app/test/test_soring.c:76:
+test_soring_init(void)

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#178: FILE: app/test/test_soring.c:78:
+	struct rte_soring *sor = NULL;

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#179: FILE: app/test/test_soring.c:79:
+	struct rte_soring_param prm;

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#185: FILE: app/test/test_soring.c:85:
+	set_soring_init_param(&prm, "alloc_memory", sizeof(uintptr_t),

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#187: FILE: app/test/test_soring.c:87:
+	sz = rte_soring_get_memsize(&prm);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#189: FILE: app/test/test_soring.c:89:
+	RTE_TEST_ASSERT_NOT_NULL(sor, "could not allocate memory for soring");

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#191: FILE: app/test/test_soring.c:91:
+	set_soring_init_param(&prm, "test_invalid_stages", sizeof(uintptr_t),

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#193: FILE: app/test/test_soring.c:93:
+	rc = rte_soring_init(sor, &prm);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#194: FILE: app/test/test_soring.c:94:
+	RTE_TEST_ASSERT_FAIL(rc, "initted soring with invalid num stages");

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#196: FILE: app/test/test_soring.c:96:
+	set_soring_init_param(&prm, "test_invalid_esize", 0,

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#198: FILE: app/test/test_soring.c:98:
+	rc = rte_soring_init(sor, &prm);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#199: FILE: app/test/test_soring.c:99:
+	RTE_TEST_ASSERT_FAIL(rc, "initted soring with 0 esize");

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#201: FILE: app/test/test_soring.c:101:
+	set_soring_init_param(&prm, "test_invalid_esize", 9,

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#203: FILE: app/test/test_soring.c:103:
+	rc = rte_soring_init(sor, &prm);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#204: FILE: app/test/test_soring.c:104:
+	RTE_TEST_ASSERT_FAIL(rc, "initted soring with esize not multiple of 4");

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#206: FILE: app/test/test_soring.c:106:
+	set_soring_init_param(&prm, "test_invalid_rsize", sizeof(uintptr_t),

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#208: FILE: app/test/test_soring.c:108:
+	rc = rte_soring_init(sor, &prm);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#209: FILE: app/test/test_soring.c:109:
+	RTE_TEST_ASSERT_FAIL(rc, "initted soring with rcsize not multiple of 4");

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#211: FILE: app/test/test_soring.c:111:
+	set_soring_init_param(&prm, "test_invalid_elems", sizeof(uintptr_t),

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#212: FILE: app/test/test_soring.c:112:
+			RTE_SORING_ELEM_MAX + 1, 1, 4, RTE_RING_SYNC_MT,

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#214: FILE: app/test/test_soring.c:114:
+	rc = rte_soring_init(sor, &prm);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#215: FILE: app/test/test_soring.c:115:
+	RTE_TEST_ASSERT_FAIL(rc, "initted soring with invalid num elements");

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#222: FILE: app/test/test_soring.c:122:
+test_soring_get_memsize(void)

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#225: FILE: app/test/test_soring.c:125:
+	struct rte_soring_param prm;

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#228: FILE: app/test/test_soring.c:128:
+	set_soring_init_param(&prm, "memsize", sizeof(uint32_t *),

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#230: FILE: app/test/test_soring.c:130:
+	sz = rte_soring_get_memsize(&prm);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#233: FILE: app/test/test_soring.c:133:
+	set_soring_init_param(&prm, "memsize", sizeof(uint8_t),

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#235: FILE: app/test/test_soring.c:135:
+	sz = rte_soring_get_memsize(&prm);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#238: FILE: app/test/test_soring.c:138:
+	set_soring_init_param(&prm, "memsize", 0,

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#240: FILE: app/test/test_soring.c:140:
+	sz = rte_soring_get_memsize(&prm);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#248: FILE: app/test/test_soring.c:148:
+test_soring_stages(void)

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#250: FILE: app/test/test_soring.c:150:
+	struct rte_soring *sor = NULL;

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#251: FILE: app/test/test_soring.c:151:
+	struct rte_soring_param prm;

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#263: FILE: app/test/test_soring.c:163:
+	set_soring_init_param(&prm, "stages", sizeof(uint32_t), 32,

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#265: FILE: app/test/test_soring.c:165:
+	ssz = rte_soring_get_memsize(&prm);

WARNING:TYPO_SPELLING: 'couldn' may be misspelled - perhaps 'could'?
#268: FILE: app/test/test_soring.c:168:
+	RTE_TEST_ASSERT_NOT_NULL(sor, "couldn't allocate memory for soring");

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#268: FILE: app/test/test_soring.c:168:
+	RTE_TEST_ASSERT_NOT_NULL(sor, "couldn't allocate memory for soring");

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#269: FILE: app/test/test_soring.c:169:
+	rte_soring_init(sor, &prm);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#276: FILE: app/test/test_soring.c:176:
+	enqueued = rte_soring_enqueux_burst(sor, objs, rcs, 32, NULL);

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#277: FILE: app/test/test_soring.c:177:
+	SORING_TEST_ASSERT(enqueued, 32);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#281: FILE: app/test/test_soring.c:181:
+		dequeued = rte_soring_dequeue_bulk(sor, dequeued_objs,

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#284: FILE: app/test/test_soring.c:184:
+		SORING_TEST_ASSERT(dequeued, 0);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#286: FILE: app/test/test_soring.c:186:
+		acquired = rte_soring_acquirx_bulk(sor, acquired_objs,

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#288: FILE: app/test/test_soring.c:188:
+		SORING_TEST_ASSERT(acquired, 32);

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#291: FILE: app/test/test_soring.c:191:
+			SORING_TEST_ASSERT(acquired_rcs[j], j + stage);

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#292: FILE: app/test/test_soring.c:192:
+			SORING_TEST_ASSERT(acquired_objs[j], j + stage + 32);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#298: FILE: app/test/test_soring.c:198:
+		rte_soring_releasx(sor, acquired_objs,

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#303: FILE: app/test/test_soring.c:203:
+	dequeued = rte_soring_dequeux_bulk(sor, dequeued_objs, dequeued_rcs,

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#305: FILE: app/test/test_soring.c:205:
+	SORING_TEST_ASSERT(dequeued, 32);

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#308: FILE: app/test/test_soring.c:208:
+			SORING_TEST_ASSERT(dequeued_rcs[i], i + 10000);

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#309: FILE: app/test/test_soring.c:209:
+			SORING_TEST_ASSERT(dequeued_objs[i], i + 32 + 10000);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#316: FILE: app/test/test_soring.c:216:
+test_soring_enqueue_dequeue(void)

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#318: FILE: app/test/test_soring.c:218:
+	struct rte_soring *sor = NULL;

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#319: FILE: app/test/test_soring.c:219:
+	struct rte_soring_param prm;

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#336: FILE: app/test/test_soring.c:236:
+	set_soring_init_param(&prm, "enqueue/dequeue", sizeof(uint32_t *),

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#338: FILE: app/test/test_soring.c:238:
+	sz = rte_soring_get_memsize(&prm);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#340: FILE: app/test/test_soring.c:240:
+	RTE_TEST_ASSERT_NOT_NULL(sor, "alloc failed for soring");

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#341: FILE: app/test/test_soring.c:241:
+	rc = rte_soring_init(sor, &prm);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#342: FILE: app/test/test_soring.c:242:
+	RTE_TEST_ASSERT_SUCCESS(rc, "Failed to init soring");

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#346: FILE: app/test/test_soring.c:246:
+	enqueued = rte_soring_enqueue_burst(sor, queue_objs_p, 5, &free_space);

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#348: FILE: app/test/test_soring.c:248:
+	SORING_TEST_ASSERT(free_space, 5);

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#349: FILE: app/test/test_soring.c:249:
+	SORING_TEST_ASSERT(enqueued, 5);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#352: FILE: app/test/test_soring.c:252:
+	enqueued = rte_soring_enqueue_bulk(sor, queue_objs_p, 7, &free_space);

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#354: FILE: app/test/test_soring.c:254:
+	SORING_TEST_ASSERT(free_space, 5);

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#355: FILE: app/test/test_soring.c:255:
+	SORING_TEST_ASSERT(enqueued, 0);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#358: FILE: app/test/test_soring.c:258:
+	enqueued = rte_soring_enqueue_burst(sor, queue_objs_p + 5, 7,

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#360: FILE: app/test/test_soring.c:260:
+	SORING_TEST_ASSERT(free_space, 0);

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#361: FILE: app/test/test_soring.c:261:
+	SORING_TEST_ASSERT(enqueued, 5);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#364: FILE: app/test/test_soring.c:264:
+	dequeued = rte_soring_dequeue_bulk(sor, dequeued_objs, 10, NULL);

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#365: FILE: app/test/test_soring.c:265:
+	SORING_TEST_ASSERT(dequeued, 0);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#366: FILE: app/test/test_soring.c:266:
+	dequeued = rte_soring_dequeue_burst(sor, dequeued_objs, 10, NULL);

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#367: FILE: app/test/test_soring.c:267:
+	SORING_TEST_ASSERT(dequeued, 0);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#372: FILE: app/test/test_soring.c:272:
+	dequeued = rte_soring_dequeue_bulk(sor, dequeued_objs, 10, NULL);

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#373: FILE: app/test/test_soring.c:273:
+	SORING_TEST_ASSERT(dequeued, 0);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#374: FILE: app/test/test_soring.c:274:
+	dequeued = rte_soring_dequeue_burst(sor, dequeued_objs, 10, NULL);

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#375: FILE: app/test/test_soring.c:275:
+	SORING_TEST_ASSERT(dequeued, 8);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#382: FILE: app/test/test_soring.c:282:
+	dequeued = rte_soring_dequeue_burst(sor, dequeued_objs, 1, NULL);

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#383: FILE: app/test/test_soring.c:283:
+	SORING_TEST_ASSERT(dequeued, 0);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#386: FILE: app/test/test_soring.c:286:
+	dequeued = rte_soring_dequeue_burst(sor, dequeued_objs, 2, NULL);

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#387: FILE: app/test/test_soring.c:287:
+	SORING_TEST_ASSERT(dequeued, 2);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#394: FILE: app/test/test_soring.c:294:
+	rte_soring_dump(stdout, sor);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#400: FILE: app/test/test_soring.c:300:
+test_soring_acquire_release(void)

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#403: FILE: app/test/test_soring.c:303:
+	struct rte_soring *sor = NULL;

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#404: FILE: app/test/test_soring.c:304:
+	struct rte_soring_param prm;

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#423: FILE: app/test/test_soring.c:323:
+	set_soring_init_param(&prm, "test_acquire_release", sizeof(uint32_t),

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#425: FILE: app/test/test_soring.c:325:
+	sz = rte_soring_get_memsize(&prm);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#434: FILE: app/test/test_soring.c:334:
+	rc = rte_soring_init(sor, &prm);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#435: FILE: app/test/test_soring.c:335:
+	RTE_TEST_ASSERT_SUCCESS(rc, "failed to init soring");

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#438: FILE: app/test/test_soring.c:338:
+	enqueued = rte_soring_enqueux_burst(sor, queue_objs, rc_objs, 5,

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#440: FILE: app/test/test_soring.c:340:
+	SORING_TEST_ASSERT(enqueued, 5);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#442: FILE: app/test/test_soring.c:342:
+	enqueued = rte_soring_enqueue_burst(sor, queue_objs + 5, 5,

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#444: FILE: app/test/test_soring.c:344:
+	SORING_TEST_ASSERT(enqueued, 5);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#447: FILE: app/test/test_soring.c:347:
+	acquired = rte_soring_acquirx_burst(sor, acquired_objs,

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#449: FILE: app/test/test_soring.c:349:
+	SORING_TEST_ASSERT(acquired, 5);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#458: FILE: app/test/test_soring.c:358:
+	rte_soring_release(sor, NULL, 0, 5, ftoken);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#461: FILE: app/test/test_soring.c:361:
+	acquired = rte_soring_acquirx_burst(sor, acquired_objs,

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#463: FILE: app/test/test_soring.c:363:
+	SORING_TEST_ASSERT(acquired, 5);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#476: FILE: app/test/test_soring.c:376:
+	rte_soring_releasx(sor, NULL, rc_objs + 5, 0, 5,

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#479: FILE: app/test/test_soring.c:379:
+	acquired = rte_soring_acquirx_burst(sor, acquired_objs,

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#481: FILE: app/test/test_soring.c:381:
+	SORING_TEST_ASSERT(acquired, 10);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#492: FILE: app/test/test_soring.c:392:
+	rte_soring_release(sor, NULL, 1, 10, ftoken);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#494: FILE: app/test/test_soring.c:394:
+	dequeued = rte_soring_dequeux_burst(sor, dequeued_objs, dequeued_rcs,

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#496: FILE: app/test/test_soring.c:396:
+	SORING_TEST_ASSERT(dequeued, 10);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#506: FILE: app/test/test_soring.c:406:
+	rte_soring_dump(stdout, sor);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#512: FILE: app/test/test_soring.c:412:
+test_soring(void)

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#516: FILE: app/test/test_soring.c:416:
+	if (test_soring_init() < 0)

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#520: FILE: app/test/test_soring.c:420:
+	if (test_soring_get_memsize() < 0)

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#524: FILE: app/test/test_soring.c:424:
+	if (test_soring_enqueue_dequeue() < 0)

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#528: FILE: app/test/test_soring.c:428:
+	if (test_soring_acquire_release() < 0)

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#532: FILE: app/test/test_soring.c:432:
+	if (test_soring_stages() < 0)

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#541: FILE: app/test/test_soring.c:441:
+REGISTER_FAST_TEST(soring_autotest, true, true, test_soring);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#541: FILE: app/test/test_soring.c:441:
+REGISTER_FAST_TEST(soring_autotest, true, true, test_soring);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#553: FILE: app/test/test_soring_mt_stress.c:5:
+#include "test_soring_stress_impl.h"

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#556: FILE: app/test/test_soring_mt_stress.c:8:
+_st_ring_dequeue_burst(struct rte_soring *r, void **obj, uint32_t n,

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#559: FILE: app/test/test_soring_mt_stress.c:11:
+	return rte_soring_dequeue_burst(r, obj, n, avail);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#563: FILE: app/test/test_soring_mt_stress.c:15:
+_st_ring_enqueue_bulk(struct rte_soring *r, void * const *obj, uint32_t n,

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#566: FILE: app/test/test_soring_mt_stress.c:18:
+	return rte_soring_enqueue_bulk(r, obj, n, free);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#570: FILE: app/test/test_soring_mt_stress.c:22:
+_st_ring_acquire_burst(struct rte_soring *r, uint32_t stage, void **obj,

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#573: FILE: app/test/test_soring_mt_stress.c:25:
+	return rte_soring_acquire_burst(r, obj, stage, num, token, avail);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#577: FILE: app/test/test_soring_mt_stress.c:29:
+_st_ring_release(struct rte_soring *r, uint32_t stage, uint32_t token,

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#581: FILE: app/test/test_soring_mt_stress.c:33:
+	rte_soring_release(r, NULL, stage, num, token);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#584: FILE: app/test/test_soring_mt_stress.c:36:
+const struct test test_soring_mt_stress = {

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#599: FILE: app/test/test_soring_stress.c:5:
+#include "test_soring_stress.h"

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#634: FILE: app/test/test_soring_stress.c:40:
+	n += test_soring_mt_stress.nb_case;

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#635: FILE: app/test/test_soring_stress.c:41:
+	k += run_test(&test_soring_mt_stress);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#642: FILE: app/test/test_soring_stress.c:48:
+REGISTER_TEST_COMMAND(soring_stress_autotest, test_ring_stress);

WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#658: FILE: app/test/test_soring_stress.h:10:
+#include <stdio.h>

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#661: FILE: app/test/test_soring_stress.h:13:
+#include <rte_soring.h>

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#683: FILE: app/test/test_soring_stress.h:35:
+extern const struct test test_soring_mt_stress;

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#695: FILE: app/test/test_soring_stress_impl.h:6:
+#include "test_soring_stress.h"

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#698: FILE: app/test/test_soring_stress_impl.h:9:
+ * Stress test for soring enqueue/dequeue/acquire/release operations.

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#703: FILE: app/test/test_soring_stress_impl.h:14:
+ * Serves as both functional and performance test of soring

WARNING:TYPO_SPELLING: 'SORING' may be misspelled - perhaps 'SORTING'?
#708: FILE: app/test/test_soring_stress_impl.h:19:
+#define RING_NAME	"SORING_STRESS"

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#748: FILE: app/test/test_soring_stress_impl.h:59:
+	struct rte_soring *rng;

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#761: FILE: app/test/test_soring_stress_impl.h:72:
+_st_ring_dequeue_burst(struct rte_soring *r, void **obj, uint32_t n,

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#765: FILE: app/test/test_soring_stress_impl.h:76:
+_st_ring_enqueue_bulk(struct rte_soring *r, void * const *obj, uint32_t n,

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#769: FILE: app/test/test_soring_stress_impl.h:80:
+_st_ring_acquire_burst(struct rte_soring *r, uint32_t stage, void **obj,

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#773: FILE: app/test/test_soring_stress_impl.h:84:
+_st_ring_release(struct rte_soring *r, uint32_t stage, uint32_t token,

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#893: FILE: app/test/test_soring_stress_impl.h:204:
+	const char *fname, const char *opname, const struct rte_soring *sor)

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#906: FILE: app/test/test_soring_stress_impl.h:217:
+			rte_soring_dump(stdout, sor);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#919: FILE: app/test/test_soring_stress_impl.h:230:
+	const struct rte_soring *sor)

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#926: FILE: app/test/test_soring_stress_impl.h:237:
+		rte_soring_dump(stdout, sor);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#1133: FILE: app/test/test_soring_stress_impl.h:444:
+mt1_fini(struct rte_soring *rng, void *data)

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#1140: FILE: app/test/test_soring_stress_impl.h:451:
+mt1_init(struct rte_soring **rng, void **data, uint32_t num,

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#1147: FILE: app/test/test_soring_stress_impl.h:458:
+	struct rte_soring *r;

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#1150: FILE: app/test/test_soring_stress_impl.h:461:
+	struct rte_soring_param prm;

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#1165: FILE: app/test/test_soring_stress_impl.h:476:
+	/* alloc soring */

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#1175: FILE: app/test/test_soring_stress_impl.h:486:
+	sz = rte_soring_get_memsize(&prm);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#1185: FILE: app/test/test_soring_stress_impl.h:496:
+	rc = rte_soring_init(r, &prm);

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#1187: FILE: app/test/test_soring_stress_impl.h:498:
+		printf("%s: rte_soring_init(r=%p,elems=%u,stages=%u) failed, "

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#1216: FILE: app/test/test_soring_stress_impl.h:527:
+	struct rte_soring *r;

WARNING:TYPO_SPELLING: 'soring' may be misspelled - perhaps 'sorting'?
#1270: FILE: app/test/test_soring_stress_impl.h:581:
+	rte_soring_dump(stdout, r);

WARNING:TYPO_SPELLING: 'enque' may be misspelled - perhaps 'enqueue'?
#1291: FILE: app/test/test_soring_stress_impl.h:602:
+ * - workers from 'even' group do deque+enque

total: 0 errors, 170 warnings, 1412 lines checked
Warning in app/test/test_soring_stress.c:
Using REGISTER_TEST_COMMAND instead of REGISTER_<suite_name>_TEST
Please use __rte_cache_aligned only for struct or union types alignment.

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

only message in thread, other threads:[~2024-12-06 17:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20241206183600.34758-7-konstantin.ananyev@huawei.com>
2024-12-06 17:47 ` |WARNING| pw149076 [PATCH v11 6/7] app/test: add unit tests for soring API 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).