From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9E88CA034E for ; Wed, 27 May 2020 15:30:30 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CDD1B1DA8D; Wed, 27 May 2020 15:30:27 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 5831F1DA7B; Wed, 27 May 2020 15:30:24 +0200 (CEST) In-Reply-To: <20200527132326.1382-18-hemant.agrawal@nxp.com> References: <20200527132326.1382-18-hemant.agrawal@nxp.com> To: test-report@dpdk.org Cc: Hemant Agrawal Message-Id: <20200527133024.5831F1DA7B@dpdk.org> Date: Wed, 27 May 2020 15:30:24 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw70622 [PATCH 17/37] net/dpaa: add support for fmcless mode X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/70622 _coding style issues_ CHECK:CAMELCASE: Avoid CamelCase: #363: FILE: drivers/net/dpaa/dpaa_flow.c:33: + t_Handle fman_handle; CHECK:CAMELCASE: Avoid CamelCase: #371: FILE: drivers/net/dpaa/dpaa_flow.c:41: + t_FmPortParams fm_port_params[DPAA_MAX_NUM_ETH_DEV]; CHECK:CAMELCASE: Avoid CamelCase: #384: FILE: drivers/net/dpaa/dpaa_flow.c:54: + t_FmPcdParams fmPcdParams = {0}; CHECK:CAMELCASE: Avoid CamelCase: #384: FILE: drivers/net/dpaa/dpaa_flow.c:54: + t_FmPcdParams fmPcdParams = {0}; CHECK:CAMELCASE: Avoid CamelCase: #387: FILE: drivers/net/dpaa/dpaa_flow.c:57: + fm_info.fman_handle = FM_Open(fman_id); CHECK:CAMELCASE: Avoid CamelCase: #393: FILE: drivers/net/dpaa/dpaa_flow.c:63: + fmPcdParams.h_Fm = fm_info.fman_handle; CHECK:CAMELCASE: Avoid CamelCase: #394: FILE: drivers/net/dpaa/dpaa_flow.c:64: + fmPcdParams.prsSupport = true; CHECK:CAMELCASE: Avoid CamelCase: #395: FILE: drivers/net/dpaa/dpaa_flow.c:65: + fmPcdParams.kgSupport = true; CHECK:CAMELCASE: Avoid CamelCase: #397: FILE: drivers/net/dpaa/dpaa_flow.c:67: + fm_info.pcd_handle = FM_PCD_Open(&fmPcdParams); CHECK:CAMELCASE: Avoid CamelCase: #408: FILE: drivers/net/dpaa/dpaa_flow.c:78: + FM_PORT_Open(&fm_model.fm_port_params[devid]); CHECK:CAMELCASE: Avoid CamelCase: #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: #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: #504: FILE: drivers/net/dpaa/dpaa_flow.c:174: +static inline int set_hashParams_ipv4( CHECK:CAMELCASE: Avoid CamelCase: #513: FILE: drivers/net/dpaa/dpaa_flow.c:183: + HEADER_TYPE_IPv4; CHECK:CAMELCASE: Avoid CamelCase: #520: FILE: drivers/net/dpaa/dpaa_flow.c:190: + IOC_NET_HEADER_FIELD_IPv4_SRC_IP; CHECK:CAMELCASE: Avoid CamelCase: #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: #529: FILE: drivers/net/dpaa/dpaa_flow.c:199: +static inline int set_hashParams_ipv6( CHECK:CAMELCASE: Avoid CamelCase: #538: FILE: drivers/net/dpaa/dpaa_flow.c:208: + HEADER_TYPE_IPv6; CHECK:CAMELCASE: Avoid CamelCase: #545: FILE: drivers/net/dpaa/dpaa_flow.c:215: + IOC_NET_HEADER_FIELD_IPv6_SRC_IP; CHECK:CAMELCASE: Avoid CamelCase: #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: #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: #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: #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: #822: FILE: drivers/net/dpaa/dpaa_flow.c:492: + ret = FM_PORT_Disable(dpaa_intf->port_handle); CHECK:CAMELCASE: Avoid CamelCase: #829: FILE: drivers/net/dpaa/dpaa_flow.c:499: + ret = FM_PORT_SetPCD(dpaa_intf->port_handle, &pcd_param); CHECK:CAMELCASE: Avoid CamelCase: #836: FILE: drivers/net/dpaa/dpaa_flow.c:506: + ret = FM_PORT_Enable(dpaa_intf->port_handle); CHECK:CAMELCASE: Avoid CamelCase: #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: #868: FILE: drivers/net/dpaa/dpaa_flow.c:538: + ret = FM_PCD_KgSchemeDelete( CHECK:CAMELCASE: Avoid CamelCase: #909: FILE: drivers/net/dpaa/dpaa_flow.c:579: + FM_PCD_KgSchemeSet(fm_info.pcd_handle, &scheme_params); CHECK:CAMELCASE: Avoid CamelCase: #918: FILE: drivers/net/dpaa/dpaa_flow.c:588: + GetDeviceId(dpaa_intf->scheme_handle[idx]); CHECK:CAMELCASE: Avoid CamelCase: #999: FILE: drivers/net/dpaa/dpaa_flow.c:669: + fm_port_params.portType = get_port_type(fif); CHECK:CAMELCASE: Avoid CamelCase: #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: #1018: FILE: drivers/net/dpaa/dpaa_flow.c:688: + dpaa_intf->netenv_handle = FM_PCD_NetEnvCharacteristicsSet( CHECK:CAMELCASE: Avoid CamelCase: #1066: FILE: drivers/net/dpaa/dpaa_flow.c:736: + ret = FM_PCD_NetEnvCharacteristicsDelete(dpaa_intf->netenv_handle); CHECK:CAMELCASE: Avoid CamelCase: #1074: FILE: drivers/net/dpaa/dpaa_flow.c:744: + FM_PORT_Close(dpaa_intf->port_handle); CHECK:CAMELCASE: Avoid CamelCase: #1181: FILE: drivers/net/dpaa/dpaa_flow.c:851: + FM_Close(fman_handle); CHECK:CAMELCASE: Avoid CamelCase: #1187: FILE: drivers/net/dpaa/dpaa_flow.c:857: + ret = FM_PCD_Enable(pcd_handle); CHECK:CAMELCASE: Avoid CamelCase: #1190: FILE: drivers/net/dpaa/dpaa_flow.c:860: + FM_PCD_Close(pcd_handle); CHECK:CAMELCASE: Avoid CamelCase: #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