#
acc0ed08 |
| 24-Aug-2022 |
Amit Prakash Shukla <amitprakashs@marvell.com> |
net/qede/base: fix 32-bit build with GCC 12
A pointer is passed to a macro and it seems mistakenly referenced. This issue is seen only when compiling with GCC 12 for 32-bit:
drivers/net/qede/base/e
net/qede/base: fix 32-bit build with GCC 12
A pointer is passed to a macro and it seems mistakenly referenced. This issue is seen only when compiling with GCC 12 for 32-bit:
drivers/net/qede/base/ecore_init_fw_funcs.c:1418:25: error: array subscript 1 is outside array bounds of ‘u32[1]’ {aka ‘unsigned int[1]’} [-Werror=array-bounds] 1418 | ecore_wr(dev, ptt, ((addr) + (4 * i)), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1419 | ((u32 *)&(arr))[i]); \ | ~~~~~~~~~~~~~~~~~~~ drivers/net/qede/base/ecore_init_fw_funcs.c:1465:17: note: in expansion of macro ‘ARR_REG_WR’ 1465 | ARR_REG_WR(p_hwfn, p_ptt, addr, pData, len_in_dwords); | ^~~~~~~~~~ drivers/net/qede/base/ecore_init_fw_funcs.c:1439:35: note: at offset 4 into object ‘pData’ of size 4 1439 | u32 *pData, | ~~~~~^~~~~
Fixes: 3b307c55f2ac ("net/qede/base: update FW to 8.40.25.0") Cc: stable@dpdk.org
Signed-off-by: Amit Prakash Shukla <amitprakashs@marvell.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
58bb1ee4 |
| 20-Oct-2019 |
Rasesh Mody <rmody@marvell.com> |
net/qede/base: update FW to 8.40.33.0
In our testing we have identified a critical FW bug. Performance is degraded significantly for certain packet sizes with 8.40.25.0 FW.
This patch updates the F
net/qede/base: update FW to 8.40.33.0
In our testing we have identified a critical FW bug. Performance is degraded significantly for certain packet sizes with 8.40.25.0 FW.
This patch updates the FW to version 8.40.33.0. The updated FW has a fix to performance issue.
The patch also adds initialization for FW overlay RAM as part of hardware initialization which is required by the new FW.
Fixes: 3b307c55f2ac ("net/qede/base: update FW to 8.40.25.0") Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rmody@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 ...
|
#
3c361686 |
| 29-Sep-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: upgrade to FW 8.37.7.0
This patch adds changes to base driver for upgrading to 8.37.3.0 FW.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
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>
|
#
c2817ba4 |
| 09-Apr-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: upgrade FW to 8.33.12.0
This patch adds changes to support new firmware 8.33.12.0. The changes consist of FW bug fixes and enhancements.
Signed-off-by: Rasesh Mody <rasesh.mody@caviu
net/qede/base: upgrade FW to 8.33.12.0
This patch adds changes to support new firmware 8.33.12.0. The changes consist of FW bug fixes and enhancements.
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>
|
#
40cf1e75 |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: update firmware to 8.30.12.0
Upgrade QEDE PMD FW to version 8.30.12.0.
The firmware upgrade change details are as: - Add support for steering by IP and UDP destination port. - Add
net/qede/base: update firmware to 8.30.12.0
Upgrade QEDE PMD FW to version 8.30.12.0.
The firmware upgrade change details are as: - Add support for steering by IP and UDP destination port. - Add source QP field for GSI offload. - Add UFP support. - Add support for outer IPv4 TX CSO with unknown tunnel type (in addition to inner header CSO). - Support flow ID in accelerated RFS flow. - Allow Doorbell on empty SPQ and LL2 TX queue (for doorbell recovery). - Enable PCI Relaxed Ordering for L2 RX data placement. - Additional enhancements and bug fixes
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 ...
|
#
2e2f392b |
| 07-Jun-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: upgrade the FW to 8.20.0.0
This patch adds changes to upgrade to 8.20.0.0 FW.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
53437002 |
| 29-Mar-2017 |
Harish Patil <harish.patil@qlogic.com> |
net/qede/base: support ARFS mode
Add base driver APIs to enable accelerated RFS[aRFS] mode and ramrod to configure rfs and ntuple filter.
Signed-off-by: Harish Patil <harish.patil@qlogic.com>
|
#
806474a6 |
| 29-Mar-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: upgrade the FW to 8.18.9.0
This patchset adds changes to upgrade to 8.18.9.0 FW.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
679fe2e4 |
| 23-Jan-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: fix FreeBSD build
This patch addresses compilation errors on FreeBSD with clang 3.8.0.
drivers/net/qede/base/ecore_cxt.c:1257:2: error: shifting a negative signed value is undef
net/qede/base: fix FreeBSD build
This patch addresses compilation errors on FreeBSD with clang 3.8.0.
drivers/net/qede/base/ecore_cxt.c:1257:2: error: shifting a negative signed value is undefined SET_FIELD(cdu_params, CDUC_NCIB, elems_per_page); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/qede/base/ecore.h:82:27: note: expanded from macro 'SET_FIELD' (value) &= ~(name##_MASK << name##_SHIFT); ~~~~~~~~~~~ ^
Fixes: ec94dbc57362 ("qede: add base driver") Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com> Tested-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
869c47d0 |
| 05-Jan-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: add support for new firmware
Add support for 8.14.x.x firmware.
The new firmware adds support for external PHY BCM8485x; configures fixed link speed with transceiver/cable not suppor
net/qede/base: add support for new firmware
Add support for 8.14.x.x firmware.
The new firmware adds support for external PHY BCM8485x; configures fixed link speed with transceiver/cable not supporting negotiation; supports engine swap; supports overriding PCIe preset equalization value; checks pause too long for ports and reads die temperature every second for shutdown threshold. It includes change in FLR flow when there is a SW initiated FLR.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
22d07d93 |
| 19-Oct-2016 |
Rasesh Mody <rasesh.mody@qlogic.com> |
net/qede/base: update
This patch updates the base driver and incorporates necessary changes required to bring in the new firmware 8.10.9.0.
In addition, it would allow driver to add new functionali
net/qede/base: update
This patch updates the base driver and incorporates necessary changes required to bring in the new firmware 8.10.9.0.
In addition, it would allow driver to add new functionalities that might be needed in future.
Signed-off-by: Rasesh Mody <rasesh.mody@qlogic.com>
show more ...
|
#
9455b556 |
| 19-Oct-2016 |
Rasesh Mody <rasesh.mody@qlogic.com> |
net/qede/base: update formatting and comments
Change details: - adds new comments - modifies some of the existing comments - abstract code into macros - split long lines
Signed-off-by: Rasesh M
net/qede/base: update formatting and comments
Change details: - adds new comments - modifies some of the existing comments - abstract code into macros - split long lines
Signed-off-by: Rasesh Mody <rasesh.mody@qlogic.com>
show more ...
|
#
d2e7d931 |
| 19-Oct-2016 |
Rasesh Mody <rasesh.mody@qlogic.com> |
net/qede/base: formatting changes
Fixes white spaces and tabs.
Signed-off-by: Rasesh Mody <rasesh.mody@qlogic.com>
|
#
c018d2b4 |
| 19-Oct-2016 |
Rasesh Mody <rasesh.mody@qlogic.com> |
net/qede/base: add new files and rearrange the code
Added ecore_hsi_debug_tools.h, ecore_hsi_init_func.h, ecore_hsi_init_tool.h files. Rearranged code from ecore_hsi_common.h and ecore_hsi_tools.h t
net/qede/base: add new files and rearrange the code
Added ecore_hsi_debug_tools.h, ecore_hsi_init_func.h, ecore_hsi_init_tool.h files. Rearranged code from ecore_hsi_common.h and ecore_hsi_tools.h to the new files. Removed unused code.
Signed-off-by: Rasesh Mody <rasesh.mody@qlogic.com>
show more ...
|
#
ec94dbc5 |
| 27-Apr-2016 |
Rasesh Mody <rasesh.mody@qlogic.com> |
qede: add base driver
The base driver is the backend module for the QLogic FastLinQ QL4xxxx 25G/40G CNA family of adapters as well as their virtual functions (VF) in SR-IOV context.
The purpose of
qede: add base driver
The base driver is the backend module for the QLogic FastLinQ QL4xxxx 25G/40G CNA family of adapters as well as their virtual functions (VF) in SR-IOV context.
The purpose of the base module is to: - provide all the common code that will be shared between the various drivers that would be used with said line of products. Flows such as chip initialization and de-initialization fall under this category. - abstract the protocol-specific HW & FW components, allowing the protocol drivers to have clean APIs, which are detached in its slowpath configuration from the actual Hardware Software Interface(HSI).
This patch adds a base module without any protocol-specific bits. I.e., this adds a basic implementation that almost entirely falls under the first category.
Signed-off-by: Harish Patil <harish.patil@qlogic.com> Signed-off-by: Rasesh Mody <rasesh.mody@qlogic.com> Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
show more ...
|