#
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>
|
#
f28742ba |
| 14-May-2018 |
Andy Green <andy@warmcat.com> |
net/qede: fix strncpy
drivers/net/qede/qede_main.c: In function ‘qed_slowpath_start’: drivers/net/qede/qede_main.c:307:3: error: ‘strncpy’ output may be truncated copying 12 bytes from a string of l
net/qede: fix strncpy
drivers/net/qede/qede_main.c: In function ‘qed_slowpath_start’: drivers/net/qede/qede_main.c:307:3: error: ‘strncpy’ output may be truncated copying 12 bytes from a string of length 127 [-Werror=stringop-truncation] strncpy((char *)drv_version.name, (const char *)params->name, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MCP_DRV_VER_STR_SIZE - 4); ~~~~~~~~~~~~~~~~~~~~~~~~~
Fixes: 86a2265e59d7 ("qede: add SRIOV support") Cc: stable@dpdk.org
Signed-off-by: Andy Green <andy@warmcat.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
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 ...
|
#
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 ...
|
#
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 ...
|
#
a2dc43f3 |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: disable aRFS for NPAR and 100G
Disable accelerated RFS for NPAR and 100G using ECORE_MF_DISABLE_ARFS multi function mode bit.
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 ...
|
#
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 ...
|
#
c0845c33 |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: add new macro for CMT mode
- Add ECORE_IS_CMT macro (CMT: couple mode teaming) and use that in all the places where there are checks for number of HW functions per device > 1.
Signed
net/qede/base: add new macro for CMT mode
- Add ECORE_IS_CMT macro (CMT: couple mode teaming) and use that in all the places where there are checks for number of HW functions per device > 1.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
eafbc6fc |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: semantic changes
- Make ecore_dcbx_set_local_params(), ecore_cm_init_pf() as static - Remove src_proto() - remove reference to PROTOCOLID_TOE when determining whether a a protocol
net/qede/base: semantic changes
- Make ecore_dcbx_set_local_params(), ecore_cm_init_pf() as static - Remove src_proto() - remove reference to PROTOCOLID_TOE when determining whether a a protocol requires SRC ILT memory - Add auxiliary variables in various places - All other changes are simple semantic corrections
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 ...
|
#
3c6a3cf6 |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: add EEE support
- Base driver EEE (Energy efficient ethernet) support. - Provide supported-speed mask to driver though shared memory. - Read/use eee-supported capabilities value fro
net/qede/base: add EEE support
- Base driver EEE (Energy efficient ethernet) support. - Provide supported-speed mask to driver though shared memory. - Read/use eee-supported capabilities value from the shared memory. - Update qed_fill_link() to advertise the EEE capabilities.
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 ...
|
#
dc8eba81 |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: convert device type to enum
Add a new enum for device type and device type details to device info.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
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>
|
#
4ffa2af9 |
| 01-Jul-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: change debug verbosity of messages
Convert DP_NOTICE() to DP_ERR() as appropriate in PMD files. Change DP_NOTICE() macro to make use of boolean flag to log it as error message or informati
net/qede: change debug verbosity of messages
Convert DP_NOTICE() to DP_ERR() as appropriate in PMD files. Change DP_NOTICE() macro to make use of boolean flag to log it as error message or informational message.
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>
|
#
4c4bdadf |
| 07-Jun-2017 |
Harish Patil <harish.patil@cavium.com> |
net/qede: refactoring multi-queue implementation
This patch does the following refactoring and cleanup:
- As part of multi-queue support a struct member called 'type' was added in struct qede_fas
net/qede: refactoring multi-queue implementation
This patch does the following refactoring and cleanup:
- As part of multi-queue support a struct member called 'type' was added in struct qede_fastpath in order to identify whether a queue is RX or TX and take actions based on that. This was unnecessary in the first place since pointers to RX and TX queues are already available in rte_eth_dev->data. So all usage of fp->type is removed.
- Remove remaining additional layer of internal callbacks for RX/TX queues and fastpath related operations from the qed_eth_ops_pass. With this change the files qede_eth_if.[c,h] are no longer needed.
- Add new per-queue start/stop APIs instead of clubbing it all together.
- Remove multiple TXQs references (num_tc and fp->txqs) since CoS is not supported.
- Enable sharing of the status block for each queue pair.
- Remove enum qede_dev_state and instead make use of existing port states RTE_ETH_QUEUE_STATE_STOPPED/RTE_ETH_QUEUE_STATE_STARTED.
- Move qede_dev_start() and qede_dev_stop() to qede_ethdev.c from qede_rxtc.c.
Signed-off-by: Harish Patil <harish.patil@cavium.com>
show more ...
|
#
af785e47 |
| 25-Apr-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: fix CFLAGS for base files
Changes included in this fix - limit CFLAGS to base files - fix to remove/mark unused members - add checks for debug config option - make qede_set_mtu() and q
net/qede: fix CFLAGS for base files
Changes included in this fix - limit CFLAGS to base files - fix to remove/mark unused members - add checks for debug config option - make qede_set_mtu() and qede_udp_dst_port_del() static and others non-static as appropriate - move local APIs qede_vlan_offload_set() and qede_rx_cqe_to_pkt_type() - initialize variables as required
Fixes: ec94dbc57362 ("qede: add base driver") Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
c2069af8 |
| 25-Apr-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: fix code flow and remove unused code
Remove unused code to address coverity issues and address a code flow issue.
Coverity issue: 1379468 Coverity issue: 1379521 Coverity issue: 1379
net/qede/base: fix code flow and remove unused code
Remove unused code to address coverity issues and address a code flow issue.
Coverity issue: 1379468 Coverity issue: 1379521 Coverity issue: 1379522 Coverity issue: 1379523 Coverity issue: 1423918 Fixes: 86a2265e59d7 ("qede: add SRIOV support") Fixes: ec94dbc57362 ("qede: add base driver") Fixes: 2ea6f76aff40 ("qede: add core driver") Fixes: 29540be7efce ("net/qede: support LRO/TSO offloads") Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
738f56d4 |
| 25-Apr-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: fix FW version string for VF
In SRIOV testing, print adapter info shows firmware version used by PF, this patch provides fix to populate correct firmware version used by VF.
Fixes: 86a226
net/qede: fix FW version string for VF
In SRIOV testing, print adapter info shows firmware version used by PF, this patch provides fix to populate correct firmware version used by VF.
Fixes: 86a2265e59d7 ("qede: add SRIOV support") Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
62207535 |
| 29-Mar-2017 |
Harish Patil <harish.patil@qlogic.com> |
net/qede: support ntuple and flow director filter
Add limited support for ntuple filter and flow director configuration. The filtering is based on 4-tuples viz src-ip, dst-ip, src-port, dst-port. Th
net/qede: support ntuple and flow director filter
Add limited support for ntuple filter and flow director configuration. The filtering is based on 4-tuples viz src-ip, dst-ip, src-port, dst-port. The mask fields, tcp_flags, flex masks, priority fields, Rx queue drop etc are not supported.
Signed-off-by: Harish Patil <harish.patil@qlogic.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 ...
|