From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Hemant Agrawal <hemant.agrawal@nxp.com>
Subject: [dpdk-test-report] |WARNING| pw70622 [PATCH 17/37] net/dpaa: add support for fmcless mode
Date: Wed, 27 May 2020 15:30:24 +0200 (CEST) [thread overview]
Message-ID: <20200527133024.5831F1DA7B@dpdk.org> (raw)
In-Reply-To: <20200527132326.1382-18-hemant.agrawal@nxp.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/70622
_coding style issues_
CHECK:CAMELCASE: Avoid CamelCase: <t_Handle>
#363: FILE: drivers/net/dpaa/dpaa_flow.c:33:
+ t_Handle fman_handle;
CHECK:CAMELCASE: Avoid CamelCase: <t_FmPortParams>
#371: FILE: drivers/net/dpaa/dpaa_flow.c:41:
+ t_FmPortParams fm_port_params[DPAA_MAX_NUM_ETH_DEV];
CHECK:CAMELCASE: Avoid CamelCase: <t_FmPcdParams>
#384: FILE: drivers/net/dpaa/dpaa_flow.c:54:
+ t_FmPcdParams fmPcdParams = {0};
CHECK:CAMELCASE: Avoid CamelCase: <fmPcdParams>
#384: FILE: drivers/net/dpaa/dpaa_flow.c:54:
+ t_FmPcdParams fmPcdParams = {0};
CHECK:CAMELCASE: Avoid CamelCase: <FM_Open>
#387: FILE: drivers/net/dpaa/dpaa_flow.c:57:
+ fm_info.fman_handle = FM_Open(fman_id);
CHECK:CAMELCASE: Avoid CamelCase: <h_Fm>
#393: FILE: drivers/net/dpaa/dpaa_flow.c:63:
+ fmPcdParams.h_Fm = fm_info.fman_handle;
CHECK:CAMELCASE: Avoid CamelCase: <prsSupport>
#394: FILE: drivers/net/dpaa/dpaa_flow.c:64:
+ fmPcdParams.prsSupport = true;
CHECK:CAMELCASE: Avoid CamelCase: <kgSupport>
#395: FILE: drivers/net/dpaa/dpaa_flow.c:65:
+ fmPcdParams.kgSupport = true;
CHECK:CAMELCASE: Avoid CamelCase: <FM_PCD_Open>
#397: FILE: drivers/net/dpaa/dpaa_flow.c:67:
+ fm_info.pcd_handle = FM_PCD_Open(&fmPcdParams);
CHECK:CAMELCASE: Avoid CamelCase: <FM_PORT_Open>
#408: FILE: drivers/net/dpaa/dpaa_flow.c:78:
+ FM_PORT_Open(&fm_model.fm_port_params[devid]);
CHECK:CAMELCASE: Avoid CamelCase: <CreateDevice>
#409: FILE: drivers/net/dpaa/dpaa_flow.c:79:
+ dpaa_intf.scheme_handle[0] = CreateDevice(fm_info.pcd_handle,
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#479: FILE: drivers/net/dpaa/dpaa_flow.c:149:
+static inline int set_hashParams_eth(
CHECK:CAMELCASE: Avoid CamelCase: <set_hashParams_eth>
#479: FILE: drivers/net/dpaa/dpaa_flow.c:149:
+static inline int set_hashParams_eth(
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#504: FILE: drivers/net/dpaa/dpaa_flow.c:174:
+static inline int set_hashParams_ipv4(
CHECK:CAMELCASE: Avoid CamelCase: <set_hashParams_ipv4>
#504: FILE: drivers/net/dpaa/dpaa_flow.c:174:
+static inline int set_hashParams_ipv4(
CHECK:CAMELCASE: Avoid CamelCase: <HEADER_TYPE_IPv4>
#513: FILE: drivers/net/dpaa/dpaa_flow.c:183:
+ HEADER_TYPE_IPv4;
CHECK:CAMELCASE: Avoid CamelCase: <IOC_NET_HEADER_FIELD_IPv4_SRC_IP>
#520: FILE: drivers/net/dpaa/dpaa_flow.c:190:
+ IOC_NET_HEADER_FIELD_IPv4_SRC_IP;
CHECK:CAMELCASE: Avoid CamelCase: <IOC_NET_HEADER_FIELD_IPv4_DST_IP>
#523: FILE: drivers/net/dpaa/dpaa_flow.c:193:
+ IOC_NET_HEADER_FIELD_IPv4_DST_IP;
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#529: FILE: drivers/net/dpaa/dpaa_flow.c:199:
+static inline int set_hashParams_ipv6(
CHECK:CAMELCASE: Avoid CamelCase: <set_hashParams_ipv6>
#529: FILE: drivers/net/dpaa/dpaa_flow.c:199:
+static inline int set_hashParams_ipv6(
CHECK:CAMELCASE: Avoid CamelCase: <HEADER_TYPE_IPv6>
#538: FILE: drivers/net/dpaa/dpaa_flow.c:208:
+ HEADER_TYPE_IPv6;
CHECK:CAMELCASE: Avoid CamelCase: <IOC_NET_HEADER_FIELD_IPv6_SRC_IP>
#545: FILE: drivers/net/dpaa/dpaa_flow.c:215:
+ IOC_NET_HEADER_FIELD_IPv6_SRC_IP;
CHECK:CAMELCASE: Avoid CamelCase: <IOC_NET_HEADER_FIELD_IPv6_DST_IP>
#548: FILE: drivers/net/dpaa/dpaa_flow.c:218:
+ IOC_NET_HEADER_FIELD_IPv6_DST_IP;
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#554: FILE: drivers/net/dpaa/dpaa_flow.c:224:
+static inline int set_hashParams_udp(
CHECK:CAMELCASE: Avoid CamelCase: <set_hashParams_udp>
#554: FILE: drivers/net/dpaa/dpaa_flow.c:224:
+static inline int set_hashParams_udp(
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#579: FILE: drivers/net/dpaa/dpaa_flow.c:249:
+static inline int set_hashParams_tcp(
CHECK:CAMELCASE: Avoid CamelCase: <set_hashParams_tcp>
#579: FILE: drivers/net/dpaa/dpaa_flow.c:249:
+static inline int set_hashParams_tcp(
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#604: FILE: drivers/net/dpaa/dpaa_flow.c:274:
+static inline int set_hashParams_sctp(
CHECK:CAMELCASE: Avoid CamelCase: <set_hashParams_sctp>
#604: FILE: drivers/net/dpaa/dpaa_flow.c:274:
+static inline int set_hashParams_sctp(
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#630: FILE: drivers/net/dpaa/dpaa_flow.c:300:
+static int set_scheme_params(
CHECK:CAMELCASE: Avoid CamelCase: <FM_PORT_Disable>
#822: FILE: drivers/net/dpaa/dpaa_flow.c:492:
+ ret = FM_PORT_Disable(dpaa_intf->port_handle);
CHECK:CAMELCASE: Avoid CamelCase: <FM_PORT_SetPCD>
#829: FILE: drivers/net/dpaa/dpaa_flow.c:499:
+ ret = FM_PORT_SetPCD(dpaa_intf->port_handle, &pcd_param);
CHECK:CAMELCASE: Avoid CamelCase: <FM_PORT_Enable>
#836: FILE: drivers/net/dpaa/dpaa_flow.c:506:
+ ret = FM_PORT_Enable(dpaa_intf->port_handle);
CHECK:CAMELCASE: Avoid CamelCase: <FM_PORT_DeletePCD>
#846: FILE: drivers/net/dpaa/dpaa_flow.c:516:
+ ret = FM_PORT_DeletePCD(dpaa_intf->port_handle);
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#868: FILE: drivers/net/dpaa/dpaa_flow.c:538:
+ ret = FM_PCD_KgSchemeDelete(
CHECK:CAMELCASE: Avoid CamelCase: <FM_PCD_KgSchemeDelete>
#868: FILE: drivers/net/dpaa/dpaa_flow.c:538:
+ ret = FM_PCD_KgSchemeDelete(
CHECK:CAMELCASE: Avoid CamelCase: <FM_PCD_KgSchemeSet>
#909: FILE: drivers/net/dpaa/dpaa_flow.c:579:
+ FM_PCD_KgSchemeSet(fm_info.pcd_handle, &scheme_params);
CHECK:CAMELCASE: Avoid CamelCase: <GetDeviceId>
#918: FILE: drivers/net/dpaa/dpaa_flow.c:588:
+ GetDeviceId(dpaa_intf->scheme_handle[idx]);
CHECK:CAMELCASE: Avoid CamelCase: <portType>
#999: FILE: drivers/net/dpaa/dpaa_flow.c:669:
+ fm_port_params.portType = get_port_type(fif);
CHECK:CAMELCASE: Avoid CamelCase: <portId>
#1000: FILE: drivers/net/dpaa/dpaa_flow.c:670:
+ fm_port_params.portId = mac_idx[fif->mac_idx];
CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1018: FILE: drivers/net/dpaa/dpaa_flow.c:688:
+ dpaa_intf->netenv_handle = FM_PCD_NetEnvCharacteristicsSet(
CHECK:CAMELCASE: Avoid CamelCase: <FM_PCD_NetEnvCharacteristicsSet>
#1018: FILE: drivers/net/dpaa/dpaa_flow.c:688:
+ dpaa_intf->netenv_handle = FM_PCD_NetEnvCharacteristicsSet(
CHECK:CAMELCASE: Avoid CamelCase: <FM_PCD_NetEnvCharacteristicsDelete>
#1066: FILE: drivers/net/dpaa/dpaa_flow.c:736:
+ ret = FM_PCD_NetEnvCharacteristicsDelete(dpaa_intf->netenv_handle);
CHECK:CAMELCASE: Avoid CamelCase: <FM_PORT_Close>
#1074: FILE: drivers/net/dpaa/dpaa_flow.c:744:
+ FM_PORT_Close(dpaa_intf->port_handle);
CHECK:CAMELCASE: Avoid CamelCase: <FM_Close>
#1181: FILE: drivers/net/dpaa/dpaa_flow.c:851:
+ FM_Close(fman_handle);
CHECK:CAMELCASE: Avoid CamelCase: <FM_PCD_Enable>
#1187: FILE: drivers/net/dpaa/dpaa_flow.c:857:
+ ret = FM_PCD_Enable(pcd_handle);
CHECK:CAMELCASE: Avoid CamelCase: <FM_PCD_Close>
#1190: FILE: drivers/net/dpaa/dpaa_flow.c:860:
+ FM_PCD_Close(pcd_handle);
CHECK:CAMELCASE: Avoid CamelCase: <FM_PCD_Disable>
#1212: FILE: drivers/net/dpaa/dpaa_flow.c:882:
+ ret = FM_PCD_Disable(fm_info.pcd_handle);
total: 0 errors, 0 warnings, 48 checks, 1150 lines checked
Warning in /drivers/net/dpaa/dpaa_ethdev.c:
Using compiler attribute directly
parent reply other threads:[~2020-05-27 13:30 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20200527132326.1382-18-hemant.agrawal@nxp.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200527133024.5831F1DA7B@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=hemant.agrawal@nxp.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).