automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Zhichao Zeng <zhichaox.zeng@intel.com>
Subject: |WARNING| pw126563 [PATCH v3 2/3] net/iavf: support Rx timestamp offload on AVX2
Date: Thu, 27 Apr 2023 05:08:46 +0200 (CEST)	[thread overview]
Message-ID: <20230427030846.19C65121EF7@dpdk.org> (raw)
In-Reply-To: <20230427031302.1729728-1-zhichaox.zeng@intel.com>

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

_coding style issues_


WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#164: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1155:
+				__m256i ts_desp_mask = _mm256_set_epi32(mask, 0, 0, 0, mask, 0, 0, 0);

WARNING:LONG_LINE: line length of 119 exceeds 100 columns
#181: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1172:
+							_mm256_set_epi32(mask, mask, mask, mask, mask, mask, mask, 0));

WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#184: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1175:
+							_mm256_set_epi32(0, 0, 0, 0, 0, 0, 0, mask));

WARNING:LONG_LINE: line length of 119 exceeds 100 columns
#187: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1178:
+					iavf_timestamp_dynfield_offset, uint32_t *) = _mm256_extract_epi32(ts_low1, 0);

WARNING:LONG_LINE: line length of 119 exceeds 100 columns
#189: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1180:
+					iavf_timestamp_dynfield_offset, uint32_t *) = _mm256_extract_epi32(ts_low1, 1);

WARNING:LONG_LINE: line length of 119 exceeds 100 columns
#191: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1182:
+					iavf_timestamp_dynfield_offset, uint32_t *) = _mm256_extract_epi32(ts_low1, 2);

WARNING:LONG_LINE: line length of 119 exceeds 100 columns
#193: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1184:
+					iavf_timestamp_dynfield_offset, uint32_t *) = _mm256_extract_epi32(ts_low1, 3);

WARNING:LONG_LINE: line length of 119 exceeds 100 columns
#195: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1186:
+					iavf_timestamp_dynfield_offset, uint32_t *) = _mm256_extract_epi32(ts_low1, 4);

WARNING:LONG_LINE: line length of 119 exceeds 100 columns
#197: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1188:
+					iavf_timestamp_dynfield_offset, uint32_t *) = _mm256_extract_epi32(ts_low1, 5);

WARNING:LONG_LINE: line length of 119 exceeds 100 columns
#199: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1190:
+					iavf_timestamp_dynfield_offset, uint32_t *) = _mm256_extract_epi32(ts_low1, 6);

WARNING:LONG_LINE: line length of 119 exceeds 100 columns
#201: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1192:
+					iavf_timestamp_dynfield_offset, uint32_t *) = _mm256_extract_epi32(ts_low1, 7);

WARNING:LONG_LINE: line length of 113 exceeds 100 columns
#209: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1200:
+					rxq->phc_time = iavf_tstamp_convert_32b_64b(rxq->phc_time, in_timestamp);

WARNING:LONG_LINE: line length of 122 exceeds 100 columns
#213: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1204:
+					iavf_timestamp_dynfield_offset + 4, uint32_t *) = (uint32_t)(rxq->phc_time >> 32);

WARNING:LONG_LINE: line length of 122 exceeds 100 columns
#215: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1206:
+					iavf_timestamp_dynfield_offset + 4, uint32_t *) = (uint32_t)(rxq->phc_time >> 32);

WARNING:LONG_LINE: line length of 122 exceeds 100 columns
#217: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1208:
+					iavf_timestamp_dynfield_offset + 4, uint32_t *) = (uint32_t)(rxq->phc_time >> 32);

WARNING:LONG_LINE: line length of 122 exceeds 100 columns
#219: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1210:
+					iavf_timestamp_dynfield_offset + 4, uint32_t *) = (uint32_t)(rxq->phc_time >> 32);

WARNING:LONG_LINE: line length of 122 exceeds 100 columns
#221: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1212:
+					iavf_timestamp_dynfield_offset + 4, uint32_t *) = (uint32_t)(rxq->phc_time >> 32);

WARNING:LONG_LINE: line length of 122 exceeds 100 columns
#223: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1214:
+					iavf_timestamp_dynfield_offset + 4, uint32_t *) = (uint32_t)(rxq->phc_time >> 32);

WARNING:LONG_LINE: line length of 122 exceeds 100 columns
#225: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1216:
+					iavf_timestamp_dynfield_offset + 4, uint32_t *) = (uint32_t)(rxq->phc_time >> 32);

WARNING:LONG_LINE: line length of 122 exceeds 100 columns
#227: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1218:
+					iavf_timestamp_dynfield_offset + 4, uint32_t *) = (uint32_t)(rxq->phc_time >> 32);

WARNING:LONG_LINE: line length of 110 exceeds 100 columns
#230: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1221:
+				cmp_ret = _mm256_andnot_si256(_mm256_cmpeq_epi32(max_ret, ts_low1), cmp_mask);

WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#240: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1231:
+						switch (shift) {

WARNING:LONG_LINE: line length of 120 exceeds 100 columns
#242: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1233:
+							mask_low = _mm256_set_epi32(0, 0, 0, 0, mask, mask, mask, mask);

WARNING:LONG_LINE: line length of 121 exceeds 100 columns
#243: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1234:
+							mask_high = _mm256_set_epi32(mask, mask, mask, mask, 0, 0, 0, 0);

WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#246: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1237:
+							mask_low = _mm256_srli_si256(cmp_mask, 2 * 4);

WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#247: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1238:
+							mask_high = _mm256_slli_si256(cmp_mask, 2 * 4);

WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#250: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1241:
+							mask_low = _mm256_srli_si256(cmp_mask, 1 * 4);

WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#251: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1242:
+							mask_high = _mm256_slli_si256(cmp_mask, 1 * 4);

WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#255: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1246:
+						if (ret) {

WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#256: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1247:
+							ret = _mm256_testz_si256(cmp_ret, mask_high);

WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#259: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1250:
+						} else {

WARNING:LONG_LINE: line length of 116 exceeds 100 columns
#264: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1255:
+				mbuf_flags = _mm256_or_si256(mbuf_flags, _mm256_set1_epi32(iavf_timestamp_dynflag));

WARNING:LONG_LINE: line length of 130 exceeds 100 columns
#325: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1439:
+		rxq->phc_time = *RTE_MBUF_DYNFIELD(rx_pkts[received - 1], iavf_timestamp_dynfield_offset, rte_mbuf_timestamp_t *);

total: 0 errors, 33 warnings, 0 checks, 239 lines checked

           reply	other threads:[~2023-04-27  3:08 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20230427031302.1729728-1-zhichaox.zeng@intel.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230427030846.19C65121EF7@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=test-report@dpdk.org \
    --cc=zhichaox.zeng@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).