#
df6e0a06 |
| 20-Oct-2017 |
Santosh Shukla <santosh.shukla@caviumnetworks.com> |
drivers/net: rename physical address type to IOVA
Renamed data type from phys_addr_t to rte_iova_t.
Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Reviewed-by: Anatoly Burakov <a
drivers/net: rename physical address type to IOVA
Renamed data type from phys_addr_t to rte_iova_t.
Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
70f1a93d |
| 07-Oct-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: add various OS abstraction macros
- Introduce OSAL_IOV_VF_VPORT_STOP to allow VF to carry out required operations and prevent a potential assert before closing vport - Add OSAL_DI
net/qede/base: add various OS abstraction macros
- Introduce OSAL_IOV_VF_VPORT_STOP to allow VF to carry out required operations and prevent a potential assert before closing vport - Add OSAL_DIV_S64() for 64-bit division on 32-bit platforms. - Add OSAL for transceiver update OSAL_TRANSCEIVER_UPDATE() - Add OSAL for MFW command preemption OSAL_MFW_CMD_PREEMPT() within the spinning loops while sending a mailbox command to the MFW - Implement OSAL_SPIN_LOCK_IRQSAVE macro - Rename OSAL_NUM_ACTIVE_CPU() to OSAL_NUM_CPUS()
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
81dba2b2 |
| 07-Oct-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: add LLDP support
This patch adds base driver LLDP protocol support and handle LLDP received TLV update events.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
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 ...
|
#
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 ...
|
#
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 ...
|
#
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 ...
|
#
ab6bf1d7 |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: restrict cache line size register padding
Add a restriction on the pad to cache line size register.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
03637634 |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: use crc32 OSAL macro
Move ecore_crc32() macro to within base driver to qede_crc32() and use OSAL_CRC32() where required.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
e1c9b999 |
| 01-Jul-2017 |
Harish Patil <harish.patil@cavium.com> |
net/qede: add notifying HW errors
Log HW errmsg on the stdout and do minimal handling to prevent HW attentions from being reasserted.
Signed-off-by: Harish Patil <harish.patil@cavium.com> Signed-of
net/qede: add notifying HW errors
Log HW errmsg on the stdout and do minimal handling to prevent HW attentions from being reasserted.
Signed-off-by: Harish Patil <harish.patil@cavium.com> Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
a39001d9 |
| 01-Jul-2017 |
Harish Patil <harish.patil@cavium.com> |
net/qede: fix DMA memory leak
Implement the macro OSAL_DMA_FREE_COHERENT to release DMA memories. Track all DMA memory allocations using an array of memzone pointers and use that to free memory reso
net/qede: fix DMA memory leak
Implement the macro OSAL_DMA_FREE_COHERENT to release DMA memories. Track all DMA memory allocations using an array of memzone pointers and use that to free memory resources along with other resource deallocation. With this change there is no need to alter the base code to additionally pass an unique string needed for memzone creation.
Fixes: ec94dbc57362 ("qede: add base driver") Cc: stable@dpdk.org
Signed-off-by: Harish Patil <harish.patil@cavium.com> 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>
|
#
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 ...
|
#
a261b214 |
| 29-Mar-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: change valloc to vzalloc
Change OSAL_VALLOC() into OSAL_VZALLOC() which would also zero memory.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
0b090fd3 |
| 29-Mar-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: support tunnelling for VF
Add new tunnelling support for VFs.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
a7f3cac3 |
| 29-Mar-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: change infrastructure for VF tunnelling
Infrastructure changes for VF tunnelling.
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>
|
#
5ef41193 |
| 29-Mar-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: revamp qm initialization
This patch revamps queue initialization.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.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>
|
#
74cd0312 |
| 18-Mar-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: fix to set pointers to NULL after freeing
Set pointers to NULL after freeing the allocations. Change OSAL_FREE macro to take care of this and cleanup relevant code.
Fixes: 26ae839d06
net/qede/base: fix to set pointers to NULL after freeing
Set pointers to NULL after freeing the allocations. Change OSAL_FREE macro to take care of this and cleanup relevant code.
Fixes: 26ae839d06e9 ("qede: add DCBX support") Fixes: ec94dbc57362 ("qede: add base driver")
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
94ce0796 |
| 18-Jan-2017 |
Santosh Shukla <santosh.shukla@caviumnetworks.com> |
net/qede: use I/O device memory read/write API
Replace the raw I/O device memory read/write access with eal abstraction for I/O device memory read/write access to fix portability issues across diffe
net/qede: use I/O device memory read/write API
Replace the raw I/O device memory read/write access with eal abstraction for I/O device memory read/write access to fix portability issues across different architectures.
CC: Harish Patil <harish.patil@cavium.com> CC: Rasesh Mody <rasesh.mody@cavium.com> Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
47b302d6 |
| 05-Jan-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: add handling of malicious VF
Receive indication that VFs are malicious and pass it to the caller/clients and stop serving those VF's additional resource requests.
Signed-off-by: Rase
net/qede/base: add handling of malicious VF
Receive indication that VFs are malicious and pass it to the caller/clients and stop serving those VF's additional resource requests.
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 ...
|
#
ffdd0599 |
| 19-Oct-2016 |
Harish Patil <harish.patil@qlogic.com> |
net/qede/base: change signature of MCP command
Change ecore_mcp_cmd_and_union() to accept pointer to a structure rather than accepting multiple arguments. A new struct ecore_mcp_mb_params is added f
net/qede/base: change signature of MCP command
Change ecore_mcp_cmd_and_union() to accept pointer to a structure rather than accepting multiple arguments. A new struct ecore_mcp_mb_params is added for that purpose. Also make this function static. This change is mostly keeping in mind the future requests which needs additional arguments.
Signed-off-by: Harish Patil <harish.patil@qlogic.com>
show more ...
|
#
8427c664 |
| 19-Oct-2016 |
Rasesh Mody <rasesh.mody@qlogic.com> |
net/qede/base: add attention formatting string
In case of attention from a signal that's represented by multiple bits in misc AEU, add the format string which is populated with proper index and resu
net/qede/base: add attention formatting string
In case of attention from a signal that's represented by multiple bits in misc AEU, add the format string which is populated with proper index and resulting prints will show string as a prefix.
Signed-off-by: Rasesh Mody <rasesh.mody@qlogic.com>
show more ...
|