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| pw125872 [PATCH 2/3] net/iavf: support Rx timestamp offload on AVX2
Date: Mon, 10 Apr 2023 09:32:10 +0200 (CEST)	[thread overview]
Message-ID: <20230410073210.8335E121EF4@dpdk.org> (raw)
In-Reply-To: <20230410073621.2493087-1-zhichaox.zeng@intel.com>

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

_coding style issues_


WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#148: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1154:
+				__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
#165: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1171:
+							_mm256_set_epi32(mask, mask, mask, mask, mask, mask, mask, 0));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

WARNING:LONG_LINE: line length of 130 exceeds 100 columns
#317: FILE: drivers/net/iavf/iavf_rxtx_vec_avx2.c:1446:
+		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, 237 lines checked

           reply	other threads:[~2023-04-10  7:32 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20230410073621.2493087-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=20230410073210.8335E121EF4@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).