* |WARNING| pw134115 [PATCH v1 3/3] net/axgbe: support TSO Implementation
[not found] <20231111160006.455767-3-jesna.k.e@amd.com>
2023-11-11 15:41 ` |FAILURE| pw134113-134115 [PATCH v1 3/3] net/axgbe: support TSO Implementation qemudev
@ 2023-11-11 16:02 ` checkpatch
2023-11-11 16:59 ` |FAILURE| " 0-day Robot
2 siblings, 0 replies; 3+ messages in thread
From: checkpatch @ 2023-11-11 16:02 UTC (permalink / raw)
To: test-report; +Cc: Jesna K E
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/134115
_coding style issues_
WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one
ERROR:C99_COMMENTS: do not use C99 // comments
#131: FILE: drivers/net/axgbe/axgbe_common.h:165:
+//TSO
ERROR:C99_COMMENTS: do not use C99 // comments
#141: FILE: drivers/net/axgbe/axgbe_common.h:1238:
+//TSO
ERROR:CODE_INDENT: code indent should use tabs where possible
#163: FILE: drivers/net/axgbe/axgbe_dev.c:814:
+ unsigned int i;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#163: FILE: drivers/net/axgbe/axgbe_dev.c:814:
+ unsigned int i;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#165: FILE: drivers/net/axgbe/axgbe_dev.c:816:
+ struct axgbe_tx_queue *txq;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#165: FILE: drivers/net/axgbe/axgbe_dev.c:816:
+ struct axgbe_tx_queue *txq;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#167: FILE: drivers/net/axgbe/axgbe_dev.c:818:
+ for (i = 0; i < pdata->eth_dev->data->nb_tx_queues; i++) {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#167: FILE: drivers/net/axgbe/axgbe_dev.c:818:
+ for (i = 0; i < pdata->eth_dev->data->nb_tx_queues; i++) {$
ERROR:CODE_INDENT: code indent should use tabs where possible
#168: FILE: drivers/net/axgbe/axgbe_dev.c:819:
+ txq = pdata->eth_dev->data->tx_queues[i];$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#168: FILE: drivers/net/axgbe/axgbe_dev.c:819:
+ txq = pdata->eth_dev->data->tx_queues[i];$
ERROR:CODE_INDENT: code indent should use tabs where possible
#169: FILE: drivers/net/axgbe/axgbe_dev.c:820:
+ AXGMAC_DMA_IOWRITE_BITS(txq,DMA_CH_TCR, TSE,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#169: FILE: drivers/net/axgbe/axgbe_dev.c:820:
+ AXGMAC_DMA_IOWRITE_BITS(txq,DMA_CH_TCR, TSE,$
ERROR:SPACING: space required after that ',' (ctx:VxV)
#169: FILE: drivers/net/axgbe/axgbe_dev.c:820:
+ AXGMAC_DMA_IOWRITE_BITS(txq,DMA_CH_TCR, TSE,
^
ERROR:CODE_INDENT: code indent should use tabs where possible
#170: FILE: drivers/net/axgbe/axgbe_dev.c:821:
+ 1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#170: FILE: drivers/net/axgbe/axgbe_dev.c:821:
+ 1);$
ERROR:SPACING: space required after that ',' (ctx:VxV)
#171: FILE: drivers/net/axgbe/axgbe_dev.c:822:
+ AXGMAC_DMA_IOWRITE_BITS(txq,DMA_CH_CR, MSS,
^
ERROR:CODE_INDENT: code indent should use tabs where possible
#173: FILE: drivers/net/axgbe/axgbe_dev.c:824:
+ }$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#173: FILE: drivers/net/axgbe/axgbe_dev.c:824:
+ }$
CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#175: FILE: drivers/net/axgbe/axgbe_dev.c:826:
+
+}
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 15)
#221: FILE: drivers/net/axgbe/axgbe_rxtx.c:646:
+ if ((dev_data->dev_conf.txmode.offloads &
[...]
+ pdata->tso_tx = true;
ERROR:CODE_INDENT: code indent should use tabs where possible
#222: FILE: drivers/net/axgbe/axgbe_rxtx.c:647:
+ RTE_ETH_TX_OFFLOAD_TCP_TSO))$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#222: FILE: drivers/net/axgbe/axgbe_rxtx.c:647:
+ RTE_ETH_TX_OFFLOAD_TCP_TSO))$
ERROR:CODE_INDENT: code indent should use tabs where possible
#223: FILE: drivers/net/axgbe/axgbe_rxtx.c:648:
+ pdata->tso_tx = true;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#223: FILE: drivers/net/axgbe/axgbe_rxtx.c:648:
+ pdata->tso_tx = true;$
WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'axgbe_xmit_hw', this function's name, in a string
#233: FILE: drivers/net/axgbe/axgbe_rxtx.c:850:
+ printf("tso::Inside axgbe_xmit_hw
");
WARNING:QUOTED_WHITESPACE_BEFORE_NEWLINE: unnecessary whitespace before a quoted newline
#233: FILE: drivers/net/axgbe/axgbe_rxtx.c:850:
+ printf("tso::Inside axgbe_xmit_hw
");
ERROR:CODE_INDENT: code indent should use tabs where possible
#257: FILE: drivers/net/axgbe/axgbe_rxtx.c:913:
+ struct rte_mbuf *mbuf)$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#257: FILE: drivers/net/axgbe/axgbe_rxtx.c:913:
+ struct rte_mbuf *mbuf)$
ERROR:CODE_INDENT: code indent should use tabs where possible
#266: FILE: drivers/net/axgbe/axgbe_rxtx.c:915:
+ volatile struct axgbe_tx_desc *desc;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#266: FILE: drivers/net/axgbe/axgbe_rxtx.c:915:
+ volatile struct axgbe_tx_desc *desc;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#267: FILE: drivers/net/axgbe/axgbe_rxtx.c:916:
+ uint16_t idx;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#267: FILE: drivers/net/axgbe/axgbe_rxtx.c:916:
+ uint16_t idx;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#268: FILE: drivers/net/axgbe/axgbe_rxtx.c:917:
+ uint64_t mask;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#268: FILE: drivers/net/axgbe/axgbe_rxtx.c:917:
+ uint64_t mask;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#269: FILE: drivers/net/axgbe/axgbe_rxtx.c:918:
+ int start_index;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#269: FILE: drivers/net/axgbe/axgbe_rxtx.c:918:
+ int start_index;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#270: FILE: drivers/net/axgbe/axgbe_rxtx.c:919:
+ uint32_t pkt_len = 0;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#270: FILE: drivers/net/axgbe/axgbe_rxtx.c:919:
+ uint32_t pkt_len = 0;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#271: FILE: drivers/net/axgbe/axgbe_rxtx.c:920:
+ int nb_desc_free;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#271: FILE: drivers/net/axgbe/axgbe_rxtx.c:920:
+ int nb_desc_free;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#272: FILE: drivers/net/axgbe/axgbe_rxtx.c:921:
+ struct rte_mbuf *tx_pkt;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#272: FILE: drivers/net/axgbe/axgbe_rxtx.c:921:
+ struct rte_mbuf *tx_pkt;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#273: FILE: drivers/net/axgbe/axgbe_rxtx.c:922:
+ uint64_t l2_len = 0;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#273: FILE: drivers/net/axgbe/axgbe_rxtx.c:922:
+ uint64_t l2_len = 0;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#274: FILE: drivers/net/axgbe/axgbe_rxtx.c:923:
+ uint64_t l3_len = 0;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#274: FILE: drivers/net/axgbe/axgbe_rxtx.c:923:
+ uint64_t l3_len = 0;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#275: FILE: drivers/net/axgbe/axgbe_rxtx.c:924:
+ uint64_t l4_len = 0;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#275: FILE: drivers/net/axgbe/axgbe_rxtx.c:924:
+ uint64_t l4_len = 0;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#276: FILE: drivers/net/axgbe/axgbe_rxtx.c:925:
+ uint64_t tso_segsz = 0;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#276: FILE: drivers/net/axgbe/axgbe_rxtx.c:925:
+ uint64_t tso_segsz = 0;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#277: FILE: drivers/net/axgbe/axgbe_rxtx.c:926:
+ uint64_t total_hdr_len;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#277: FILE: drivers/net/axgbe/axgbe_rxtx.c:926:
+ uint64_t total_hdr_len;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#280: FILE: drivers/net/axgbe/axgbe_rxtx.c:929:
+ /*Parameters required for tso*/$
ERROR:CODE_INDENT: code indent should use tabs where possible
#281: FILE: drivers/net/axgbe/axgbe_rxtx.c:930:
+ l2_len = mbuf->l2_len;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#281: FILE: drivers/net/axgbe/axgbe_rxtx.c:930:
+ l2_len = mbuf->l2_len;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#282: FILE: drivers/net/axgbe/axgbe_rxtx.c:931:
+ l3_len = mbuf->l3_len;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#282: FILE: drivers/net/axgbe/axgbe_rxtx.c:931:
+ l3_len = mbuf->l3_len;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#283: FILE: drivers/net/axgbe/axgbe_rxtx.c:932:
+ l4_len = mbuf->l4_len;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#283: FILE: drivers/net/axgbe/axgbe_rxtx.c:932:
+ l4_len = mbuf->l4_len;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#284: FILE: drivers/net/axgbe/axgbe_rxtx.c:933:
+ tso_segsz = mbuf->tso_segsz;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#284: FILE: drivers/net/axgbe/axgbe_rxtx.c:933:
+ tso_segsz = mbuf->tso_segsz;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#285: FILE: drivers/net/axgbe/axgbe_rxtx.c:934:
+ total_hdr_len = l2_len + l3_len + l4_len;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#285: FILE: drivers/net/axgbe/axgbe_rxtx.c:934:
+ total_hdr_len = l2_len + l3_len + l4_len;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#287: FILE: drivers/net/axgbe/axgbe_rxtx.c:936:
+ if ((txq->pdata->tso_tx))$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#287: FILE: drivers/net/axgbe/axgbe_rxtx.c:936:
+ if ((txq->pdata->tso_tx))$
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'txq->pdata->tso_tx'
#287: FILE: drivers/net/axgbe/axgbe_rxtx.c:936:
+ if ((txq->pdata->tso_tx))
ERROR:CODE_INDENT: code indent should use tabs where possible
#288: FILE: drivers/net/axgbe/axgbe_rxtx.c:937:
+ tso = 1;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#288: FILE: drivers/net/axgbe/axgbe_rxtx.c:937:
+ tso = 1;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#289: FILE: drivers/net/axgbe/axgbe_rxtx.c:938:
+ else$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#289: FILE: drivers/net/axgbe/axgbe_rxtx.c:938:
+ else$
ERROR:CODE_INDENT: code indent should use tabs where possible
#290: FILE: drivers/net/axgbe/axgbe_rxtx.c:939:
+ tso = 0;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#290: FILE: drivers/net/axgbe/axgbe_rxtx.c:939:
+ tso = 0;$
WARNING:LONG_LINE: line length of 110 exceeds 100 columns
#292: FILE: drivers/net/axgbe/axgbe_rxtx.c:941:
+ printf("tso:l2_len = %ld,l3_len=%ld,l4_len=%ld,tso_segsz=%ld,total_hdr_len%ld
",l2_len,l3_len,l4_len,
ERROR:CODE_INDENT: code indent should use tabs where possible
#292: FILE: drivers/net/axgbe/axgbe_rxtx.c:941:
+ printf("tso:l2_len = %ld,l3_len=%ld,l4_len=%ld,tso_segsz=%ld,total_hdr_len%ld
",l2_len,l3_len,l4_len,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#292: FILE: drivers/net/axgbe/axgbe_rxtx.c:941:
+ printf("tso:l2_len = %ld,l3_len=%ld,l4_len=%ld,tso_segsz=%ld,total_hdr_len%ld
",l2_len,l3_len,l4_len,$
ERROR:SPACING: space required after that ',' (ctx:VxV)
#292: FILE: drivers/net/axgbe/axgbe_rxtx.c:941:
+ printf("tso:l2_len = %ld,l3_len=%ld,l4_len=%ld,tso_segsz=%ld,total_hdr_len%ld
",l2_len,l3_len,l4_len,
^
ERROR:SPACING: space required after that ',' (ctx:VxV)
#292: FILE: drivers/net/axgbe/axgbe_rxtx.c:941:
+ printf("tso:l2_len = %ld,l3_len=%ld,l4_len=%ld,tso_segsz=%ld,total_hdr_len%ld
",l2_len,l3_len,l4_len,
^
ERROR:SPACING: space required after that ',' (ctx:VxV)
#292: FILE: drivers/net/axgbe/axgbe_rxtx.c:941:
+ printf("tso:l2_len = %ld,l3_len=%ld,l4_len=%ld,tso_segsz=%ld,total_hdr_len%ld
",l2_len,l3_len,l4_len,
^
ERROR:CODE_INDENT: code indent should use tabs where possible
#293: FILE: drivers/net/axgbe/axgbe_rxtx.c:942:
+ tso_segsz,total_hdr_len);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#293: FILE: drivers/net/axgbe/axgbe_rxtx.c:942:
+ tso_segsz,total_hdr_len);$
ERROR:SPACING: space required after that ',' (ctx:VxV)
#293: FILE: drivers/net/axgbe/axgbe_rxtx.c:942:
+ tso_segsz,total_hdr_len);
^
ERROR:CODE_INDENT: code indent should use tabs where possible
#295: FILE: drivers/net/axgbe/axgbe_rxtx.c:944:
+ nb_desc_free = txq->nb_desc - (txq->cur - txq->dirty);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#295: FILE: drivers/net/axgbe/axgbe_rxtx.c:944:
+ nb_desc_free = txq->nb_desc - (txq->cur - txq->dirty);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#297: FILE: drivers/net/axgbe/axgbe_rxtx.c:946:
+ printf("tso::Inside axgbe_xmit_hw_seg
");$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#297: FILE: drivers/net/axgbe/axgbe_rxtx.c:946:
+ printf("tso::Inside axgbe_xmit_hw_seg
");$
WARNING:QUOTED_WHITESPACE_BEFORE_NEWLINE: unnecessary whitespace before a quoted newline
#297: FILE: drivers/net/axgbe/axgbe_rxtx.c:946:
+ printf("tso::Inside axgbe_xmit_hw_seg
");
ERROR:CODE_INDENT: code indent should use tabs where possible
#298: FILE: drivers/net/axgbe/axgbe_rxtx.c:947:
+ if (mbuf->nb_segs > nb_desc_free) {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#298: FILE: drivers/net/axgbe/axgbe_rxtx.c:947:
+ if (mbuf->nb_segs > nb_desc_free) {$
ERROR:CODE_INDENT: code indent should use tabs where possible
#299: FILE: drivers/net/axgbe/axgbe_rxtx.c:948:
+ axgbe_xmit_cleanup_seg(txq);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#299: FILE: drivers/net/axgbe/axgbe_rxtx.c:948:
+ axgbe_xmit_cleanup_seg(txq);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#300: FILE: drivers/net/axgbe/axgbe_rxtx.c:949:
+ nb_desc_free = txq->nb_desc - (txq->cur - txq->dirty);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#300: FILE: drivers/net/axgbe/axgbe_rxtx.c:949:
+ nb_desc_free = txq->nb_desc - (txq->cur - txq->dirty);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#301: FILE: drivers/net/axgbe/axgbe_rxtx.c:950:
+ if (unlikely(mbuf->nb_segs > nb_desc_free))$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#301: FILE: drivers/net/axgbe/axgbe_rxtx.c:950:
+ if (unlikely(mbuf->nb_segs > nb_desc_free))$
ERROR:CODE_INDENT: code indent should use tabs where possible
#302: FILE: drivers/net/axgbe/axgbe_rxtx.c:951:
+ return RTE_ETH_TX_DESC_UNAVAIL;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#302: FILE: drivers/net/axgbe/axgbe_rxtx.c:951:
+ return RTE_ETH_TX_DESC_UNAVAIL;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#303: FILE: drivers/net/axgbe/axgbe_rxtx.c:952:
+ }$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#303: FILE: drivers/net/axgbe/axgbe_rxtx.c:952:
+ }$
ERROR:CODE_INDENT: code indent should use tabs where possible
#305: FILE: drivers/net/axgbe/axgbe_rxtx.c:954:
+ idx = AXGBE_GET_DESC_IDX(txq, txq->cur);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#305: FILE: drivers/net/axgbe/axgbe_rxtx.c:954:
+ idx = AXGBE_GET_DESC_IDX(txq, txq->cur);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#306: FILE: drivers/net/axgbe/axgbe_rxtx.c:955:
+ desc = &txq->desc[idx];$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#306: FILE: drivers/net/axgbe/axgbe_rxtx.c:955:
+ desc = &txq->desc[idx];$
ERROR:CODE_INDENT: code indent should use tabs where possible
#307: FILE: drivers/net/axgbe/axgbe_rxtx.c:956:
+ /* Saving the start index for setting the OWN bit finally */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#308: FILE: drivers/net/axgbe/axgbe_rxtx.c:957:
+ start_index = idx;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#308: FILE: drivers/net/axgbe/axgbe_rxtx.c:957:
+ start_index = idx;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#310: FILE: drivers/net/axgbe/axgbe_rxtx.c:959:
+ /* Max_pkt len = 9018 ; need to update it according to Jumbo pkt size */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#311: FILE: drivers/net/axgbe/axgbe_rxtx.c:960:
+ pkt_len = tx_pkt->pkt_len;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#311: FILE: drivers/net/axgbe/axgbe_rxtx.c:960:
+ pkt_len = tx_pkt->pkt_len;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#314: FILE: drivers/net/axgbe/axgbe_rxtx.c:962:
+ /* Update buffer address and length */$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#315: FILE: drivers/net/axgbe/axgbe_rxtx.c:963:
+ desc->baddr = rte_pktmbuf_iova_offset(mbuf,0);$
ERROR:SPACING: space required after that ',' (ctx:VxV)
#315: FILE: drivers/net/axgbe/axgbe_rxtx.c:963:
+ desc->baddr = rte_pktmbuf_iova_offset(mbuf,0);
^
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#317: FILE: drivers/net/axgbe/axgbe_rxtx.c:965:
+ if (tso)$
ERROR:CODE_INDENT: code indent should use tabs where possible
#319: FILE: drivers/net/axgbe/axgbe_rxtx.c:967:
+ total_hdr_len);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#319: FILE: drivers/net/axgbe/axgbe_rxtx.c:967:
+ total_hdr_len);$
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 8)
#320: FILE: drivers/net/axgbe/axgbe_rxtx.c:968:
+ else
+ AXGMAC_SET_BITS_LE(desc->desc2, TX_NORMAL_DESC2, HL_B1L,
ERROR:CODE_INDENT: code indent should use tabs where possible
#321: FILE: drivers/net/axgbe/axgbe_rxtx.c:969:
+ AXGMAC_SET_BITS_LE(desc->desc2, TX_NORMAL_DESC2, HL_B1L,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#321: FILE: drivers/net/axgbe/axgbe_rxtx.c:969:
+ AXGMAC_SET_BITS_LE(desc->desc2, TX_NORMAL_DESC2, HL_B1L,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#322: FILE: drivers/net/axgbe/axgbe_rxtx.c:970:
+ tx_pkt->data_len);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#322: FILE: drivers/net/axgbe/axgbe_rxtx.c:970:
+ tx_pkt->data_len);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#333: FILE: drivers/net/axgbe/axgbe_rxtx.c:975:
+ if (mbuf->ol_flags & RTE_MBUF_F_TX_IEEE1588_TMST)$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#333: FILE: drivers/net/axgbe/axgbe_rxtx.c:975:
+ if (mbuf->ol_flags & RTE_MBUF_F_TX_IEEE1588_TMST)$
ERROR:CODE_INDENT: code indent should use tabs where possible
#334: FILE: drivers/net/axgbe/axgbe_rxtx.c:976:
+ AXGMAC_SET_BITS_LE(desc->desc2, TX_NORMAL_DESC2, TTSE, 1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#334: FILE: drivers/net/axgbe/axgbe_rxtx.c:976:
+ AXGMAC_SET_BITS_LE(desc->desc2, TX_NORMAL_DESC2, TTSE, 1);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#336: FILE: drivers/net/axgbe/axgbe_rxtx.c:978:
+ rte_wmb();$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#336: FILE: drivers/net/axgbe/axgbe_rxtx.c:978:
+ rte_wmb();$
ERROR:CODE_INDENT: code indent should use tabs where possible
#337: FILE: drivers/net/axgbe/axgbe_rxtx.c:979:
+ /* Mark it as First Descriptor */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#338: FILE: drivers/net/axgbe/axgbe_rxtx.c:980:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, FD, 1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#338: FILE: drivers/net/axgbe/axgbe_rxtx.c:980:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, FD, 1);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#339: FILE: drivers/net/axgbe/axgbe_rxtx.c:981:
+ /* Mark it as a NORMAL descriptor */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#340: FILE: drivers/net/axgbe/axgbe_rxtx.c:982:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, CTXT, 0);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#340: FILE: drivers/net/axgbe/axgbe_rxtx.c:982:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, CTXT, 0);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#341: FILE: drivers/net/axgbe/axgbe_rxtx.c:983:
+ /* configure h/w Offload */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#342: FILE: drivers/net/axgbe/axgbe_rxtx.c:984:
+ mask = mbuf->ol_flags & RTE_MBUF_F_TX_L4_MASK;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#342: FILE: drivers/net/axgbe/axgbe_rxtx.c:984:
+ mask = mbuf->ol_flags & RTE_MBUF_F_TX_L4_MASK;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#343: FILE: drivers/net/axgbe/axgbe_rxtx.c:985:
+ if (mask == RTE_MBUF_F_TX_TCP_CKSUM || mask == RTE_MBUF_F_TX_UDP_CKSUM)$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#343: FILE: drivers/net/axgbe/axgbe_rxtx.c:985:
+ if (mask == RTE_MBUF_F_TX_TCP_CKSUM || mask == RTE_MBUF_F_TX_UDP_CKSUM)$
ERROR:CODE_INDENT: code indent should use tabs where possible
#344: FILE: drivers/net/axgbe/axgbe_rxtx.c:986:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, CIC, 0x3);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#344: FILE: drivers/net/axgbe/axgbe_rxtx.c:986:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, CIC, 0x3);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#345: FILE: drivers/net/axgbe/axgbe_rxtx.c:987:
+ else if (mbuf->ol_flags & RTE_MBUF_F_TX_IP_CKSUM)$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#345: FILE: drivers/net/axgbe/axgbe_rxtx.c:987:
+ else if (mbuf->ol_flags & RTE_MBUF_F_TX_IP_CKSUM)$
ERROR:CODE_INDENT: code indent should use tabs where possible
#346: FILE: drivers/net/axgbe/axgbe_rxtx.c:988:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, CIC, 0x1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#346: FILE: drivers/net/axgbe/axgbe_rxtx.c:988:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, CIC, 0x1);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#347: FILE: drivers/net/axgbe/axgbe_rxtx.c:989:
+ rte_wmb();$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#347: FILE: drivers/net/axgbe/axgbe_rxtx.c:989:
+ rte_wmb();$
ERROR:CODE_INDENT: code indent should use tabs where possible
#349: FILE: drivers/net/axgbe/axgbe_rxtx.c:991:
+ if (mbuf->ol_flags & (RTE_MBUF_F_TX_VLAN | RTE_MBUF_F_TX_QINQ)) {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#349: FILE: drivers/net/axgbe/axgbe_rxtx.c:991:
+ if (mbuf->ol_flags & (RTE_MBUF_F_TX_VLAN | RTE_MBUF_F_TX_QINQ)) {$
ERROR:CODE_INDENT: code indent should use tabs where possible
#350: FILE: drivers/net/axgbe/axgbe_rxtx.c:992:
+ /* Mark it as a CONTEXT descriptor */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#351: FILE: drivers/net/axgbe/axgbe_rxtx.c:993:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_CONTEXT_DESC3,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#351: FILE: drivers/net/axgbe/axgbe_rxtx.c:993:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_CONTEXT_DESC3,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#352: FILE: drivers/net/axgbe/axgbe_rxtx.c:994:
+ CTXT, 1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#352: FILE: drivers/net/axgbe/axgbe_rxtx.c:994:
+ CTXT, 1);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#353: FILE: drivers/net/axgbe/axgbe_rxtx.c:995:
+ /* Set the VLAN tag */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#354: FILE: drivers/net/axgbe/axgbe_rxtx.c:996:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_CONTEXT_DESC3,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#354: FILE: drivers/net/axgbe/axgbe_rxtx.c:996:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_CONTEXT_DESC3,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#355: FILE: drivers/net/axgbe/axgbe_rxtx.c:997:
+ VT, mbuf->vlan_tci);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#355: FILE: drivers/net/axgbe/axgbe_rxtx.c:997:
+ VT, mbuf->vlan_tci);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#356: FILE: drivers/net/axgbe/axgbe_rxtx.c:998:
+ /* Indicate this descriptor contains the VLAN tag */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#357: FILE: drivers/net/axgbe/axgbe_rxtx.c:999:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_CONTEXT_DESC3,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#357: FILE: drivers/net/axgbe/axgbe_rxtx.c:999:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_CONTEXT_DESC3,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#358: FILE: drivers/net/axgbe/axgbe_rxtx.c:1000:
+ VLTV, 1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#358: FILE: drivers/net/axgbe/axgbe_rxtx.c:1000:
+ VLTV, 1);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#359: FILE: drivers/net/axgbe/axgbe_rxtx.c:1001:
+ AXGMAC_SET_BITS_LE(desc->desc2, TX_NORMAL_DESC2, VTIR,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#359: FILE: drivers/net/axgbe/axgbe_rxtx.c:1001:
+ AXGMAC_SET_BITS_LE(desc->desc2, TX_NORMAL_DESC2, VTIR,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#360: FILE: drivers/net/axgbe/axgbe_rxtx.c:1002:
+ TX_NORMAL_DESC2_VLAN_INSERT);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#360: FILE: drivers/net/axgbe/axgbe_rxtx.c:1002:
+ TX_NORMAL_DESC2_VLAN_INSERT);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#361: FILE: drivers/net/axgbe/axgbe_rxtx.c:1003:
+ } else {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#361: FILE: drivers/net/axgbe/axgbe_rxtx.c:1003:
+ } else {$
ERROR:CODE_INDENT: code indent should use tabs where possible
#362: FILE: drivers/net/axgbe/axgbe_rxtx.c:1004:
+ AXGMAC_SET_BITS_LE(desc->desc2, TX_NORMAL_DESC2, VTIR, 0x0);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#362: FILE: drivers/net/axgbe/axgbe_rxtx.c:1004:
+ AXGMAC_SET_BITS_LE(desc->desc2, TX_NORMAL_DESC2, VTIR, 0x0);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#363: FILE: drivers/net/axgbe/axgbe_rxtx.c:1005:
+ }$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#363: FILE: drivers/net/axgbe/axgbe_rxtx.c:1005:
+ }$
ERROR:CODE_INDENT: code indent should use tabs where possible
#364: FILE: drivers/net/axgbe/axgbe_rxtx.c:1006:
+ rte_wmb();$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#364: FILE: drivers/net/axgbe/axgbe_rxtx.c:1006:
+ rte_wmb();$
ERROR:CODE_INDENT: code indent should use tabs where possible
#367: FILE: drivers/net/axgbe/axgbe_rxtx.c:1009:
+ if (tso) {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#367: FILE: drivers/net/axgbe/axgbe_rxtx.c:1009:
+ if (tso) {$
ERROR:CODE_INDENT: code indent should use tabs where possible
#368: FILE: drivers/net/axgbe/axgbe_rxtx.c:1010:
+ printf("Inside register setting-tso
");$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#368: FILE: drivers/net/axgbe/axgbe_rxtx.c:1010:
+ printf("Inside register setting-tso
");$
ERROR:CODE_INDENT: code indent should use tabs where possible
#369: FILE: drivers/net/axgbe/axgbe_rxtx.c:1011:
+ /* Enable TSO */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#370: FILE: drivers/net/axgbe/axgbe_rxtx.c:1012:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, TSE,1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#370: FILE: drivers/net/axgbe/axgbe_rxtx.c:1012:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, TSE,1);$
ERROR:SPACING: space required after that ',' (ctx:VxV)
#370: FILE: drivers/net/axgbe/axgbe_rxtx.c:1012:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, TSE,1);
^
ERROR:CODE_INDENT: code indent should use tabs where possible
#371: FILE: drivers/net/axgbe/axgbe_rxtx.c:1013:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, TPL,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#371: FILE: drivers/net/axgbe/axgbe_rxtx.c:1013:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, TPL,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#372: FILE: drivers/net/axgbe/axgbe_rxtx.c:1014:
+ ((mbuf->pkt_len)-total_hdr_len));$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#372: FILE: drivers/net/axgbe/axgbe_rxtx.c:1014:
+ ((mbuf->pkt_len)-total_hdr_len));$
CHECK:SPACING: spaces preferred around that '-' (ctx:VxV)
#372: FILE: drivers/net/axgbe/axgbe_rxtx.c:1014:
+ ((mbuf->pkt_len)-total_hdr_len));
^
ERROR:CODE_INDENT: code indent should use tabs where possible
#373: FILE: drivers/net/axgbe/axgbe_rxtx.c:1015:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, THL,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#373: FILE: drivers/net/axgbe/axgbe_rxtx.c:1015:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, THL,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#374: FILE: drivers/net/axgbe/axgbe_rxtx.c:1016:
+ l4_len);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#374: FILE: drivers/net/axgbe/axgbe_rxtx.c:1016:
+ l4_len);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#375: FILE: drivers/net/axgbe/axgbe_rxtx.c:1017:
+ } else {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#375: FILE: drivers/net/axgbe/axgbe_rxtx.c:1017:
+ } else {$
ERROR:CODE_INDENT: code indent should use tabs where possible
#376: FILE: drivers/net/axgbe/axgbe_rxtx.c:1018:
+ /* Enable CRC and Pad Insertion */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#377: FILE: drivers/net/axgbe/axgbe_rxtx.c:1019:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, CPC, 0);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#377: FILE: drivers/net/axgbe/axgbe_rxtx.c:1019:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, CPC, 0);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#378: FILE: drivers/net/axgbe/axgbe_rxtx.c:1020:
+ /* Total msg length to transmit */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#379: FILE: drivers/net/axgbe/axgbe_rxtx.c:1021:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, FL,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#379: FILE: drivers/net/axgbe/axgbe_rxtx.c:1021:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, FL,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#380: FILE: drivers/net/axgbe/axgbe_rxtx.c:1022:
+ mbuf->pkt_len);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#380: FILE: drivers/net/axgbe/axgbe_rxtx.c:1022:
+ mbuf->pkt_len);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#381: FILE: drivers/net/axgbe/axgbe_rxtx.c:1023:
+ }$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#381: FILE: drivers/net/axgbe/axgbe_rxtx.c:1023:
+ }$
WARNING:IF_0: Consider removing the code enclosed by this #if 0 and its #endif
#382: FILE: drivers/net/axgbe/axgbe_rxtx.c:1024:
+#if 0
WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#386: FILE: drivers/net/axgbe/axgbe_rxtx.c:1028:
+ * transmitted */
ERROR:CODE_INDENT: code indent should use tabs where possible
#388: FILE: drivers/net/axgbe/axgbe_rxtx.c:1030:
+ txq->sw_ring[idx] = tx_pkt;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#388: FILE: drivers/net/axgbe/axgbe_rxtx.c:1030:
+ txq->sw_ring[idx] = tx_pkt;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#389: FILE: drivers/net/axgbe/axgbe_rxtx.c:1031:
+ /* Update current index*/$
ERROR:CODE_INDENT: code indent should use tabs where possible
#390: FILE: drivers/net/axgbe/axgbe_rxtx.c:1032:
+ txq->cur++;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#390: FILE: drivers/net/axgbe/axgbe_rxtx.c:1032:
+ txq->cur++;$
ERROR:SPACING: space required after that ',' (ctx:VxV)
#395: FILE: drivers/net/axgbe/axgbe_rxtx.c:1035:
+ desc->baddr = rte_pktmbuf_iova_offset(mbuf,total_hdr_len);
^
CHECK:SPACING: spaces preferred around that '-' (ctx:VxV)
#397: FILE: drivers/net/axgbe/axgbe_rxtx.c:1037:
+ TX_NORMAL_DESC2, HL_B1L, (mbuf->pkt_len)-total_hdr_len));
^
ERROR:SPACING: space required after that ',' (ctx:VxV)
#402: FILE: drivers/net/axgbe/axgbe_rxtx.c:1039:
+ printf("(mbuf->pkt_len)-total_hdr_len=%d
",(mbuf->pkt_len)-total_hdr_len);
^
CHECK:SPACING: spaces preferred around that '-' (ctx:VxV)
#402: FILE: drivers/net/axgbe/axgbe_rxtx.c:1039:
+ printf("(mbuf->pkt_len)-total_hdr_len=%d
",(mbuf->pkt_len)-total_hdr_len);
^
ERROR:CODE_INDENT: code indent should use tabs where possible
#403: FILE: drivers/net/axgbe/axgbe_rxtx.c:1040:
+ printf("total_hdr_len=%d
",total_hdr_len);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#403: FILE: drivers/net/axgbe/axgbe_rxtx.c:1040:
+ printf("total_hdr_len=%d
",total_hdr_len);$
ERROR:SPACING: space required after that ',' (ctx:VxV)
#403: FILE: drivers/net/axgbe/axgbe_rxtx.c:1040:
+ printf("total_hdr_len=%d
",total_hdr_len);
^
WARNING:IF_1: Consider removing the #if 1 and its #endif
#454: FILE: drivers/net/axgbe/axgbe_rxtx.c:1047:
+#if 1
ERROR:CODE_INDENT: code indent should use tabs where possible
#455: FILE: drivers/net/axgbe/axgbe_rxtx.c:1048:
+ /* Save mbuf */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#456: FILE: drivers/net/axgbe/axgbe_rxtx.c:1049:
+ txq->sw_ring[idx] = tx_pkt;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#456: FILE: drivers/net/axgbe/axgbe_rxtx.c:1049:
+ txq->sw_ring[idx] = tx_pkt;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#457: FILE: drivers/net/axgbe/axgbe_rxtx.c:1050:
+ /* Update current index*/$
ERROR:CODE_INDENT: code indent should use tabs where possible
#458: FILE: drivers/net/axgbe/axgbe_rxtx.c:1051:
+ txq->cur++;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#458: FILE: drivers/net/axgbe/axgbe_rxtx.c:1051:
+ txq->cur++;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#460: FILE: drivers/net/axgbe/axgbe_rxtx.c:1053:
+ tx_pkt = tx_pkt->next;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#460: FILE: drivers/net/axgbe/axgbe_rxtx.c:1053:
+ tx_pkt = tx_pkt->next;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#512: FILE: drivers/net/axgbe/axgbe_rxtx.c:1056:
+ idx = AXGBE_GET_DESC_IDX(txq, txq->cur);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#512: FILE: drivers/net/axgbe/axgbe_rxtx.c:1056:
+ idx = AXGBE_GET_DESC_IDX(txq, txq->cur);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#513: FILE: drivers/net/axgbe/axgbe_rxtx.c:1057:
+ desc = &txq->desc[idx];$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#513: FILE: drivers/net/axgbe/axgbe_rxtx.c:1057:
+ desc = &txq->desc[idx];$
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 16)
#515: FILE: drivers/net/axgbe/axgbe_rxtx.c:1059:
+ if (tso)
+ desc->baddr = rte_pktmbuf_iova_offset(mbuf,total_hdr_len);
ERROR:SPACING: space required after that ',' (ctx:VxV)
#516: FILE: drivers/net/axgbe/axgbe_rxtx.c:1060:
+ desc->baddr = rte_pktmbuf_iova_offset(mbuf,total_hdr_len);
^
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 16)
#517: FILE: drivers/net/axgbe/axgbe_rxtx.c:1061:
+ else
[...]
+ desc->baddr = rte_mbuf_data_iova(tx_pkt);
ERROR:CODE_INDENT: code indent should use tabs where possible
#518: FILE: drivers/net/axgbe/axgbe_rxtx.c:1062:
+ /* Update buffer address and length */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#519: FILE: drivers/net/axgbe/axgbe_rxtx.c:1063:
+ desc->baddr = rte_mbuf_data_iova(tx_pkt);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#519: FILE: drivers/net/axgbe/axgbe_rxtx.c:1063:
+ desc->baddr = rte_mbuf_data_iova(tx_pkt);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#521: FILE: drivers/net/axgbe/axgbe_rxtx.c:1065:
+ AXGMAC_SET_BITS_LE(desc->desc2,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#521: FILE: drivers/net/axgbe/axgbe_rxtx.c:1065:
+ AXGMAC_SET_BITS_LE(desc->desc2,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#522: FILE: drivers/net/axgbe/axgbe_rxtx.c:1066:
+ TX_NORMAL_DESC2, HL_B1L, tx_pkt->data_len);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#522: FILE: drivers/net/axgbe/axgbe_rxtx.c:1066:
+ TX_NORMAL_DESC2, HL_B1L, tx_pkt->data_len);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#524: FILE: drivers/net/axgbe/axgbe_rxtx.c:1068:
+ rte_wmb();$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#524: FILE: drivers/net/axgbe/axgbe_rxtx.c:1068:
+ rte_wmb();$
ERROR:CODE_INDENT: code indent should use tabs where possible
#526: FILE: drivers/net/axgbe/axgbe_rxtx.c:1070:
+ /* Mark it as a NORMAL descriptor */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#527: FILE: drivers/net/axgbe/axgbe_rxtx.c:1071:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, CTXT, 0);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#527: FILE: drivers/net/axgbe/axgbe_rxtx.c:1071:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, CTXT, 0);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#528: FILE: drivers/net/axgbe/axgbe_rxtx.c:1072:
+ /* configure h/w Offload */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#529: FILE: drivers/net/axgbe/axgbe_rxtx.c:1073:
+ mask = mbuf->ol_flags & RTE_MBUF_F_TX_L4_MASK;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#529: FILE: drivers/net/axgbe/axgbe_rxtx.c:1073:
+ mask = mbuf->ol_flags & RTE_MBUF_F_TX_L4_MASK;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#530: FILE: drivers/net/axgbe/axgbe_rxtx.c:1074:
+ if (mask == RTE_MBUF_F_TX_TCP_CKSUM ||$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#530: FILE: drivers/net/axgbe/axgbe_rxtx.c:1074:
+ if (mask == RTE_MBUF_F_TX_TCP_CKSUM ||$
ERROR:CODE_INDENT: code indent should use tabs where possible
#531: FILE: drivers/net/axgbe/axgbe_rxtx.c:1075:
+ mask == RTE_MBUF_F_TX_UDP_CKSUM)$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#531: FILE: drivers/net/axgbe/axgbe_rxtx.c:1075:
+ mask == RTE_MBUF_F_TX_UDP_CKSUM)$
ERROR:CODE_INDENT: code indent should use tabs where possible
#532: FILE: drivers/net/axgbe/axgbe_rxtx.c:1076:
+ AXGMAC_SET_BITS_LE(desc->desc3,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#532: FILE: drivers/net/axgbe/axgbe_rxtx.c:1076:
+ AXGMAC_SET_BITS_LE(desc->desc3,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#533: FILE: drivers/net/axgbe/axgbe_rxtx.c:1077:
+ TX_NORMAL_DESC3, CIC, 0x3);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#533: FILE: drivers/net/axgbe/axgbe_rxtx.c:1077:
+ TX_NORMAL_DESC3, CIC, 0x3);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#534: FILE: drivers/net/axgbe/axgbe_rxtx.c:1078:
+ else if (mbuf->ol_flags & RTE_MBUF_F_TX_IP_CKSUM)$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#534: FILE: drivers/net/axgbe/axgbe_rxtx.c:1078:
+ else if (mbuf->ol_flags & RTE_MBUF_F_TX_IP_CKSUM)$
ERROR:CODE_INDENT: code indent should use tabs where possible
#535: FILE: drivers/net/axgbe/axgbe_rxtx.c:1079:
+ AXGMAC_SET_BITS_LE(desc->desc3,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#535: FILE: drivers/net/axgbe/axgbe_rxtx.c:1079:
+ AXGMAC_SET_BITS_LE(desc->desc3,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#536: FILE: drivers/net/axgbe/axgbe_rxtx.c:1080:
+ TX_NORMAL_DESC3, CIC, 0x1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#536: FILE: drivers/net/axgbe/axgbe_rxtx.c:1080:
+ TX_NORMAL_DESC3, CIC, 0x1);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#538: FILE: drivers/net/axgbe/axgbe_rxtx.c:1082:
+ rte_wmb();$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#538: FILE: drivers/net/axgbe/axgbe_rxtx.c:1082:
+ rte_wmb();$
ERROR:CODE_INDENT: code indent should use tabs where possible
#540: FILE: drivers/net/axgbe/axgbe_rxtx.c:1084:
+ /* Set OWN bit */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#541: FILE: drivers/net/axgbe/axgbe_rxtx.c:1085:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, OWN, 1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#541: FILE: drivers/net/axgbe/axgbe_rxtx.c:1085:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, OWN, 1);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#542: FILE: drivers/net/axgbe/axgbe_rxtx.c:1086:
+ rte_wmb();$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#542: FILE: drivers/net/axgbe/axgbe_rxtx.c:1086:
+ rte_wmb();$
ERROR:CODE_INDENT: code indent should use tabs where possible
#544: FILE: drivers/net/axgbe/axgbe_rxtx.c:1088:
+ /* Save mbuf */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#545: FILE: drivers/net/axgbe/axgbe_rxtx.c:1089:
+ txq->sw_ring[idx] = tx_pkt;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#545: FILE: drivers/net/axgbe/axgbe_rxtx.c:1089:
+ txq->sw_ring[idx] = tx_pkt;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#546: FILE: drivers/net/axgbe/axgbe_rxtx.c:1090:
+ /* Update current index*/$
ERROR:CODE_INDENT: code indent should use tabs where possible
#547: FILE: drivers/net/axgbe/axgbe_rxtx.c:1091:
+ txq->cur++;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#547: FILE: drivers/net/axgbe/axgbe_rxtx.c:1091:
+ txq->cur++;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#549: FILE: drivers/net/axgbe/axgbe_rxtx.c:1093:
+ tx_pkt = tx_pkt->next;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#549: FILE: drivers/net/axgbe/axgbe_rxtx.c:1093:
+ tx_pkt = tx_pkt->next;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#550: FILE: drivers/net/axgbe/axgbe_rxtx.c:1094:
+ }$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#550: FILE: drivers/net/axgbe/axgbe_rxtx.c:1094:
+ }$
ERROR:CODE_INDENT: code indent should use tabs where possible
#552: FILE: drivers/net/axgbe/axgbe_rxtx.c:1096:
+ /* Set LD bit for the last descriptor */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#553: FILE: drivers/net/axgbe/axgbe_rxtx.c:1097:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, LD, 1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#553: FILE: drivers/net/axgbe/axgbe_rxtx.c:1097:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, LD, 1);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#554: FILE: drivers/net/axgbe/axgbe_rxtx.c:1098:
+ rte_wmb();$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#554: FILE: drivers/net/axgbe/axgbe_rxtx.c:1098:
+ rte_wmb();$
ERROR:SPACING: space required after that ',' (ctx:VxV)
#556: FILE: drivers/net/axgbe/axgbe_rxtx.c:1100:
+ printf("tso:: pkt_len = %d
",pkt_len);
^
ERROR:CODE_INDENT: code indent should use tabs where possible
#557: FILE: drivers/net/axgbe/axgbe_rxtx.c:1101:
+ /* Update stats */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#558: FILE: drivers/net/axgbe/axgbe_rxtx.c:1102:
+ txq->bytes += pkt_len;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#558: FILE: drivers/net/axgbe/axgbe_rxtx.c:1102:
+ txq->bytes += pkt_len;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#560: FILE: drivers/net/axgbe/axgbe_rxtx.c:1104:
+ /* Set OWN bit for the first descriptor */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#561: FILE: drivers/net/axgbe/axgbe_rxtx.c:1105:
+ desc = &txq->desc[start_index];$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#561: FILE: drivers/net/axgbe/axgbe_rxtx.c:1105:
+ desc = &txq->desc[start_index];$
ERROR:CODE_INDENT: code indent should use tabs where possible
#562: FILE: drivers/net/axgbe/axgbe_rxtx.c:1106:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, OWN, 1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#562: FILE: drivers/net/axgbe/axgbe_rxtx.c:1106:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, OWN, 1);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#563: FILE: drivers/net/axgbe/axgbe_rxtx.c:1107:
+ rte_wmb();$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#563: FILE: drivers/net/axgbe/axgbe_rxtx.c:1107:
+ rte_wmb();$
WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'axgbe_xmit_pkts_vec', this function's name, in a string
#584: FILE: drivers/net/axgbe/axgbe_rxtx_vec_sse.c:68:
+ printf("jesna::Inside axgbe_xmit_pkts_vec
");
WARNING:QUOTED_WHITESPACE_BEFORE_NEWLINE: unnecessary whitespace before a quoted newline
#584: FILE: drivers/net/axgbe/axgbe_rxtx_vec_sse.c:68:
+ printf("jesna::Inside axgbe_xmit_pkts_vec
");
total: 158 errors, 134 warnings, 5 checks, 429 lines checked
Warning in drivers/net/axgbe/axgbe_rxtx.c:
Using %l format, prefer %PRI*64 if type is [u]int64_t
^ permalink raw reply [flat|nested] 3+ messages in thread