[dpdk-test-report] |WARNING| pw31092 [PATCH] net/enic: fix TSO for packets greater than 9208 bytes

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Nov 2 03:00:24 CET 2017


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/31092

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'pkt_len > ENIC_TX_MAX_PKT_SIZE'
#71: FILE: drivers/net/enic/enic_rxtx.c:570:
+		if (unlikely(!tso && (pkt_len > ENIC_TX_MAX_PKT_SIZE))) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'header_len == 0'
#90: FILE: drivers/net/enic/enic_rxtx.c:599:
+			if (unlikely((header_len == 0) || ((tx_pkt->tso_segsz +
+			    header_len) > ENIC_TX_MAX_PKT_SIZE))) {

total: 0 errors, 0 warnings, 2 checks, 54 lines checked


More information about the test-report mailing list