* |WARNING| pw148403 [PATCH v8 12/17] net/r8169: implement Tx path
[not found] <20241113092854.91445-13-howard_wang@realsil.com.cn>
@ 2024-11-13 9:33 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2024-11-13 9:33 UTC (permalink / raw)
To: test-report; +Cc: Howard Wang
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-13 9:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20241113092854.91445-13-howard_wang@realsil.com.cn>
2024-11-13 9:33 ` |WARNING| pw148403 [PATCH v8 12/17] net/r8169: implement Tx path 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).