From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Howard Wang <howard_wang@realsil.com.cn>
Subject: |WARNING| pw148197 [PATCH v6 12/17] net/r8169: implement Tx path
Date: Fri, 8 Nov 2024 13:14:46 +0100 (CET) [thread overview]
Message-ID: <20241108121446.ADB0A12314F@dpdk.org> (raw)
In-Reply-To: <20241108121123.248797-13-howard_wang@realsil.com.cn>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/148197
_coding style issues_
CHECK:CAMELCASE: Avoid CamelCase: <NextHwDesCloPtr0>
#146: FILE: drivers/net/r8169/r8169_ethdev.h:78:
+ u32 NextHwDesCloPtr0;
CHECK:CAMELCASE: Avoid CamelCase: <BeginHwDesCloPtr0>
#147: FILE: drivers/net/r8169/r8169_ethdev.h:79:
+ u32 BeginHwDesCloPtr0;
CHECK:SPACING: No space is necessary after a cast
#231: FILE: drivers/net/r8169/r8169_rxtx.c:74:
+ RTE_ATOMIC(uint32_t) tx_tail;
CHECK:CAMELCASE: Avoid CamelCase: <RingEnd>
#345: 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>
#456: FILE: drivers/net/r8169/r8169_rxtx.c:1007:
+ RTL_W32(hw, TxDescStartAddrLow,
CHECK:CAMELCASE: Avoid CamelCase: <TxDescStartAddrHigh>
#458: FILE: drivers/net/r8169/r8169_rxtx.c:1009:
+ RTL_W32(hw, TxDescStartAddrHigh, ((u64)txq->hw_ring_phys_addr >> 32));
CHECK:CAMELCASE: Avoid CamelCase: <ChipCmd>
#472: FILE: drivers/net/r8169/r8169_rxtx.c:1023:
+ RTL_W8(hw, ChipCmd, RTL_R8(hw, ChipCmd) | CmdTxEnb);
CHECK:CAMELCASE: Avoid CamelCase: <CmdTxEnb>
#472: FILE: drivers/net/r8169/r8169_rxtx.c:1023:
+ RTL_W8(hw, ChipCmd, RTL_R8(hw, ChipCmd) | CmdTxEnb);
CHECK:CAMELCASE: Avoid CamelCase: <TxVlanTag>
#485: FILE: drivers/net/r8169/r8169_rxtx.c:1034:
+ (TxVlanTag | rte_bswap16(tx_pkt->vlan_tci)) :
CHECK:CAMELCASE: Avoid CamelCase: <GiantSendv4>
#502: FILE: drivers/net/r8169/r8169_rxtx.c:1051:
+ opts[0] |= GiantSendv4;
CHECK:CAMELCASE: Avoid CamelCase: <GiantSendv6>
#504: FILE: drivers/net/r8169/r8169_rxtx.c:1053:
+ opts[0] |= GiantSendv6;
CHECK:CAMELCASE: Avoid CamelCase: <TxIPCS_C>
#524: FILE: drivers/net/r8169/r8169_rxtx.c:1073:
+ csum_cmd |= TxIPCS_C;
CHECK:CAMELCASE: Avoid CamelCase: <TxUDPCS_C>
#528: FILE: drivers/net/r8169/r8169_rxtx.c:1077:
+ csum_cmd |= TxUDPCS_C;
CHECK:CAMELCASE: Avoid CamelCase: <TxTCPCS_C>
#531: FILE: drivers/net/r8169/r8169_rxtx.c:1080:
+ csum_cmd |= TxTCPCS_C;
CHECK:CAMELCASE: Avoid CamelCase: <TxIPV6F_C>
#538: FILE: drivers/net/r8169/r8169_rxtx.c:1087:
+ csum_cmd |= TxIPV6F_C;
CHECK:CAMELCASE: Avoid CamelCase: <DescOwn>
#631: FILE: drivers/net/r8169/r8169_rxtx.c:1180:
+ opts[0] = DescOwn;
CHECK:CAMELCASE: Avoid CamelCase: <FirstFrag>
#663: FILE: drivers/net/r8169/r8169_rxtx.c:1212:
+ opts1 |= FirstFrag;
CHECK:CAMELCASE: Avoid CamelCase: <LastFrag>
#665: FILE: drivers/net/r8169/r8169_rxtx.c:1214:
+ opts1 |= LastFrag;
CHECK:CAMELCASE: Avoid CamelCase: <HwSuppTxNoCloseVer>
#703: FILE: drivers/net/r8169/r8169_rxtx.c:1252:
+ switch (hw->HwSuppTxNoCloseVer) {
CHECK:CAMELCASE: Avoid CamelCase: <EnableTxNoClose>
#729: FILE: drivers/net/r8169/r8169_rxtx.c:1278:
+ const uint8_t enable_tx_no_close = hw->EnableTxNoClose;
CHECK:CAMELCASE: Avoid CamelCase: <MaxTxDescPtrMask>
#743: FILE: drivers/net/r8169/r8169_rxtx.c:1292:
+ hw->BeginHwDesCloPtr0, hw->MaxTxDescPtrMask);
total: 0 errors, 0 warnings, 21 checks, 808 lines checked
Warning in drivers/net/r8169/r8169_rxtx.c:
Using rte_smp_[r/w]mb
parent reply other threads:[~2024-11-08 12:14 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20241108121123.248797-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=20241108121446.ADB0A12314F@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).