#
f7ecea91 |
| 28-Sep-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: fix interrupt handler
In some cases the interrupt handler is accessing cpr, which has already been freed causing segfaults. This patch avoids such accesses.
Fixes: 7bc8e9a227cc ("net/bnxt
net/bnxt: fix interrupt handler
In some cases the interrupt handler is accessing cpr, which has already been freed causing segfaults. This patch avoids such accesses.
Fixes: 7bc8e9a227cc ("net/bnxt: support async link notification") Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
4be4659a |
| 09-Jun-2017 |
Ferruh Yigit <ferruh.yigit@intel.com> |
drivers/net: use device name from device structure
Device name resides in two different locations, in rte_device->name and in ethernet device private data.
For now, the copy in the ethernet device
drivers/net: use device name from device structure
Device name resides in two different locations, in rte_device->name and in ethernet device private data.
For now, the copy in the ethernet device private data is required for multi process support, the name is the how secondary process finds about primary process device.
But for drivers there is no reason to use the copy in the ethernet device private data.
This patch updates PMDs to use only rte_device->name.
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
4535cad3 |
| 01-Jun-2017 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: handle VF/PF initialization appropriately
1) For a VF, query the firmware to determine if a MAC address is already configured. If not configure a random default MAC address.
2) Do not
net/bnxt: handle VF/PF initialization appropriately
1) For a VF, query the firmware to determine if a MAC address is already configured. If not configure a random default MAC address.
2) Do not initialize the default completion ring in bnxt_alloc_hwrm_rings().
3) While registering for async events with the firmware, use func_vf_cfg for a VF and use func_cfg for a PF.
4) Query the VNIC plcmode config using the bnxt_hwrm_vnic_plcmodes_qcfg before a VNIC is updated. Reconfigure the VNIC with the plcmode configuration queried earlier. Not doing this could overwrite the plcmodes in some cases.
5) Reorg the bnxt_handle_fwd_req to properly handle the forwarded requests. The previous code did not handle it completely.
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|
#
c23a1a30 |
| 06-Apr-2017 |
Qi Zhang <qi.z.zhang@intel.com> |
eal: clean up interrupt handle
The patch change the prototype of callback function (rte_intr_callback_fn) by removing the unnecessary parameter.
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
|
#
7bc8e9a2 |
| 11-Oct-2016 |
Ajit Khaparde <ajit.khaparde@broadcom.com> |
net/bnxt: support async link notification
This patch adds support to get Link notification asynchronously. The HW sends async notifications on default completion ring. The PMD processes these notifi
net/bnxt: support async link notification
This patch adds support to get Link notification asynchronously. The HW sends async notifications on default completion ring. The PMD processes these notifications and logs a message appropriately.
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
show more ...
|