From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Howard Wang <howard_wang@realsil.com.cn>
Subject: |WARNING| pw148403 [PATCH v8 12/17] net/r8169: implement Tx path
Date: Wed, 13 Nov 2024 10:33:41 +0100 (CET) [thread overview]
Message-ID: <20241113093341.B3C1E1234FA@dpdk.org> (raw)
In-Reply-To: <20241113092854.91445-13-howard_wang@realsil.com.cn>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/148403
_coding style issues_
CHECK:CAMELCASE: Avoid CamelCase: <NextHwDesCloPtr0>
#124: FILE: drivers/net/r8169/r8169_ethdev.h:78:
+ u32 NextHwDesCloPtr0;
CHECK:CAMELCASE: Avoid CamelCase: <BeginHwDesCloPtr0>
#125: FILE: drivers/net/r8169/r8169_ethdev.h:79:
+ u32 BeginHwDesCloPtr0;
CHECK:SPACING: No space is necessary after a cast
#209: FILE: drivers/net/r8169/r8169_rxtx.c:74:
+ RTE_ATOMIC(uint32_t) tx_tail;
CHECK:CAMELCASE: Avoid CamelCase: <RingEnd>
#293: FILE: drivers/net/r8169/r8169_rxtx.c:896:
+ txq->hw_ring[txq->nb_tx_desc - 1].opts1 = rte_cpu_to_le_32(RingEnd);
CHECK:CAMELCASE: Avoid CamelCase: <TxDescStartAddrLow>
#405: FILE: drivers/net/r8169/r8169_rxtx.c:1007:
+ RTL_W32(hw, TxDescStartAddrLow,
CHECK:CAMELCASE: Avoid CamelCase: <TxDescStartAddrHigh>
#407: FILE: drivers/net/r8169/r8169_rxtx.c:1009:
+ RTL_W32(hw, TxDescStartAddrHigh, ((u64)txq->hw_ring_phys_addr >> 32));
CHECK:CAMELCASE: Avoid CamelCase: <ChipCmd>
#421: FILE: drivers/net/r8169/r8169_rxtx.c:1023:
+ RTL_W8(hw, ChipCmd, RTL_R8(hw, ChipCmd) | CmdTxEnb);
CHECK:CAMELCASE: Avoid CamelCase: <CmdTxEnb>
#421: FILE: drivers/net/r8169/r8169_rxtx.c:1023:
+ RTL_W8(hw, ChipCmd, RTL_R8(hw, ChipCmd) | CmdTxEnb);
CHECK:CAMELCASE: Avoid CamelCase: <TxVlanTag>
#435: FILE: drivers/net/r8169/r8169_rxtx.c:1034:
+ (TxVlanTag | rte_bswap16(tx_pkt->vlan_tci)) :
CHECK:CAMELCASE: Avoid CamelCase: <GiantSendv4>
#452: FILE: drivers/net/r8169/r8169_rxtx.c:1051:
+ opts[0] |= GiantSendv4;
CHECK:CAMELCASE: Avoid CamelCase: <GiantSendv6>
#454: FILE: drivers/net/r8169/r8169_rxtx.c:1053:
+ opts[0] |= GiantSendv6;
CHECK:CAMELCASE: Avoid CamelCase: <TxIPCS_C>
#474: FILE: drivers/net/r8169/r8169_rxtx.c:1073:
+ csum_cmd |= TxIPCS_C;
CHECK:CAMELCASE: Avoid CamelCase: <TxUDPCS_C>
#478: FILE: drivers/net/r8169/r8169_rxtx.c:1077:
+ csum_cmd |= TxUDPCS_C;
CHECK:CAMELCASE: Avoid CamelCase: <TxTCPCS_C>
#481: FILE: drivers/net/r8169/r8169_rxtx.c:1080:
+ csum_cmd |= TxTCPCS_C;
CHECK:CAMELCASE: Avoid CamelCase: <TxIPV6F_C>
#488: FILE: drivers/net/r8169/r8169_rxtx.c:1087:
+ csum_cmd |= TxIPV6F_C;
CHECK:CAMELCASE: Avoid CamelCase: <DescOwn>
#581: FILE: drivers/net/r8169/r8169_rxtx.c:1180:
+ opts[0] = DescOwn;
CHECK:CAMELCASE: Avoid CamelCase: <FirstFrag>
#613: FILE: drivers/net/r8169/r8169_rxtx.c:1212:
+ opts1 |= FirstFrag;
CHECK:CAMELCASE: Avoid CamelCase: <LastFrag>
#615: FILE: drivers/net/r8169/r8169_rxtx.c:1214:
+ opts1 |= LastFrag;
CHECK:CAMELCASE: Avoid CamelCase: <HwSuppTxNoCloseVer>
#653: FILE: drivers/net/r8169/r8169_rxtx.c:1252:
+ switch (hw->HwSuppTxNoCloseVer) {
CHECK:CAMELCASE: Avoid CamelCase: <EnableTxNoClose>
#679: FILE: drivers/net/r8169/r8169_rxtx.c:1278:
+ const uint8_t enable_tx_no_close = hw->EnableTxNoClose;
CHECK:CAMELCASE: Avoid CamelCase: <MaxTxDescPtrMask>
#693: FILE: drivers/net/r8169/r8169_rxtx.c:1292:
+ hw->BeginHwDesCloPtr0, hw->MaxTxDescPtrMask);
total: 0 errors, 0 warnings, 21 checks, 764 lines checked
Warning in drivers/net/r8169/r8169_rxtx.c:
Using rte_smp_[r/w]mb
parent reply other threads:[~2024-11-13 9:33 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20241113092854.91445-13-howard_wang@realsil.com.cn>]
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=20241113093341.B3C1E1234FA@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=howard_wang@realsil.com.cn \
--cc=test-report@dpdk.org \
/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).