#
c2c4f87b |
| 25-Aug-2021 |
Aman Deep Singh <aman.deep.singh@intel.com> |
net: add macro for MAC address print
Added macro to print six bytes of MAC address. The MAC addresses will be printed in upper case hexadecimal format. In case there is a specific check for lower ca
net: add macro for MAC address print
Added macro to print six bytes of MAC address. The MAC addresses will be printed in upper case hexadecimal format. In case there is a specific check for lower case MAC address, the user may need to make a change in such test case after this patch.
Signed-off-by: Aman Deep Singh <aman.deep.singh@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
2352f348 |
| 08-Jul-2020 |
Rasesh Mody <rmody@marvell.com> |
net/qede/base: add changes for debug data collection
This patch adds base driver APIs required for debug data collection. It adds support for dumping internal lookup tables(ilt), reading nvram image
net/qede/base: add changes for debug data collection
This patch adds base driver APIs required for debug data collection. It adds support for dumping internal lookup tables(ilt), reading nvram image, register definitions.
Signed-off-by: Rasesh Mody <rmody@marvell.com> Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
show more ...
|
#
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 ...
|
#
f97b56f9 |
| 25-Apr-2020 |
Rasesh Mody <rmody@marvell.com> |
net/qede: support FW version query
Add support for get firmware version operation.
Get and dump multi boot image (MBI) version as part of get firmware version string along with Management firmware
net/qede: support FW version query
Add support for get firmware version operation.
Get and dump multi boot image (MBI) version as part of get firmware version string along with Management firmware (MFW) version. Use qede_fw_version_get() for PMD info logs.
Signed-off-by: Yash Sharma <ysharma@marvell.com> Signed-off-by: Rasesh Mody <rmody@marvell.com> Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
show more ...
|
#
db8af647 |
| 07-Nov-2019 |
Andrzej Ostruszka <aostruszka@marvell.com> |
net/qede: clean LTO warnings
During LTO build compiler reports some 'false positive' warnings about variables being possibly used uninitialized. This patch silences these warnings.
Exemplary compi
net/qede: clean LTO warnings
During LTO build compiler reports some 'false positive' warnings about variables being possibly used uninitialized. This patch silences these warnings.
Exemplary compiler warning to suppress (with LTO enabled): error: ‘transceiver_type’ may be used uninitialized in this function [-Werror=maybe-uninitialized] switch (transceiver_type) {
Signed-off-by: Andrzej Ostruszka <aostruszka@marvell.com>
show more ...
|
#
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 ...
|
#
7ed1cd53 |
| 06-Oct-2019 |
Rasesh Mody <rmody@marvell.com> |
net/qede/base: update HSI
Update hardware software common base driver code in preparation to update the firmware to version 8.40.25.0.
Signed-off-by: Rasesh Mody <rmody@marvell.com>
|
#
52fa735c |
| 06-Oct-2019 |
Rasesh Mody <rmody@marvell.com> |
net/qede/base: rename HSI datatypes and functions
This patch changes code with E4/E5/e4/e5/BB_K2 prefixes and suffixes. - HSI datatypes renaming - removed all e5 datatypes and renamed all e4 dat
net/qede/base: rename HSI datatypes and functions
This patch changes code with E4/E5/e4/e5/BB_K2 prefixes and suffixes. - HSI datatypes renaming - removed all e5 datatypes and renamed all e4 datatypes to be prefix less/suffix less. (s/_E4//; s/_e4//; s/E4_//). - HSI functions - removed e4/e5 prefixes/suffixes.
Signed-off-by: Rasesh Mody <rmody@marvell.com>
show more ...
|
#
6fa40355 |
| 06-Oct-2019 |
Rasesh Mody <rmody@marvell.com> |
net/qede/base: change MFW mailbox command log verbosity
Change management FW mailboxes DP_VERBOSE module to ECORE_MSG_HW
Signed-off-by: Rasesh Mody <rmody@marvell.com>
|
#
9ed26bc7 |
| 29-Sep-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: semantic changes
This patch consists of semantic/formatting changes.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
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 ...
|
#
23c5600a |
| 29-Sep-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: workaround to indicate SHMEM data ready
The driver can notify that there was an MCP reset and read the SHMEM values before the management FW has completed initializing them. As a temp
net/qede/base: workaround to indicate SHMEM data ready
The driver can notify that there was an MCP reset and read the SHMEM values before the management FW has completed initializing them. As a temporary solution, the "sup_msgs" field is used as a SHMEM data ready indication. This should be replaced with an actual indication when it is provided by the management FW.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
979582a1 |
| 08-Sep-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: use pointer for bytes length read
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
6d1be6d6 |
| 08-Sep-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: fix logic for sfp get/set
Fix logic for sfp get rx_los, tx_fault, tx_disable, and sfp set tx_disable.
Fixes: bdc40630a8eb ("net/qede/base: add APIs for xcvr") Cc: stable@dpdk.org
Si
net/qede/base: fix logic for sfp get/set
Fix logic for sfp get rx_los, tx_fault, tx_disable, and sfp set tx_disable.
Fixes: bdc40630a8eb ("net/qede/base: add APIs for xcvr") Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
657b762a |
| 08-Sep-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: correct MCP error handler log verbosity
Correct the verbosity for slowpath message from DCB to SP.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
ebbc55b8 |
| 08-Sep-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: add OneView APIs
Add support for the following OneView APIs: - ecore_mcp_ov_update_mtu() - Send MTU value to the management FW. - ecore_mcp_ov_update_mac() - Send MAC address to the
net/qede/base: add OneView APIs
Add support for the following OneView APIs: - ecore_mcp_ov_update_mtu() - Send MTU value to the management FW. - ecore_mcp_ov_update_mac() - Send MAC address to the management FW. - ecore_mcp_ov_update_eswitch() - Send eswitch_mode to management FW after the firmware load.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
cb719927 |
| 08-Sep-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: fix to handle stag update event
This fix adds a ecore_mcp_update_stag() handler to handle the STAG update events from management FW and program the STAG value. It also clears the stag
net/qede/base: fix to handle stag update event
This fix adds a ecore_mcp_update_stag() handler to handle the STAG update events from management FW and program the STAG value. It also clears the stag config on PF, when management FW invalidates the stag value.
Fixes: ec94dbc57362 ("qede: add base driver") Cc: stable@dpdk.org
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>
|
#
bdc40630 |
| 09-Apr-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: add APIs for xcvr
Add API to query transceiver info and to retrieve link speed.
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>
|
#
8aab5d6f |
| 07-Nov-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: fix device link structure
8ea656f8c app/testpmd: request link status interrupt requires QEDE PMD to populate the device link structure without having to query the driver for link status ch
net/qede: fix device link structure
8ea656f8c app/testpmd: request link status interrupt requires QEDE PMD to populate the device link structure without having to query the driver for link status change event. This patch updates the device link structure when link status event is received. Remove unused param from qed_link_update()
Fixes: 86a2265e59d7 ("qede: add SRIOV support") Fixes: ec94dbc57362 ("qede: add base driver") Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
8335b809 |
| 07-Oct-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: fix access to an uninitialized list
Fix an access to an uninitialized list when the management FW is not initialized by simply doing the list initialization always, at a previous step
net/qede/base: fix access to an uninitialized list
Fix an access to an uninitialized list when the management FW is not initialized by simply doing the list initialization always, at a previous step, before ecore_mcp_cmd_init() can stop in the middle and return.
Fixes: 22c996968bf7 ("net/qede/base: revise management FW mbox access scheme") Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
b9ebba32 |
| 07-Oct-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: code cleanup
- Remove some dead definitions, function declarations and unused variables - Remove an obsolete workaround from ecore_int_igu_enable() - Remove set variables that ar
net/qede/base: code cleanup
- Remove some dead definitions, function declarations and unused variables - Remove an obsolete workaround from ecore_int_igu_enable() - Remove set variables that are not used - Remove needless check in ecore_init_wfq_param() when configuring minimum vport BW. We already check whether total for all vports is greater than the PF's, so no need to check independently the current requested configuration as well.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
c68f27a2 |
| 07-Oct-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: semantic changes
- Move define CRC8_TABLE_SIZE to header file - Move/relocate ecore_vf_start() - Other semantic changes
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|