#
5018f1fc |
| 27-Apr-2020 |
Joyce Kong <joyce.kong@arm.com> |
net/qede: use common bit operations API
Remove its own bit operation APIs and use the common one, this can reduce the code duplication largely.
Signed-off-by: Joyce Kong <joyce.kong@arm.com> Review
net/qede: use common bit operations API
Remove its own bit operation APIs and use the common one, this can reduce the code duplication largely.
Signed-off-by: Joyce Kong <joyce.kong@arm.com> Reviewed-by: Gavin Hu <gavin.hu@arm.com>
show more ...
|
#
f44ca48c |
| 06-Feb-2020 |
Manish Chopra <manishc@marvell.com> |
net/qede: fix VF reload
On ungraceful termination of DPDK application, PMD VF driver fails to re-load due to PF seeing the VF in unexpected state during VF acquisition handshake.
This patch fixes i
net/qede: fix VF reload
On ungraceful termination of DPDK application, PMD VF driver fails to re-load due to PF seeing the VF in unexpected state during VF acquisition handshake.
This patch fixes it by allowing VF to request the PF for soft FLR during the load in such cases so that it can get cleanly re-loaded.
Fixes: 2ea6f76aff40 ("qede: add core driver") Cc: stable@dpdk.org
Signed-off-by: Manish Chopra <manishc@marvell.com> Signed-off-by: Shahed Shaikh <shshaikh@marvell.com> Signed-off-by: Rasesh Mody <rmody@marvell.com> Acked-by: Rasesh Mody <rmody@marvell.com>
show more ...
|
#
ea85629f |
| 06-Oct-2019 |
Rasesh Mody <rmody@marvell.com> |
net/qede/base: move DMAE to HSI
Move DMA engine (DMAE) structures from base driver to HSI module. Use DMAE_PARAMS_* in place of ECORE_DMAE_FLAG_*. Enforce SET_FIELD() macro where appropriate.
Signe
net/qede/base: move DMAE to HSI
Move DMA engine (DMAE) structures from base driver to HSI module. Use DMAE_PARAMS_* in place of ECORE_DMAE_FLAG_*. Enforce SET_FIELD() macro where appropriate.
Signed-off-by: Rasesh Mody <rmody@marvell.com>
show more ...
|
#
2c0784eb |
| 12-Sep-2019 |
Shahed Shaikh <shshaikh@marvell.com> |
net/qede: implement flow drop action
Add support to configure drop action in rte_flow infrastructure and add counter for dropped packets due to this filter action "rx_gft_filter_drop".
Also, update
net/qede: implement flow drop action
Add support to configure drop action in rte_flow infrastructure and add counter for dropped packets due to this filter action "rx_gft_filter_drop".
Also, update supported flows and actions in qede guide.
Signed-off-by: Shahed Shaikh <shshaikh@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 ...
|
#
bf03492a |
| 29-Sep-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: add mf-bit/API for FIP special mode
Add mf-bit/API for FIP special mode.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
3f11cf06 |
| 08-Sep-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: limit number of non ethernet queues to 64
Limit the number of non ethernet queues to 64, allowing a max queues to status block ratio of 2:1 in case of storage target. Theoretically a
net/qede/base: limit number of non ethernet queues to 64
Limit the number of non ethernet queues to 64, allowing a max queues to status block ratio of 2:1 in case of storage target. Theoretically a non-target storage PF can have 128 queues and SBs.
This change is to support 64 entries for a target iSCSI/FCoE PF and 128 for a non-target.
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>
|
#
76d37490 |
| 09-Apr-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: support packet pacing
Add packet pacing support for PFs. ecore client can request for enabling packet pacing at init time, if requested then ecore is going to skip MCoS and SRIOV conf
net/qede/base: support packet pacing
Add packet pacing support for PFs. ecore client can request for enabling packet pacing at init time, if requested then ecore is going to skip MCoS and SRIOV configurations.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
803a4cf0 |
| 09-Apr-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: add stats counter for link state
Add link_change_count counter to track number of link state transitions
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
98abf84e |
| 09-Apr-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: refine error handling
Adjust the verbosity of the log messages and add preventive checks for errors.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
2d52085e |
| 09-Apr-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: support MFW for driver load timeout
Add SPQ timeout base driver parameter support management FW timeout values other than default and none. Have fallback mechanism for old MFWs. Reduc
net/qede/base: support MFW for driver load timeout
Add SPQ timeout base driver parameter support management FW timeout values other than default and none. Have fallback mechanism for old MFWs. Reduce the default timeout to 1 sec.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
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 ...
|
#
823a84aa |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: read per queue coalescing from HW
Add base driver API to read per queue coalescing from hardware. Move ecore_set_rxq|txq_coalesce() declarations to ecore_l2.h.
Signed-off-by: Rasesh
net/qede/base: read per queue coalescing from HW
Add base driver API to read per queue coalescing from hardware. Move ecore_set_rxq|txq_coalesce() declarations to ecore_l2.h.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
e916697f |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: support doorbell overflow recovery
Add support for doorbell overflow recovery mechanism: The doorbell recovery mechanism consists of a list of entries which represent doorbelling enti
net/qede/base: support doorbell overflow recovery
Add support for doorbell overflow recovery mechanism: The doorbell recovery mechanism consists of a list of entries which represent doorbelling entities (l2 queues, roce sq/rq/cqs, the slowpath spq, etc). Each entity needs to register with the mechanism and provide the parameters describing it's doorbell, including a location where last used doorbell data can be found. The doorbell execute function will traverse the list and doorbell all of the registered entries.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
739a5b2f |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: use passed ptt handler
Use the ptt[PF translation table] handler that is passed rather than using main ptt from the HW function. In ecore_hw_get_resc()'s error flow, release the MFW g
net/qede/base: use passed ptt handler
Use the ptt[PF translation table] handler that is passed rather than using main ptt from the HW function. In ecore_hw_get_resc()'s error flow, release the MFW generic resource lock only if needed. Change the verbosity level of GRC timeout from DP_INFO() to DP_NOTICE(). Reduce verbosity of print in ecore_hw_bar_size().
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 ...
|
#
9c1aa3e1 |
| 24-Jul-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: fix for adapter specific stats
Handle different MAC statistic fields between two chip variants by reading the MAC counters from the adapter suitable statistics bins.
Fixes: ec94dbc57
net/qede/base: fix for adapter specific stats
Handle different MAC statistic fields between two chip variants by reading the MAC counters from the adapter suitable statistics bins.
Fixes: ec94dbc57362 ("qede: add base driver") Cc: stable@dpdk.org
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 ...
|
#
3d5083f2 |
| 01-Jul-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: set mdump flag
Set allow management FW dump flag during HW prepare.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
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 ...
|
#
6b8962e0 |
| 29-Mar-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: support coalescing for VF
Add coalescing support for VFs.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
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>
|
#
adce1f86 |
| 29-Mar-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: revise tunnel APIs/structs
Revise tunnel APIs/structs. - Unite tunnel start and update params in single struct "ecore_tunnel_info" - Remove A0 chip tunnelling support. - Added p
net/qede/base: revise tunnel APIs/structs
Revise tunnel APIs/structs. - Unite tunnel start and update params in single struct "ecore_tunnel_info" - Remove A0 chip tunnelling support. - Added per tunnel info - removed bitmasks.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|