From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 154CB4410E for ; Thu, 30 May 2024 13:21:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 10A7B40E7C; Thu, 30 May 2024 13:21:24 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id BCECD402E4 for ; Thu, 30 May 2024 13:21:21 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id B960412367B; Thu, 30 May 2024 13:21:21 +0200 (CEST) Subject: |WARNING| pw140462 [PATCH v3 24/30] net/ixgbe/base: add support for NVM handling in E610 device In-Reply-To: <5578167c8ed177a6fba5e559e132990f8107bc60.1717067519.git.anatoly.burakov@intel.com> References: <5578167c8ed177a6fba5e559e132990f8107bc60.1717067519.git.anatoly.burakov@intel.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Anatoly Burakov Message-Id: <20240530112121.B960412367B@dpdk.org> Date: Thu, 30 May 2024 13:21:21 +0200 (CEST) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 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 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/140462 _coding style issues_ WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #105: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1845: + enum ixgbe_aci_res_access_type access) WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #138: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1878: + * ixgbe_aci_read_nvm - read NVM WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''? #147: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1887: + * Read the NVM using ACI command (0x0701). WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #151: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1891: +s32 ixgbe_aci_read_nvm(struct ixgbe_hw *hw, u16 module_typeid, u32 offset, WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #155: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1895: + struct ixgbe_aci_desc desc; WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #156: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1896: + struct ixgbe_aci_cmd_nvm *cmd; WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''? #160: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1900: + if (offset > IXGBE_ACI_NVM_MAX_OFFSET) WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #163: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1903: + ixgbe_fill_dflt_direct_cmd_desc(&desc, ixgbe_aci_opc_nvm_read); WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''? #165: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1905: + if (!read_shadow_ram && module_typeid == IXGBE_ACI_NVM_START_POINT) WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''? #166: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1906: + cmd->cmd_flags |= IXGBE_ACI_NVM_FLASH_ONLY; WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''? #170: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1910: + cmd->cmd_flags |= IXGBE_ACI_NVM_LAST_CMD; WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #176: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1916: + return ixgbe_aci_send_cmd(hw, &desc, data, length); WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''? #183: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1923: + * Verify NVM PFA checksum validity using ACI command (0x0706). WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #191: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1931: + struct ixgbe_aci_cmd_nvm_checksum *cmd; WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #192: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1932: + struct ixgbe_aci_desc desc; WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #201: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1941: + ixgbe_fill_dflt_direct_cmd_desc(&desc, ixgbe_aci_opc_nvm_checksum); WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''? #202: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1942: + cmd->flags = IXGBE_ACI_NVM_CHECKSUM_VERIFY; WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #204: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1944: + status = ixgbe_aci_send_cmd(hw, &desc, NULL, 0); WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''? #210: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1950: + IXGBE_ACI_NVM_CHECKSUM_CORRECT) { WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''? #223: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1963: + * Recalculate NVM PFA checksum using ACI command (0x0706). WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #230: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1970: + struct ixgbe_aci_cmd_nvm_checksum *cmd; WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #231: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1971: + struct ixgbe_aci_desc desc; WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #240: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1980: + ixgbe_fill_dflt_direct_cmd_desc(&desc, ixgbe_aci_opc_nvm_checksum); WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''? #241: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1981: + cmd->flags = IXGBE_ACI_NVM_CHECKSUM_RECALC; WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #243: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1983: + status = ixgbe_aci_send_cmd(hw, &desc, NULL, 0); WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #251: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1991: + * ixgbe_read_sr_word_aci - Reads Shadow RAM via ACI WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''? #251: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1991: + * ixgbe_read_sr_word_aci - Reads Shadow RAM via ACI WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #260: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2000: +s32 ixgbe_read_sr_word_aci(struct ixgbe_hw *hw, u16 offset, u16 *data) WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #312: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2052: + /* ixgbe_aci_read_nvm cannot read more than 4KB at a time. WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''? #316: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2056: + sector_offset = offset % IXGBE_ACI_MAX_BUFFER_SIZE; WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''? #318: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2058: + IXGBE_ACI_MAX_BUFFER_SIZE - sector_offset, WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #323: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2063: + /* ixgbe_aci_read_nvm takes the length as a u16. Our read_size WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''? #324: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2064: + * is calculated using a u32, but the IXGBE_ACI_MAX_BUFFER_SIZE WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #327: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2067: + status = ixgbe_aci_read_nvm(hw, IXGBE_ACI_NVM_START_POINT, WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''? #327: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2067: + status = ixgbe_aci_read_nvm(hw, IXGBE_ACI_NVM_START_POINT, WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #351: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2980: + * ixgbe_read_ee_aci_E610 - Read EEPROM word using the admin command. WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''? #356: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2985: + * Reads a 16 bit word from the EEPROM using the ACI. WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #363: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2992: +s32 ixgbe_read_ee_aci_E610(struct ixgbe_hw *hw, u16 offset, u16 *data) WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #377: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:3006: + status = ixgbe_read_sr_word_aci(hw, offset, data); WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #417: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:3046: + status = ixgbe_read_sr_word_aci(hw, E610_SR_SW_CHECKSUM_WORD, WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #436: FILE: drivers/net/ixgbe/base/ixgbe_e610.h:60: + enum ixgbe_aci_res_access_type access); WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #439: FILE: drivers/net/ixgbe/base/ixgbe_e610.h:63: +s32 ixgbe_aci_read_nvm(struct ixgbe_hw *hw, u16 module_typeid, u32 offset, WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #446: FILE: drivers/net/ixgbe/base/ixgbe_e610.h:70: +s32 ixgbe_read_sr_word_aci(struct ixgbe_hw *hw, u16 offset, u16 *data); WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''? #456: FILE: drivers/net/ixgbe/base/ixgbe_e610.h:107: +s32 ixgbe_read_ee_aci_E610(struct ixgbe_hw *hw, u16 offset, u16 *data); total: 0 errors, 44 warnings, 0 checks, 361 lines checked