* [dpdk-test-report] |WARNING| pw68126 [PATCH v3 1/5] net/iavf: add support for FDIR basic rule
[not found] <1586513905-437173-2-git-send-email-simei.su@intel.com>
@ 2020-04-10 10:23 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-04-10 10:23 UTC (permalink / raw)
To: test-report; +Cc: Simei Su
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/68126
_coding style issues_
WARNING:LONG_LINE: line over 90 characters
#216: FILE: drivers/net/iavf/iavf_fdir.c:71:
+ {iavf_pattern_ethertype, IAVF_FDIR_INSET_ETH, IAVF_INSET_NONE},
WARNING:LONG_LINE: line over 90 characters
#217: FILE: drivers/net/iavf/iavf_fdir.c:72:
+ {iavf_pattern_eth_ipv4, IAVF_FDIR_INSET_ETH_IPV4, IAVF_INSET_NONE},
WARNING:LONG_LINE: line over 90 characters
#218: FILE: drivers/net/iavf/iavf_fdir.c:73:
+ {iavf_pattern_eth_ipv4_udp, IAVF_FDIR_INSET_ETH_IPV4_UDP, IAVF_INSET_NONE},
WARNING:LONG_LINE: line over 90 characters
#219: FILE: drivers/net/iavf/iavf_fdir.c:74:
+ {iavf_pattern_eth_ipv4_tcp, IAVF_FDIR_INSET_ETH_IPV4_TCP, IAVF_INSET_NONE},
WARNING:LONG_LINE: line over 90 characters
#220: FILE: drivers/net/iavf/iavf_fdir.c:75:
+ {iavf_pattern_eth_ipv4_sctp, IAVF_FDIR_INSET_ETH_IPV4_SCTP, IAVF_INSET_NONE},
WARNING:LONG_LINE: line over 90 characters
#221: FILE: drivers/net/iavf/iavf_fdir.c:76:
+ {iavf_pattern_eth_ipv6, IAVF_FDIR_INSET_ETH_IPV6, IAVF_INSET_NONE},
WARNING:LONG_LINE: line over 90 characters
#222: FILE: drivers/net/iavf/iavf_fdir.c:77:
+ {iavf_pattern_eth_ipv6_udp, IAVF_FDIR_INSET_ETH_IPV6_UDP, IAVF_INSET_NONE},
WARNING:LONG_LINE: line over 90 characters
#223: FILE: drivers/net/iavf/iavf_fdir.c:78:
+ {iavf_pattern_eth_ipv6_tcp, IAVF_FDIR_INSET_ETH_IPV6_TCP, IAVF_INSET_NONE},
WARNING:LONG_LINE: line over 90 characters
#224: FILE: drivers/net/iavf/iavf_fdir.c:79:
+ {iavf_pattern_eth_ipv6_sctp, IAVF_FDIR_INSET_ETH_IPV6_SCTP, IAVF_INSET_NONE},
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'rss->queue_num <= IAVF_FDIR_MAX_QREGION_SIZE'
#382: FILE: drivers/net/iavf/iavf_fdir.c:237:
+ if (!(rte_is_power_of_2(rss->queue_num) &&
+ (rss->queue_num <= IAVF_FDIR_MAX_QREGION_SIZE))) {
WARNING:LONG_LINE: line over 90 characters
#419: FILE: drivers/net/iavf/iavf_fdir.c:274:
+ filter_action = &filter->add_fltr.rule_cfg.action_set.actions[number];
WARNING:LONG_LINE: line over 90 characters
#429: FILE: drivers/net/iavf/iavf_fdir.c:284:
+ filter_action = &filter->add_fltr.rule_cfg.action_set.actions[number];
WARNING:LONG_LINE: line over 90 characters
#440: FILE: drivers/net/iavf/iavf_fdir.c:295:
+ filter_action = &filter->add_fltr.rule_cfg.action_set.actions[number];
WARNING:LONG_LINE: line over 90 characters
#459: FILE: drivers/net/iavf/iavf_fdir.c:314:
+ filter_action = &filter->add_fltr.rule_cfg.action_set.actions[number];
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#659: FILE: drivers/net/iavf/iavf_fdir.c:514:
+ == rte_cpu_to_be_32(
WARNING:LONG_LINE: line over 90 characters
#670: FILE: drivers/net/iavf/iavf_fdir.c:525:
+ VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, IPV6, HOP_LIMIT);
WARNING:LONG_LINE: line over 90 characters
#712: FILE: drivers/net/iavf/iavf_fdir.c:567:
+ VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, UDP, SRC_PORT);
WARNING:LONG_LINE: line over 90 characters
#716: FILE: drivers/net/iavf/iavf_fdir.c:571:
+ VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, UDP, DST_PORT);
WARNING:LONG_LINE: line over 90 characters
#756: FILE: drivers/net/iavf/iavf_fdir.c:611:
+ VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, TCP, SRC_PORT);
WARNING:LONG_LINE: line over 90 characters
#760: FILE: drivers/net/iavf/iavf_fdir.c:615:
+ VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, TCP, DST_PORT);
WARNING:LONG_LINE: line over 90 characters
#794: FILE: drivers/net/iavf/iavf_fdir.c:649:
+ VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, SCTP, SRC_PORT);
WARNING:LONG_LINE: line over 90 characters
#798: FILE: drivers/net/iavf/iavf_fdir.c:653:
+ VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, SCTP, DST_PORT);
WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#965: FILE: drivers/net/iavf/iavf_vchnl.c:921:
+ return -1;
+ } else {
WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#1012: FILE: drivers/net/iavf/iavf_vchnl.c:968:
+ return -1;
+ } else {
WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#1056: FILE: drivers/net/iavf/iavf_vchnl.c:1012:
+ return -1;
+ } else {
total: 0 errors, 23 warnings, 2 checks, 966 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-10 10:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1586513905-437173-2-git-send-email-simei.su@intel.com>
2020-04-10 10:23 ` [dpdk-test-report] |WARNING| pw68126 [PATCH v3 1/5] net/iavf: add support for FDIR basic rule checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).