* |WARNING| pw134411 [PATCH v2] net/axgbe: support TSO
[not found] <20231116094446.62248-1-jesna.k.e@amd.com>
2023-11-16 9:25 ` |FAILURE| pw134411 [PATCH v2] net/axgbe: support TSO qemudev
@ 2023-11-16 9:45 ` checkpatch
2023-11-16 10:19 ` |FAILURE| " 0-day Robot
2 siblings, 0 replies; 3+ messages in thread
From: checkpatch @ 2023-11-16 9:45 UTC (permalink / raw)
To: test-report; +Cc: Jesna K E
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/134411
_coding style issues_
WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'axgbe_xmit_hw', this function's name, in a string
#252: FILE: drivers/net/axgbe/axgbe_rxtx.c:833:
+ PMD_DRV_LOG(DEBUG, "tso:Inside axgbe_xmit_hw
");
ERROR:CODE_INDENT: code indent should use tabs where possible
#298: FILE: drivers/net/axgbe/axgbe_rxtx.c:899:
+ volatile struct axgbe_tx_desc *desc;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#298: FILE: drivers/net/axgbe/axgbe_rxtx.c:899:
+ volatile struct axgbe_tx_desc *desc;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#299: FILE: drivers/net/axgbe/axgbe_rxtx.c:900:
+ uint16_t idx;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#299: FILE: drivers/net/axgbe/axgbe_rxtx.c:900:
+ uint16_t idx;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#300: FILE: drivers/net/axgbe/axgbe_rxtx.c:901:
+ uint64_t mask;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#300: FILE: drivers/net/axgbe/axgbe_rxtx.c:901:
+ uint64_t mask;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#301: FILE: drivers/net/axgbe/axgbe_rxtx.c:902:
+ int start_index;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#301: FILE: drivers/net/axgbe/axgbe_rxtx.c:902:
+ int start_index;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#302: FILE: drivers/net/axgbe/axgbe_rxtx.c:903:
+ uint32_t pkt_len = 0;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#302: FILE: drivers/net/axgbe/axgbe_rxtx.c:903:
+ uint32_t pkt_len = 0;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#303: FILE: drivers/net/axgbe/axgbe_rxtx.c:904:
+ int nb_desc_free;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#303: FILE: drivers/net/axgbe/axgbe_rxtx.c:904:
+ int nb_desc_free;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#304: FILE: drivers/net/axgbe/axgbe_rxtx.c:905:
+ struct rte_mbuf *tx_pkt;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#304: FILE: drivers/net/axgbe/axgbe_rxtx.c:905:
+ struct rte_mbuf *tx_pkt;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#305: FILE: drivers/net/axgbe/axgbe_rxtx.c:906:
+ uint64_t l2_len = 0;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#305: FILE: drivers/net/axgbe/axgbe_rxtx.c:906:
+ uint64_t l2_len = 0;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#306: FILE: drivers/net/axgbe/axgbe_rxtx.c:907:
+ uint64_t l3_len = 0;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#306: FILE: drivers/net/axgbe/axgbe_rxtx.c:907:
+ uint64_t l3_len = 0;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#307: FILE: drivers/net/axgbe/axgbe_rxtx.c:908:
+ uint64_t l4_len = 0;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#307: FILE: drivers/net/axgbe/axgbe_rxtx.c:908:
+ uint64_t l4_len = 0;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#308: FILE: drivers/net/axgbe/axgbe_rxtx.c:909:
+ uint64_t tso_segsz = 0;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#308: FILE: drivers/net/axgbe/axgbe_rxtx.c:909:
+ uint64_t tso_segsz = 0;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#309: FILE: drivers/net/axgbe/axgbe_rxtx.c:910:
+ uint64_t total_hdr_len;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#309: FILE: drivers/net/axgbe/axgbe_rxtx.c:910:
+ uint64_t total_hdr_len;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#312: FILE: drivers/net/axgbe/axgbe_rxtx.c:913:
+ /*Parameters required for tso*/$
ERROR:CODE_INDENT: code indent should use tabs where possible
#313: FILE: drivers/net/axgbe/axgbe_rxtx.c:914:
+ l2_len = mbuf->l2_len;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#313: FILE: drivers/net/axgbe/axgbe_rxtx.c:914:
+ l2_len = mbuf->l2_len;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#314: FILE: drivers/net/axgbe/axgbe_rxtx.c:915:
+ l3_len = mbuf->l3_len;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#314: FILE: drivers/net/axgbe/axgbe_rxtx.c:915:
+ l3_len = mbuf->l3_len;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#315: FILE: drivers/net/axgbe/axgbe_rxtx.c:916:
+ l4_len = mbuf->l4_len;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#315: FILE: drivers/net/axgbe/axgbe_rxtx.c:916:
+ l4_len = mbuf->l4_len;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#316: FILE: drivers/net/axgbe/axgbe_rxtx.c:917:
+ tso_segsz = mbuf->tso_segsz;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#316: FILE: drivers/net/axgbe/axgbe_rxtx.c:917:
+ tso_segsz = mbuf->tso_segsz;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#317: FILE: drivers/net/axgbe/axgbe_rxtx.c:918:
+ total_hdr_len = l2_len + l3_len + l4_len;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#317: FILE: drivers/net/axgbe/axgbe_rxtx.c:918:
+ total_hdr_len = l2_len + l3_len + l4_len;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#319: FILE: drivers/net/axgbe/axgbe_rxtx.c:920:
+ if (txq->pdata->tso_tx)$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#319: FILE: drivers/net/axgbe/axgbe_rxtx.c:920:
+ if (txq->pdata->tso_tx)$
ERROR:CODE_INDENT: code indent should use tabs where possible
#320: FILE: drivers/net/axgbe/axgbe_rxtx.c:921:
+ tso = 1;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#320: FILE: drivers/net/axgbe/axgbe_rxtx.c:921:
+ tso = 1;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#321: FILE: drivers/net/axgbe/axgbe_rxtx.c:922:
+ else$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#321: FILE: drivers/net/axgbe/axgbe_rxtx.c:922:
+ else$
ERROR:CODE_INDENT: code indent should use tabs where possible
#322: FILE: drivers/net/axgbe/axgbe_rxtx.c:923:
+ tso = 0;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#322: FILE: drivers/net/axgbe/axgbe_rxtx.c:923:
+ tso = 0;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#324: FILE: drivers/net/axgbe/axgbe_rxtx.c:925:
+ PMD_DRV_LOG(DEBUG, "tso:l2_len = %ld,l3_len=%ld,l4_len=%ld,tso_segsz=%lu,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#324: FILE: drivers/net/axgbe/axgbe_rxtx.c:925:
+ PMD_DRV_LOG(DEBUG, "tso:l2_len = %ld,l3_len=%ld,l4_len=%ld,tso_segsz=%lu,$
WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#325: FILE: drivers/net/axgbe/axgbe_rxtx.c:926:
+ total_hdr_len=%lu
", l2_len, l3_len, l4_len, tso_segsz, total_hdr_len);
ERROR:CODE_INDENT: code indent should use tabs where possible
#327: FILE: drivers/net/axgbe/axgbe_rxtx.c:928:
+ nb_desc_free = txq->nb_desc - (txq->cur - txq->dirty);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#327: FILE: drivers/net/axgbe/axgbe_rxtx.c:928:
+ nb_desc_free = txq->nb_desc - (txq->cur - txq->dirty);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#329: FILE: drivers/net/axgbe/axgbe_rxtx.c:930:
+ PMD_DRV_LOG(DEBUG, "tso::Inside axgbe_xmit_hw_seg
");$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#329: FILE: drivers/net/axgbe/axgbe_rxtx.c:930:
+ PMD_DRV_LOG(DEBUG, "tso::Inside axgbe_xmit_hw_seg
");$
ERROR:CODE_INDENT: code indent should use tabs where possible
#330: FILE: drivers/net/axgbe/axgbe_rxtx.c:931:
+ if (mbuf->nb_segs > nb_desc_free) {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#330: FILE: drivers/net/axgbe/axgbe_rxtx.c:931:
+ if (mbuf->nb_segs > nb_desc_free) {$
ERROR:CODE_INDENT: code indent should use tabs where possible
#331: FILE: drivers/net/axgbe/axgbe_rxtx.c:932:
+ axgbe_xmit_cleanup_seg(txq);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#331: FILE: drivers/net/axgbe/axgbe_rxtx.c:932:
+ axgbe_xmit_cleanup_seg(txq);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#332: FILE: drivers/net/axgbe/axgbe_rxtx.c:933:
+ nb_desc_free = txq->nb_desc - (txq->cur - txq->dirty);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#332: FILE: drivers/net/axgbe/axgbe_rxtx.c:933:
+ nb_desc_free = txq->nb_desc - (txq->cur - txq->dirty);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#333: FILE: drivers/net/axgbe/axgbe_rxtx.c:934:
+ if (unlikely(mbuf->nb_segs > nb_desc_free))$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#333: FILE: drivers/net/axgbe/axgbe_rxtx.c:934:
+ if (unlikely(mbuf->nb_segs > nb_desc_free))$
ERROR:CODE_INDENT: code indent should use tabs where possible
#334: FILE: drivers/net/axgbe/axgbe_rxtx.c:935:
+ return RTE_ETH_TX_DESC_UNAVAIL;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#334: FILE: drivers/net/axgbe/axgbe_rxtx.c:935:
+ return RTE_ETH_TX_DESC_UNAVAIL;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#335: FILE: drivers/net/axgbe/axgbe_rxtx.c:936:
+ }$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#335: FILE: drivers/net/axgbe/axgbe_rxtx.c:936:
+ }$
ERROR:CODE_INDENT: code indent should use tabs where possible
#337: FILE: drivers/net/axgbe/axgbe_rxtx.c:938:
+ idx = AXGBE_GET_DESC_IDX(txq, txq->cur);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#337: FILE: drivers/net/axgbe/axgbe_rxtx.c:938:
+ idx = AXGBE_GET_DESC_IDX(txq, txq->cur);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#338: FILE: drivers/net/axgbe/axgbe_rxtx.c:939:
+ desc = &txq->desc[idx];$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#338: FILE: drivers/net/axgbe/axgbe_rxtx.c:939:
+ desc = &txq->desc[idx];$
ERROR:CODE_INDENT: code indent should use tabs where possible
#339: FILE: drivers/net/axgbe/axgbe_rxtx.c:940:
+ /* Saving the start index for setting the OWN bit finally */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#340: FILE: drivers/net/axgbe/axgbe_rxtx.c:941:
+ start_index = idx;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#340: FILE: drivers/net/axgbe/axgbe_rxtx.c:941:
+ start_index = idx;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#344: FILE: drivers/net/axgbe/axgbe_rxtx.c:943:
+ /* Max_pkt len = 9018 ; need to update it according to Jumbo pkt size */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#345: FILE: drivers/net/axgbe/axgbe_rxtx.c:944:
+ pkt_len = tx_pkt->pkt_len;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#345: FILE: drivers/net/axgbe/axgbe_rxtx.c:944:
+ pkt_len = tx_pkt->pkt_len;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#349: FILE: drivers/net/axgbe/axgbe_rxtx.c:946:
+ /* Update buffer address and length */$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#350: FILE: drivers/net/axgbe/axgbe_rxtx.c:947:
+ desc->baddr = rte_pktmbuf_iova_offset(mbuf,0);$
ERROR:SPACING: space required after that ',' (ctx:VxV)
#350: FILE: drivers/net/axgbe/axgbe_rxtx.c:947:
+ desc->baddr = rte_pktmbuf_iova_offset(mbuf,0);
^
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#352: FILE: drivers/net/axgbe/axgbe_rxtx.c:949:
+ if (tso)$
ERROR:CODE_INDENT: code indent should use tabs where possible
#361: FILE: drivers/net/axgbe/axgbe_rxtx.c:951:
+ total_hdr_len);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#361: FILE: drivers/net/axgbe/axgbe_rxtx.c:951:
+ total_hdr_len);$
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 8)
#362: FILE: drivers/net/axgbe/axgbe_rxtx.c:952:
+ else
+ AXGMAC_SET_BITS_LE(desc->desc2, TX_NORMAL_DESC2, HL_B1L,
ERROR:CODE_INDENT: code indent should use tabs where possible
#363: FILE: drivers/net/axgbe/axgbe_rxtx.c:953:
+ AXGMAC_SET_BITS_LE(desc->desc2, TX_NORMAL_DESC2, HL_B1L,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#363: FILE: drivers/net/axgbe/axgbe_rxtx.c:953:
+ AXGMAC_SET_BITS_LE(desc->desc2, TX_NORMAL_DESC2, HL_B1L,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#364: FILE: drivers/net/axgbe/axgbe_rxtx.c:954:
+ tx_pkt->data_len);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#364: FILE: drivers/net/axgbe/axgbe_rxtx.c:954:
+ tx_pkt->data_len);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#396: FILE: drivers/net/axgbe/axgbe_rxtx.c:959:
+ if (mbuf->ol_flags & RTE_MBUF_F_TX_IEEE1588_TMST)$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#396: FILE: drivers/net/axgbe/axgbe_rxtx.c:959:
+ if (mbuf->ol_flags & RTE_MBUF_F_TX_IEEE1588_TMST)$
ERROR:CODE_INDENT: code indent should use tabs where possible
#397: FILE: drivers/net/axgbe/axgbe_rxtx.c:960:
+ AXGMAC_SET_BITS_LE(desc->desc2, TX_NORMAL_DESC2, TTSE, 1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#397: FILE: drivers/net/axgbe/axgbe_rxtx.c:960:
+ AXGMAC_SET_BITS_LE(desc->desc2, TX_NORMAL_DESC2, TTSE, 1);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#399: FILE: drivers/net/axgbe/axgbe_rxtx.c:962:
+ rte_wmb();$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#399: FILE: drivers/net/axgbe/axgbe_rxtx.c:962:
+ rte_wmb();$
ERROR:CODE_INDENT: code indent should use tabs where possible
#400: FILE: drivers/net/axgbe/axgbe_rxtx.c:963:
+ /* Mark it as First Descriptor */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#401: FILE: drivers/net/axgbe/axgbe_rxtx.c:964:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, FD, 1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#401: FILE: drivers/net/axgbe/axgbe_rxtx.c:964:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, FD, 1);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#402: FILE: drivers/net/axgbe/axgbe_rxtx.c:965:
+ /* Mark it as a NORMAL descriptor */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#403: FILE: drivers/net/axgbe/axgbe_rxtx.c:966:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, CTXT, 0);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#403: FILE: drivers/net/axgbe/axgbe_rxtx.c:966:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, CTXT, 0);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#404: FILE: drivers/net/axgbe/axgbe_rxtx.c:967:
+ /* configure h/w Offload */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#405: FILE: drivers/net/axgbe/axgbe_rxtx.c:968:
+ mask = mbuf->ol_flags & RTE_MBUF_F_TX_L4_MASK;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#405: FILE: drivers/net/axgbe/axgbe_rxtx.c:968:
+ mask = mbuf->ol_flags & RTE_MBUF_F_TX_L4_MASK;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#406: FILE: drivers/net/axgbe/axgbe_rxtx.c:969:
+ 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
#406: FILE: drivers/net/axgbe/axgbe_rxtx.c:969:
+ 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
#407: FILE: drivers/net/axgbe/axgbe_rxtx.c:970:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, CIC, 0x3);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#407: FILE: drivers/net/axgbe/axgbe_rxtx.c:970:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, CIC, 0x3);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#408: FILE: drivers/net/axgbe/axgbe_rxtx.c:971:
+ else if (mbuf->ol_flags & RTE_MBUF_F_TX_IP_CKSUM)$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#408: FILE: drivers/net/axgbe/axgbe_rxtx.c:971:
+ else if (mbuf->ol_flags & RTE_MBUF_F_TX_IP_CKSUM)$
ERROR:CODE_INDENT: code indent should use tabs where possible
#409: FILE: drivers/net/axgbe/axgbe_rxtx.c:972:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, CIC, 0x1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#409: FILE: drivers/net/axgbe/axgbe_rxtx.c:972:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, CIC, 0x1);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#410: FILE: drivers/net/axgbe/axgbe_rxtx.c:973:
+ rte_wmb();$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#410: FILE: drivers/net/axgbe/axgbe_rxtx.c:973:
+ rte_wmb();$
ERROR:CODE_INDENT: code indent should use tabs where possible
#412: FILE: drivers/net/axgbe/axgbe_rxtx.c:975:
+ 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
#412: FILE: drivers/net/axgbe/axgbe_rxtx.c:975:
+ if (mbuf->ol_flags & (RTE_MBUF_F_TX_VLAN | RTE_MBUF_F_TX_QINQ)) {$
ERROR:CODE_INDENT: code indent should use tabs where possible
#413: FILE: drivers/net/axgbe/axgbe_rxtx.c:976:
+ /* Mark it as a CONTEXT descriptor */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#414: FILE: drivers/net/axgbe/axgbe_rxtx.c:977:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_CONTEXT_DESC3,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#414: FILE: drivers/net/axgbe/axgbe_rxtx.c:977:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_CONTEXT_DESC3,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#415: FILE: drivers/net/axgbe/axgbe_rxtx.c:978:
+ CTXT, 1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#415: FILE: drivers/net/axgbe/axgbe_rxtx.c:978:
+ CTXT, 1);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#416: FILE: drivers/net/axgbe/axgbe_rxtx.c:979:
+ /* Set the VLAN tag */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#417: FILE: drivers/net/axgbe/axgbe_rxtx.c:980:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_CONTEXT_DESC3,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#417: FILE: drivers/net/axgbe/axgbe_rxtx.c:980:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_CONTEXT_DESC3,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#418: FILE: drivers/net/axgbe/axgbe_rxtx.c:981:
+ VT, mbuf->vlan_tci);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#418: FILE: drivers/net/axgbe/axgbe_rxtx.c:981:
+ VT, mbuf->vlan_tci);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#419: FILE: drivers/net/axgbe/axgbe_rxtx.c:982:
+ /* Indicate this descriptor contains the VLAN tag */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#420: FILE: drivers/net/axgbe/axgbe_rxtx.c:983:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_CONTEXT_DESC3,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#420: FILE: drivers/net/axgbe/axgbe_rxtx.c:983:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_CONTEXT_DESC3,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#421: FILE: drivers/net/axgbe/axgbe_rxtx.c:984:
+ VLTV, 1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#421: FILE: drivers/net/axgbe/axgbe_rxtx.c:984:
+ VLTV, 1);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#422: FILE: drivers/net/axgbe/axgbe_rxtx.c:985:
+ AXGMAC_SET_BITS_LE(desc->desc2, TX_NORMAL_DESC2, VTIR,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#422: FILE: drivers/net/axgbe/axgbe_rxtx.c:985:
+ AXGMAC_SET_BITS_LE(desc->desc2, TX_NORMAL_DESC2, VTIR,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#423: FILE: drivers/net/axgbe/axgbe_rxtx.c:986:
+ TX_NORMAL_DESC2_VLAN_INSERT);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#423: FILE: drivers/net/axgbe/axgbe_rxtx.c:986:
+ TX_NORMAL_DESC2_VLAN_INSERT);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#424: FILE: drivers/net/axgbe/axgbe_rxtx.c:987:
+ } else {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#424: FILE: drivers/net/axgbe/axgbe_rxtx.c:987:
+ } else {$
ERROR:CODE_INDENT: code indent should use tabs where possible
#425: FILE: drivers/net/axgbe/axgbe_rxtx.c:988:
+ AXGMAC_SET_BITS_LE(desc->desc2, TX_NORMAL_DESC2, VTIR, 0x0);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#425: FILE: drivers/net/axgbe/axgbe_rxtx.c:988:
+ AXGMAC_SET_BITS_LE(desc->desc2, TX_NORMAL_DESC2, VTIR, 0x0);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#426: FILE: drivers/net/axgbe/axgbe_rxtx.c:989:
+ }$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#426: FILE: drivers/net/axgbe/axgbe_rxtx.c:989:
+ }$
ERROR:CODE_INDENT: code indent should use tabs where possible
#427: FILE: drivers/net/axgbe/axgbe_rxtx.c:990:
+ rte_wmb();$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#427: FILE: drivers/net/axgbe/axgbe_rxtx.c:990:
+ rte_wmb();$
ERROR:CODE_INDENT: code indent should use tabs where possible
#430: FILE: drivers/net/axgbe/axgbe_rxtx.c:993:
+ if (tso) {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#430: FILE: drivers/net/axgbe/axgbe_rxtx.c:993:
+ if (tso) {$
ERROR:CODE_INDENT: code indent should use tabs where possible
#431: FILE: drivers/net/axgbe/axgbe_rxtx.c:994:
+ PMD_DRV_LOG(DEBUG, "tso : Inside TSO register settings
");$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#431: FILE: drivers/net/axgbe/axgbe_rxtx.c:994:
+ PMD_DRV_LOG(DEBUG, "tso : Inside TSO register settings
");$
ERROR:CODE_INDENT: code indent should use tabs where possible
#432: FILE: drivers/net/axgbe/axgbe_rxtx.c:995:
+ /* Enable TSO */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#433: FILE: drivers/net/axgbe/axgbe_rxtx.c:996:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, TSE,1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#433: FILE: drivers/net/axgbe/axgbe_rxtx.c:996:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, TSE,1);$
ERROR:SPACING: space required after that ',' (ctx:VxV)
#433: FILE: drivers/net/axgbe/axgbe_rxtx.c:996:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, TSE,1);
^
ERROR:CODE_INDENT: code indent should use tabs where possible
#434: FILE: drivers/net/axgbe/axgbe_rxtx.c:997:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, TPL,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#434: FILE: drivers/net/axgbe/axgbe_rxtx.c:997:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, TPL,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#435: FILE: drivers/net/axgbe/axgbe_rxtx.c:998:
+ ((mbuf->pkt_len)-total_hdr_len));$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#435: FILE: drivers/net/axgbe/axgbe_rxtx.c:998:
+ ((mbuf->pkt_len)-total_hdr_len));$
CHECK:SPACING: spaces preferred around that '-' (ctx:VxV)
#435: FILE: drivers/net/axgbe/axgbe_rxtx.c:998:
+ ((mbuf->pkt_len)-total_hdr_len));
^
ERROR:CODE_INDENT: code indent should use tabs where possible
#436: FILE: drivers/net/axgbe/axgbe_rxtx.c:999:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, THL,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#436: FILE: drivers/net/axgbe/axgbe_rxtx.c:999:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, THL,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#437: FILE: drivers/net/axgbe/axgbe_rxtx.c:1000:
+ l4_len);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#437: FILE: drivers/net/axgbe/axgbe_rxtx.c:1000:
+ l4_len);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#438: FILE: drivers/net/axgbe/axgbe_rxtx.c:1001:
+ } else {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#438: FILE: drivers/net/axgbe/axgbe_rxtx.c:1001:
+ } else {$
ERROR:CODE_INDENT: code indent should use tabs where possible
#439: FILE: drivers/net/axgbe/axgbe_rxtx.c:1002:
+ /* Enable CRC and Pad Insertion */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#440: FILE: drivers/net/axgbe/axgbe_rxtx.c:1003:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, CPC, 0);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#440: FILE: drivers/net/axgbe/axgbe_rxtx.c:1003:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, CPC, 0);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#441: FILE: drivers/net/axgbe/axgbe_rxtx.c:1004:
+ /* Total msg length to transmit */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#442: FILE: drivers/net/axgbe/axgbe_rxtx.c:1005:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, FL,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#442: FILE: drivers/net/axgbe/axgbe_rxtx.c:1005:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, FL,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#443: FILE: drivers/net/axgbe/axgbe_rxtx.c:1006:
+ mbuf->pkt_len);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#443: FILE: drivers/net/axgbe/axgbe_rxtx.c:1006:
+ mbuf->pkt_len);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#444: FILE: drivers/net/axgbe/axgbe_rxtx.c:1007:
+ }$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#444: FILE: drivers/net/axgbe/axgbe_rxtx.c:1007:
+ }$
ERROR:CODE_INDENT: code indent should use tabs where possible
#450: FILE: drivers/net/axgbe/axgbe_rxtx.c:1010:
+ txq->sw_ring[idx] = tx_pkt;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#450: FILE: drivers/net/axgbe/axgbe_rxtx.c:1010:
+ txq->sw_ring[idx] = tx_pkt;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#451: FILE: drivers/net/axgbe/axgbe_rxtx.c:1011:
+ /* Update current index*/$
ERROR:CODE_INDENT: code indent should use tabs where possible
#452: FILE: drivers/net/axgbe/axgbe_rxtx.c:1012:
+ txq->cur++;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#452: FILE: drivers/net/axgbe/axgbe_rxtx.c:1012:
+ txq->cur++;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#506: FILE: drivers/net/axgbe/axgbe_rxtx.c:1017:
+ idx = AXGBE_GET_DESC_IDX(txq, txq->cur);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#506: FILE: drivers/net/axgbe/axgbe_rxtx.c:1017:
+ idx = AXGBE_GET_DESC_IDX(txq, txq->cur);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#507: FILE: drivers/net/axgbe/axgbe_rxtx.c:1018:
+ desc = &txq->desc[idx];$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#507: FILE: drivers/net/axgbe/axgbe_rxtx.c:1018:
+ desc = &txq->desc[idx];$
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 16)
#509: FILE: drivers/net/axgbe/axgbe_rxtx.c:1020:
+ if (tso)
+ desc->baddr = rte_pktmbuf_iova_offset(mbuf,total_hdr_len);
ERROR:SPACING: space required after that ',' (ctx:VxV)
#510: FILE: drivers/net/axgbe/axgbe_rxtx.c:1021:
+ desc->baddr = rte_pktmbuf_iova_offset(mbuf,total_hdr_len);
^
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 16)
#511: FILE: drivers/net/axgbe/axgbe_rxtx.c:1022:
+ else
[...]
+ desc->baddr = rte_mbuf_data_iova(tx_pkt);
ERROR:CODE_INDENT: code indent should use tabs where possible
#512: FILE: drivers/net/axgbe/axgbe_rxtx.c:1023:
+ /* Update buffer address and length */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#513: FILE: drivers/net/axgbe/axgbe_rxtx.c:1024:
+ desc->baddr = rte_mbuf_data_iova(tx_pkt);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#513: FILE: drivers/net/axgbe/axgbe_rxtx.c:1024:
+ desc->baddr = rte_mbuf_data_iova(tx_pkt);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#515: FILE: drivers/net/axgbe/axgbe_rxtx.c:1026:
+ AXGMAC_SET_BITS_LE(desc->desc2,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#515: FILE: drivers/net/axgbe/axgbe_rxtx.c:1026:
+ AXGMAC_SET_BITS_LE(desc->desc2,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#516: FILE: drivers/net/axgbe/axgbe_rxtx.c:1027:
+ TX_NORMAL_DESC2, HL_B1L, tx_pkt->data_len);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#516: FILE: drivers/net/axgbe/axgbe_rxtx.c:1027:
+ TX_NORMAL_DESC2, HL_B1L, tx_pkt->data_len);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#518: FILE: drivers/net/axgbe/axgbe_rxtx.c:1029:
+ rte_wmb();$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#518: FILE: drivers/net/axgbe/axgbe_rxtx.c:1029:
+ rte_wmb();$
ERROR:CODE_INDENT: code indent should use tabs where possible
#520: FILE: drivers/net/axgbe/axgbe_rxtx.c:1031:
+ /* Mark it as a NORMAL descriptor */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#521: FILE: drivers/net/axgbe/axgbe_rxtx.c:1032:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, CTXT, 0);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#521: FILE: drivers/net/axgbe/axgbe_rxtx.c:1032:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, CTXT, 0);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#522: FILE: drivers/net/axgbe/axgbe_rxtx.c:1033:
+ /* configure h/w Offload */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#523: FILE: drivers/net/axgbe/axgbe_rxtx.c:1034:
+ mask = mbuf->ol_flags & RTE_MBUF_F_TX_L4_MASK;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#523: FILE: drivers/net/axgbe/axgbe_rxtx.c:1034:
+ mask = mbuf->ol_flags & RTE_MBUF_F_TX_L4_MASK;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#524: FILE: drivers/net/axgbe/axgbe_rxtx.c:1035:
+ if (mask == RTE_MBUF_F_TX_TCP_CKSUM ||$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#524: FILE: drivers/net/axgbe/axgbe_rxtx.c:1035:
+ if (mask == RTE_MBUF_F_TX_TCP_CKSUM ||$
ERROR:CODE_INDENT: code indent should use tabs where possible
#525: FILE: drivers/net/axgbe/axgbe_rxtx.c:1036:
+ mask == RTE_MBUF_F_TX_UDP_CKSUM)$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#525: FILE: drivers/net/axgbe/axgbe_rxtx.c:1036:
+ mask == RTE_MBUF_F_TX_UDP_CKSUM)$
ERROR:CODE_INDENT: code indent should use tabs where possible
#526: FILE: drivers/net/axgbe/axgbe_rxtx.c:1037:
+ AXGMAC_SET_BITS_LE(desc->desc3,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#526: FILE: drivers/net/axgbe/axgbe_rxtx.c:1037:
+ AXGMAC_SET_BITS_LE(desc->desc3,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#527: FILE: drivers/net/axgbe/axgbe_rxtx.c:1038:
+ TX_NORMAL_DESC3, CIC, 0x3);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#527: FILE: drivers/net/axgbe/axgbe_rxtx.c:1038:
+ TX_NORMAL_DESC3, CIC, 0x3);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#528: FILE: drivers/net/axgbe/axgbe_rxtx.c:1039:
+ else if (mbuf->ol_flags & RTE_MBUF_F_TX_IP_CKSUM)$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#528: FILE: drivers/net/axgbe/axgbe_rxtx.c:1039:
+ else if (mbuf->ol_flags & RTE_MBUF_F_TX_IP_CKSUM)$
ERROR:CODE_INDENT: code indent should use tabs where possible
#529: FILE: drivers/net/axgbe/axgbe_rxtx.c:1040:
+ AXGMAC_SET_BITS_LE(desc->desc3,$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#529: FILE: drivers/net/axgbe/axgbe_rxtx.c:1040:
+ AXGMAC_SET_BITS_LE(desc->desc3,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#530: FILE: drivers/net/axgbe/axgbe_rxtx.c:1041:
+ TX_NORMAL_DESC3, CIC, 0x1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#530: FILE: drivers/net/axgbe/axgbe_rxtx.c:1041:
+ TX_NORMAL_DESC3, CIC, 0x1);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#532: FILE: drivers/net/axgbe/axgbe_rxtx.c:1043:
+ rte_wmb();$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#532: FILE: drivers/net/axgbe/axgbe_rxtx.c:1043:
+ rte_wmb();$
ERROR:CODE_INDENT: code indent should use tabs where possible
#534: FILE: drivers/net/axgbe/axgbe_rxtx.c:1045:
+ /* Set OWN bit */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#535: FILE: drivers/net/axgbe/axgbe_rxtx.c:1046:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, OWN, 1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#535: FILE: drivers/net/axgbe/axgbe_rxtx.c:1046:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, OWN, 1);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#536: FILE: drivers/net/axgbe/axgbe_rxtx.c:1047:
+ rte_wmb();$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#536: FILE: drivers/net/axgbe/axgbe_rxtx.c:1047:
+ rte_wmb();$
ERROR:CODE_INDENT: code indent should use tabs where possible
#538: FILE: drivers/net/axgbe/axgbe_rxtx.c:1049:
+ /* Save mbuf */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#539: FILE: drivers/net/axgbe/axgbe_rxtx.c:1050:
+ txq->sw_ring[idx] = tx_pkt;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#539: FILE: drivers/net/axgbe/axgbe_rxtx.c:1050:
+ txq->sw_ring[idx] = tx_pkt;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#540: FILE: drivers/net/axgbe/axgbe_rxtx.c:1051:
+ /* Update current index*/$
ERROR:CODE_INDENT: code indent should use tabs where possible
#541: FILE: drivers/net/axgbe/axgbe_rxtx.c:1052:
+ txq->cur++;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#541: FILE: drivers/net/axgbe/axgbe_rxtx.c:1052:
+ txq->cur++;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#543: FILE: drivers/net/axgbe/axgbe_rxtx.c:1054:
+ tx_pkt = tx_pkt->next;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#543: FILE: drivers/net/axgbe/axgbe_rxtx.c:1054:
+ tx_pkt = tx_pkt->next;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#544: FILE: drivers/net/axgbe/axgbe_rxtx.c:1055:
+ }$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#544: FILE: drivers/net/axgbe/axgbe_rxtx.c:1055:
+ }$
ERROR:CODE_INDENT: code indent should use tabs where possible
#546: FILE: drivers/net/axgbe/axgbe_rxtx.c:1057:
+ /* Set LD bit for the last descriptor */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#547: FILE: drivers/net/axgbe/axgbe_rxtx.c:1058:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, LD, 1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#547: FILE: drivers/net/axgbe/axgbe_rxtx.c:1058:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, LD, 1);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#548: FILE: drivers/net/axgbe/axgbe_rxtx.c:1059:
+ rte_wmb();$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#548: FILE: drivers/net/axgbe/axgbe_rxtx.c:1059:
+ rte_wmb();$
ERROR:CODE_INDENT: code indent should use tabs where possible
#550: FILE: drivers/net/axgbe/axgbe_rxtx.c:1061:
+ /* Update stats */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#551: FILE: drivers/net/axgbe/axgbe_rxtx.c:1062:
+ txq->bytes += pkt_len;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#551: FILE: drivers/net/axgbe/axgbe_rxtx.c:1062:
+ txq->bytes += pkt_len;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#553: FILE: drivers/net/axgbe/axgbe_rxtx.c:1064:
+ /* Set OWN bit for the first descriptor */$
ERROR:CODE_INDENT: code indent should use tabs where possible
#554: FILE: drivers/net/axgbe/axgbe_rxtx.c:1065:
+ desc = &txq->desc[start_index];$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#554: FILE: drivers/net/axgbe/axgbe_rxtx.c:1065:
+ desc = &txq->desc[start_index];$
ERROR:CODE_INDENT: code indent should use tabs where possible
#555: FILE: drivers/net/axgbe/axgbe_rxtx.c:1066:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, OWN, 1);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#555: FILE: drivers/net/axgbe/axgbe_rxtx.c:1066:
+ AXGMAC_SET_BITS_LE(desc->desc3, TX_NORMAL_DESC3, OWN, 1);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#556: FILE: drivers/net/axgbe/axgbe_rxtx.c:1067:
+ rte_wmb();$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#556: FILE: drivers/net/axgbe/axgbe_rxtx.c:1067:
+ rte_wmb();$
total: 129 errors, 110 warnings, 1 checks, 402 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
* |FAILURE| pw134411 [PATCH v2] net/axgbe: support TSO
[not found] <20231116094446.62248-1-jesna.k.e@amd.com>
2023-11-16 9:25 ` |FAILURE| pw134411 [PATCH v2] net/axgbe: support TSO qemudev
2023-11-16 9:45 ` |WARNING| " checkpatch
@ 2023-11-16 10:19 ` 0-day Robot
2 siblings, 0 replies; 3+ messages in thread
From: 0-day Robot @ 2023-11-16 10:19 UTC (permalink / raw)
To: test-report; +Cc: jesna.k.e, robot
From: robot@bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/134411/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/6889115868
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-20.04-gcc-stdatomic" failed at step Build and test
"ubuntu-20.04-clang-stdatomic" failed at step Build and test
"ubuntu-20.04-gcc-debug+doc+examples+tests" failed at step Build and test
"ubuntu-20.04-clang-asan+doc+tests" failed at step Build and test
"ubuntu-20.04-gcc-static-i386" failed at step Build and test
"ubuntu-20.04-gcc-shared-aarch64" failed at step Build and test
"ubuntu-20.04-gcc-ppc64le" failed at step Build and test
"ubuntu-20.04-gcc-riscv64" failed at step Build and test
"fedora:37-gcc" failed at step Build
"fedora:37-clang" failed at step Build
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-stdatomic" at step Build and test
####################################################################################
| ^~~~
../drivers/net/axgbe/axgbe_rxtx.c:925:9: error: no return statement in function returning non-void [-Werror=return-type]
925 | PMD_DRV_LOG(DEBUG, "tso:l2_len = %ld,l3_len=%ld,l4_len=%ld,tso_segsz=%lu,
| ^~~~~~~~~~~
At top level:
../drivers/net/axgbe/axgbe_rxtx.c:896:1: error: ‘axgbe_xmit_hw_seg’ defined but not used [-Werror=unused-function]
896 | axgbe_xmit_hw_seg(struct axgbe_tx_queue *txq,
| ^~~~~~~~~~~~~~~~~
../drivers/net/axgbe/axgbe_rxtx.c:824:12: error: ‘axgbe_xmit_hw’ defined but not used [-Werror=unused-function]
824 | static int axgbe_xmit_hw(struct axgbe_tx_queue *txq,
| ^~~~~~~~~~~~~
../drivers/net/axgbe/axgbe_rxtx.c:799:13: error: ‘axgbe_xmit_cleanup’ defined but not used [-Werror=unused-function]
799 | static void axgbe_xmit_cleanup(struct axgbe_tx_queue *txq)
| ^~~~~~~~~~~~~~~~~~
../drivers/net/axgbe/axgbe_rxtx.c:777:1: error: ‘axgbe_xmit_cleanup_seg’ defined but not used [-Werror=unused-function]
777 | axgbe_xmit_cleanup_seg(struct axgbe_tx_queue *txq)
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1070/2842] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command.
[1071/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_axgbe@sta/net_axgbe_axgbe_phy_impl.c.o'.
[1072/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_avp@sta/net_avp_avp_ethdev.c.o'.
[1073/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_axgbe@sta/net_axgbe_axgbe_rxtx_vec_sse.c.o'.
[1074/2842] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/crypto_qat_qat_asym.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-stdatomic" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-clang-stdatomic" at step Build and test
####################################################################################
PMD_DRV_LOG(DEBUG, "tso:l2_len = %ld,l3_len=%ld,l4_len=%ld,tso_segsz=%lu,
^
../drivers/net/axgbe/axgbe_logs.h:22:9: note: macro 'PMD_DRV_LOG' defined here
#define PMD_DRV_LOG(level, fmt, args...) \
^
../drivers/net/axgbe/axgbe_rxtx.c:1235:2: error: misleading indentation; statement is not part of the previous 'else' [-Werror,-Wmisleading-indentation]
}
^
../drivers/net/axgbe/axgbe_rxtx.c:922:9: note: previous statement is here
else
^
../drivers/net/axgbe/axgbe_rxtx.c:1235:2: error: expected '}'
}
^
../drivers/net/axgbe/axgbe_rxtx.c:898:1: note: to match this '{'
{
^
5 errors generated.
[1077/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_axgbe@sta/net_axgbe_axgbe_rxtx_vec_sse.c.o'.
[1078/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_axgbe@sta/net_axgbe_axgbe_i2c.c.o'.
[1079/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_avp@sta/net_avp_avp_ethdev.c.o'.
[1080/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_bnx2x@sta/net_bnx2x_bnx2x.c.o'.
[1081/2842] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/pipeline_rte_table_action.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-clang-stdatomic" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################
| ^~~~
../drivers/net/axgbe/axgbe_rxtx.c:925:9: error: no return statement in function returning non-void [-Werror=return-type]
925 | PMD_DRV_LOG(DEBUG, "tso:l2_len = %ld,l3_len=%ld,l4_len=%ld,tso_segsz=%lu,
| ^~~~~~~~~~~
At top level:
../drivers/net/axgbe/axgbe_rxtx.c:896:1: error: ‘axgbe_xmit_hw_seg’ defined but not used [-Werror=unused-function]
896 | axgbe_xmit_hw_seg(struct axgbe_tx_queue *txq,
| ^~~~~~~~~~~~~~~~~
../drivers/net/axgbe/axgbe_rxtx.c:824:12: error: ‘axgbe_xmit_hw’ defined but not used [-Werror=unused-function]
824 | static int axgbe_xmit_hw(struct axgbe_tx_queue *txq,
| ^~~~~~~~~~~~~
../drivers/net/axgbe/axgbe_rxtx.c:799:13: error: ‘axgbe_xmit_cleanup’ defined but not used [-Werror=unused-function]
799 | static void axgbe_xmit_cleanup(struct axgbe_tx_queue *txq)
| ^~~~~~~~~~~~~~~~~~
../drivers/net/axgbe/axgbe_rxtx.c:777:1: error: ‘axgbe_xmit_cleanup_seg’ defined but not used [-Werror=unused-function]
777 | axgbe_xmit_cleanup_seg(struct axgbe_tx_queue *txq)
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1100/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_bnx2x@sta/net_bnx2x_bnx2x_ethdev.c.o'.
[1101/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_axgbe@sta/net_axgbe_axgbe_rxtx_vec_sse.c.o'.
[1102/3914] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command.
[1103/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_bnx2x@sta/net_bnx2x_bnx2x.c.o'.
[1104/3914] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/pipeline_rte_table_action.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################
PMD_DRV_LOG(DEBUG, "tso:l2_len = %ld,l3_len=%ld,l4_len=%ld,tso_segsz=%lu,
^
../drivers/net/axgbe/axgbe_logs.h:22:9: note: macro 'PMD_DRV_LOG' defined here
#define PMD_DRV_LOG(level, fmt, args...) \
^
../drivers/net/axgbe/axgbe_rxtx.c:1235:2: error: misleading indentation; statement is not part of the previous 'else' [-Werror,-Wmisleading-indentation]
}
^
../drivers/net/axgbe/axgbe_rxtx.c:922:9: note: previous statement is here
else
^
../drivers/net/axgbe/axgbe_rxtx.c:1235:2: error: expected '}'
}
^
../drivers/net/axgbe/axgbe_rxtx.c:898:1: note: to match this '{'
{
^
5 errors generated.
[1090/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_bnx2x@sta/net_bnx2x_bnx2x_rxtx.c.o'.
[1091/3914] Generating pipeline.sym_chk with a meson_exe.py custom command.
[1092/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_avp@sta/net_avp_avp_ethdev.c.o'.
[1093/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_bnx2x@sta/net_bnx2x_bnx2x.c.o'.
[1094/3914] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/crypto_qat_qat_asym.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################
| ^~~~
../drivers/net/axgbe/axgbe_rxtx.c:925:9: error: no return statement in function returning non-void [-Werror=return-type]
925 | PMD_DRV_LOG(DEBUG, "tso:l2_len = %ld,l3_len=%ld,l4_len=%ld,tso_segsz=%lu,
| ^~~~~~~~~~~
At top level:
../drivers/net/axgbe/axgbe_rxtx.c:896:1: error: ‘axgbe_xmit_hw_seg’ defined but not used [-Werror=unused-function]
896 | axgbe_xmit_hw_seg(struct axgbe_tx_queue *txq,
| ^~~~~~~~~~~~~~~~~
../drivers/net/axgbe/axgbe_rxtx.c:824:12: error: ‘axgbe_xmit_hw’ defined but not used [-Werror=unused-function]
824 | static int axgbe_xmit_hw(struct axgbe_tx_queue *txq,
| ^~~~~~~~~~~~~
../drivers/net/axgbe/axgbe_rxtx.c:799:13: error: ‘axgbe_xmit_cleanup’ defined but not used [-Werror=unused-function]
799 | static void axgbe_xmit_cleanup(struct axgbe_tx_queue *txq)
| ^~~~~~~~~~~~~~~~~~
../drivers/net/axgbe/axgbe_rxtx.c:777:1: error: ‘axgbe_xmit_cleanup_seg’ defined but not used [-Werror=unused-function]
777 | axgbe_xmit_cleanup_seg(struct axgbe_tx_queue *txq)
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[840/3134] Compiling C object 'drivers/a715181@@tmp_rte_net_axgbe@sta/net_axgbe_axgbe_rxtx_vec_sse.c.o'.
[841/3134] Compiling C object 'drivers/a715181@@tmp_rte_net_axgbe@sta/net_axgbe_axgbe_phy_impl.c.o'.
[842/3134] Compiling C object 'drivers/a715181@@tmp_rte_net_avp@sta/net_avp_avp_ethdev.c.o'.
[843/3134] Compiling C object 'drivers/net/bnxt/ea220ed@@bnxt_avx2_lib@sta/bnxt_rxtx_vec_avx2.c.o'.
[844/3134] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/pipeline_rte_table_action.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-shared-aarch64" at step Build and test
####################################################################################
| ^~~~
../drivers/net/axgbe/axgbe_rxtx.c:925:9: error: no return statement in function returning non-void [-Werror=return-type]
925 | PMD_DRV_LOG(DEBUG, "tso:l2_len = %ld,l3_len=%ld,l4_len=%ld,tso_segsz=%lu,
| ^~~~~~~~~~~
At top level:
../drivers/net/axgbe/axgbe_rxtx.c:896:1: error: ‘axgbe_xmit_hw_seg’ defined but not used [-Werror=unused-function]
896 | axgbe_xmit_hw_seg(struct axgbe_tx_queue *txq,
| ^~~~~~~~~~~~~~~~~
../drivers/net/axgbe/axgbe_rxtx.c:824:12: error: ‘axgbe_xmit_hw’ defined but not used [-Werror=unused-function]
824 | static int axgbe_xmit_hw(struct axgbe_tx_queue *txq,
| ^~~~~~~~~~~~~
../drivers/net/axgbe/axgbe_rxtx.c:799:13: error: ‘axgbe_xmit_cleanup’ defined but not used [-Werror=unused-function]
799 | static void axgbe_xmit_cleanup(struct axgbe_tx_queue *txq)
| ^~~~~~~~~~~~~~~~~~
../drivers/net/axgbe/axgbe_rxtx.c:777:1: error: ‘axgbe_xmit_cleanup_seg’ defined but not used [-Werror=unused-function]
777 | axgbe_xmit_cleanup_seg(struct axgbe_tx_queue *txq)
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1025/4084] Compiling C object 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_bnxt_cpr.c.o'.
[1026/4084] Compiling C object 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_bnxt_filter.c.o'.
[1027/4084] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command.
[1028/4084] Compiling C object 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_bnxt_ethdev.c.o'.
[1029/4084] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-shared-aarch64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-ppc64le" at step Build and test
####################################################################################
| ^~~~
../drivers/net/axgbe/axgbe_rxtx.c:925:9: error: no return statement in function returning non-void [-Werror=return-type]
925 | PMD_DRV_LOG(DEBUG, "tso:l2_len = %ld,l3_len=%ld,l4_len=%ld,tso_segsz=%lu,
| ^~~~~~~~~~~
At top level:
../drivers/net/axgbe/axgbe_rxtx.c:896:1: error: ‘axgbe_xmit_hw_seg’ defined but not used [-Werror=unused-function]
896 | axgbe_xmit_hw_seg(struct axgbe_tx_queue *txq,
| ^~~~~~~~~~~~~~~~~
../drivers/net/axgbe/axgbe_rxtx.c:824:12: error: ‘axgbe_xmit_hw’ defined but not used [-Werror=unused-function]
824 | static int axgbe_xmit_hw(struct axgbe_tx_queue *txq,
| ^~~~~~~~~~~~~
../drivers/net/axgbe/axgbe_rxtx.c:799:13: error: ‘axgbe_xmit_cleanup’ defined but not used [-Werror=unused-function]
799 | static void axgbe_xmit_cleanup(struct axgbe_tx_queue *txq)
| ^~~~~~~~~~~~~~~~~~
../drivers/net/axgbe/axgbe_rxtx.c:777:1: error: ‘axgbe_xmit_cleanup_seg’ defined but not used [-Werror=unused-function]
777 | axgbe_xmit_cleanup_seg(struct axgbe_tx_queue *txq)
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[948/3384] Linking target drivers/librte_net_atlantic.so.24.0.
[949/3384] Compiling C object 'drivers/a715181@@tmp_rte_net_axgbe@sta/net_axgbe_axgbe_phy_impl.c.o'.
[950/3384] Generating rte_net_avp.pmd.c with a custom command.
[951/3384] Compiling C object 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_bnxt_cpr.c.o'.
[952/3384] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-ppc64le" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-riscv64" at step Build and test
####################################################################################
| ^~~~
../drivers/net/axgbe/axgbe_rxtx.c:925:9: error: no return statement in function returning non-void [-Werror=return-type]
925 | PMD_DRV_LOG(DEBUG, "tso:l2_len = %ld,l3_len=%ld,l4_len=%ld,tso_segsz=%lu,
| ^~~~~~~~~~~
At top level:
../drivers/net/axgbe/axgbe_rxtx.c:896:1: error: ‘axgbe_xmit_hw_seg’ defined but not used [-Werror=unused-function]
896 | axgbe_xmit_hw_seg(struct axgbe_tx_queue *txq,
| ^~~~~~~~~~~~~~~~~
../drivers/net/axgbe/axgbe_rxtx.c:824:12: error: ‘axgbe_xmit_hw’ defined but not used [-Werror=unused-function]
824 | static int axgbe_xmit_hw(struct axgbe_tx_queue *txq,
| ^~~~~~~~~~~~~
../drivers/net/axgbe/axgbe_rxtx.c:799:13: error: ‘axgbe_xmit_cleanup’ defined but not used [-Werror=unused-function]
799 | static void axgbe_xmit_cleanup(struct axgbe_tx_queue *txq)
| ^~~~~~~~~~~~~~~~~~
../drivers/net/axgbe/axgbe_rxtx.c:777:1: error: ‘axgbe_xmit_cleanup_seg’ defined but not used [-Werror=unused-function]
777 | axgbe_xmit_cleanup_seg(struct axgbe_tx_queue *txq)
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[934/3355] Compiling C object 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_bnxt_filter.c.o'.
[935/3355] Compiling C object 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_bnxt_cpr.c.o'.
[936/3355] Generating rte_common_cnxk.pmd.c with a custom command.
[937/3355] Generating rte_net_avp.pmd.c with a custom command.
[938/3355] Generating rte_net_atlantic.pmd.c with a custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-riscv64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "fedora:37-gcc" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:37-gcc" at step Build
####################################################################################
####################################################################################
#### [Begin job log] "fedora:37-clang" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:37-clang" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread