#
3b307c55 |
| 06-Oct-2019 |
Rasesh Mody <rmody@marvell.com> |
net/qede/base: update FW to 8.40.25.0
This patch updates the FW to 8.40.25.0 and corresponding base driver changes. It also updates the PMD version to 2.11.0.1. The FW updates consists of enhancemen
net/qede/base: update FW to 8.40.25.0
This patch updates the FW to 8.40.25.0 and corresponding base driver changes. It also updates the PMD version to 2.11.0.1. The FW updates consists of enhancements and fixes as described below.
- VF RX queue start ramrod can get stuck due to completion error. Return EQ completion with error, when fail to load VF data. Use VF FID in RX queue start ramrod - Fix big receive buffer initialization for 100G to address failure leading to BRB hardware assertion - GRE tunnel traffic doesn't run when non-L2 ethernet protocol is enabled, fix FW to not forward tunneled SYN packets to LL2. - Fix the FW assert that is caused during vport_update when tx-switching is enabled - Add initial FW support for VF Representors - Add ecore_get_hsi_def_val() API to get default HSI values - Move following from .c to .h files: TSTORM_QZONE_START and MSTORM_QZONE_START enum ilt_clients renamed struct ecore_dma_mem to phys_mem_desc and moved - Add ecore_cxt_set_cli() and ecore_cxt_set_blk() APIs to set client config and block details - Use SET_FIELD() macro where appropriate - Address spell check and code alignment issues
Signed-off-by: Rasesh Mody <rmody@marvell.com>
show more ...
|
#
3eed444a |
| 29-Sep-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: changes for 100G
Change details:
- Get engine affinity from the management FW and configure accordingly - Add an LLH filter with the primary MAC address in QPAR/NPAR - Move some o
net/qede/base: changes for 100G
Change details:
- Get engine affinity from the management FW and configure accordingly - Add an LLH filter with the primary MAC address in QPAR/NPAR - Move some of the LLH APIs around - Add PPFID APIs - Update all allocated ppfids with the same value for the following PORT_PF registers: NIG_REG_DSCP_TO_TC_MAP_ENABLE - Add port_id, src_pfid and dst_pfid to DMA engine params
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
3126df22 |
| 14-Jul-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: move SPDX tags to source files
We were using LICENSE.qede_pmd to reference inclusion of SPDX licensing tag from all the source file. Remove the LICENSE.qede_pmd file and directly include S
net/qede: move SPDX tags to source files
We were using LICENSE.qede_pmd to reference inclusion of SPDX licensing tag from all the source file. Remove the LICENSE.qede_pmd file and directly include SPDX tags in source files.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
9adde217 |
| 23-May-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: change copyright info to Cavium
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
2fdeb693 |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: support WoL writes
Add support programing of WoL Bitmap paterns via management FW mailbox.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
f5940e7d |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: support driver attribute repository
Add support for driver attributes repository in MFW and base driver.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
47af7019 |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: add UFP support
Add support for UFP (Unified Fabric Port) multi-function mode. It includes new APIs for reading UFP configuration, handling UFP events, retriving UFP status and UFP ra
net/qede/base: add UFP support
Add support for UFP (Unified Fabric Port) multi-function mode. It includes new APIs for reading UFP configuration, handling UFP events, retriving UFP status and UFP ramrod update etc.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
dd7b6aad |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: refactor device's number of ports logic
- Avoid having num_of_ports as 0 [to prevent a division by 0 via MFW_PORT()]. Also fix the MFW_PORT() macro for CMT. - Read the device's nu
net/qede/base: refactor device's number of ports logic
- Avoid having num_of_ports as 0 [to prevent a division by 0 via MFW_PORT()]. Also fix the MFW_PORT() macro for CMT. - Read the device's number of ports from shmem. - Rename num_ports_in_engines to num_ports_in_engine.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
30ecf673 |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: remove unused parameters
This is an attempt to clean up many unused API parameters across the base code. Most of the changes are related to removing unused p_hwfn or p_ptt handlers. T
net/qede/base: remove unused parameters
This is an attempt to clean up many unused API parameters across the base code. Most of the changes are related to removing unused p_hwfn or p_ptt handlers. The warnings are generated using 'unused-parameter' cflags.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
a474d1c1 |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: block mbox command to unresponsive MFW
Block sending of mailbox command to the management FW if it is not responsive. Use MCP_REG_CPU_STATE_SOFT_HALTED register to verify the MCP is a
net/qede/base: block mbox command to unresponsive MFW
Block sending of mailbox command to the management FW if it is not responsive. Use MCP_REG_CPU_STATE_SOFT_HALTED register to verify the MCP is actually halted after sending the halt command and before proceeding further.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
40a373fc |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: initialize resc lock/unlock params
Add a function that provides default initialization to resc lock/unlock parameters. Change acquire flow that use resources into using this function.
net/qede/base: initialize resc lock/unlock params
Add a function that provides default initialization to resc lock/unlock parameters. Change acquire flow that use resources into using this function.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
2292589a |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: remove helper functions/structures
- Remove an additional wrapper function ecore_mcp_nvm_command and instead use ecore_mcp_nvm_wr_cmd, ecore_mcp_nvm_rd_cmd or ecore_mcp_cmd APIs
net/qede/base: remove helper functions/structures
- Remove an additional wrapper function ecore_mcp_nvm_command and instead use ecore_mcp_nvm_wr_cmd, ecore_mcp_nvm_rd_cmd or ecore_mcp_cmd APIs directly as appropriate. - Remove struct ecore_mcp_nvm_params - Add new NVM command ECORE_EXT_PHY_FW_UPGRADE and fix the expected management FW responses in ecore_mcp_nvm_write() - Fail the NVM write process on any failing partial write
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
22c99696 |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: revise management FW mbox access scheme
Revise the manamgement FW mbox access locking scheme for the access to the MFW mailbox: - add a new linked list called cmd_list to ecore_mcp_i
net/qede/base: revise management FW mbox access scheme
Revise the manamgement FW mbox access locking scheme for the access to the MFW mailbox: - add a new linked list called cmd_list to ecore_mcp_info that tracks all the mailbox commands sent to management FW and ones waiting for response. - add a mutex lock called cmd_lock to ecore_mcp_info, a spinlock used to serialize the access to this cmd_list and makes sure that the mbox is not a pending one before sending a new mbox request. It protects the access to the mailbox commands list and sending of the commands. - add ecore_mcp_cmd_add|del|get_elem() APIs for new access scheme - remove ecore_mcp_mb_lock() and ecore_mcp_mb_unlock() - add a mutex lock called link_lock to ecore_mcp_info, a spinlock used for syncing SW link-changes and link-changes originating from attention context. This locking scheme prevents possible race conditions that may occur, such as during link status reporting. - Surround OSAL_{MUTEX,SPIN_LOCK}_{ALLOC,DEALLOC} with '#ifdef CONFIG_ECORE_LOCK_ALLOC'. In case memory has to be allocated for lock primitives, then compile driver with CONFIG_ECORE_LOCK_ALLOC flag.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
a064d7d2 |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: add mdump sub-commands
- Add support to retain/clear data for crash dump by introducing the mdump GET_RETAIN/CLR_RETAIN sub commands, new APIs ecore_mcp_mdump_get_retain() and e
net/qede/base: add mdump sub-commands
- Add support to retain/clear data for crash dump by introducing the mdump GET_RETAIN/CLR_RETAIN sub commands, new APIs ecore_mcp_mdump_get_retain() and ecore_mcp_mdump_clr_retain() - Avoid checking for mdump logs and data in case of an emulator - Fix "deadbeaf" returned value in case of pcie status command read fails (prevent false detection)
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
c5e11089 |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: alter driver's force load behavior
- Add an option to override the default force load behavior. - PMD will set the override force load parameter to ECORE_OVERRIDE_FORCE_LOAD_ALWAY
net/qede/base: alter driver's force load behavior
- Add an option to override the default force load behavior. - PMD will set the override force load parameter to ECORE_OVERRIDE_FORCE_LOAD_ALWAYS. - Modify the printout when a force load is required to include the loaded value - No need for 'default' when switching over enums and covering all the values.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
652ee28a |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: add SmartAN support
Add SmartAN feature that automatically detects peer switch capabilities which relieves users from fumbling with adapter and switch configuration Add new cmd DRV_MS
net/qede/base: add SmartAN support
Add SmartAN feature that automatically detects peer switch capabilities which relieves users from fumbling with adapter and switch configuration Add new cmd DRV_MSG_CODE_GET_MFW_FEATURE_SUPPORT. Add new SmartLinQ config method using NVM cfg options 239.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
60c78a5e |
| 24-Jul-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: fix recovery from previous ungraceful exit
This patch modifies the recovery flow to allow ongoing PCIe transactions to be completed. To achieve this, the load sequence is changed such
net/qede/base: fix recovery from previous ungraceful exit
This patch modifies the recovery flow to allow ongoing PCIe transactions to be completed. To achieve this, the load sequence is changed such that the "final_cleanup" notification is sent while the FID_enable is cleared. This change ensures that the chip cleanup actions takes place from previous driver instance if needed.
Fixes: ec94dbc57362 ("qede: add base driver") Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
39f0eb3b |
| 29-Mar-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: prevent race condition during unload
Merge hw_stop and hw_reset into one function. Prevent race condition between MFW attentions and pf stop command during unload flow that causes an
net/qede/base: prevent race condition during unload
Merge hw_stop and hw_reset into one function. Prevent race condition between MFW attentions and pf stop command during unload flow that causes an ASSERT.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
e32dc0f7 |
| 29-Mar-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: zero out MFW mailbox data
Zero the whole union data of the Management FW mailbox before copying the actual union member
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
49ca6a7b |
| 29-Mar-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: set max values for soft resources
Add support for the new interface with the Management FW for setting max values of "soft" resources.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.
net/qede/base: set max values for soft resources
Add support for the new interface with the Management FW for setting max values of "soft" resources.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
0b6bf70d |
| 29-Mar-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: support previous driver unload
New driver/management fw load request sequence for handling previous driver unload.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
8a20e270 |
| 29-Mar-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: add API for using MFW resource lock
Add base driver API for using the Management FW resource lock
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
43ef668c |
| 29-Mar-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: support handling TLV request from MFW
Add support for handling the TLV request from Management FW.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
f8da0cd6 |
| 05-Jan-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: retrieve FW crash dump info
As part of device probe, check if management FW crash dump logs are available. If available, then log an warning message and update the epoch value too. A
net/qede/base: retrieve FW crash dump info
As part of device probe, check if management FW crash dump logs are available. If available, then log an warning message and update the epoch value too. A new struct ecore_mdump_info is added to populate dump info including the new "reason" field by reading shared memory region.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
9e2f08a4 |
| 05-Jan-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: add request for PF FLR before load request
Add a request for PF Function Level Reset (FLR) before a load request
Fix the location of the PF FLR initiation to be after ecore_get_hw_in
net/qede/base: add request for PF FLR before load request
Add a request for PF Function Level Reset (FLR) before a load request
Fix the location of the PF FLR initiation to be after ecore_get_hw_info() (which invokes ecore_hw_info_port_num())
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|