#
1ef4c3a5 |
| 24-Mar-2017 |
Harish Patil <harish.patil@qlogic.com> |
net/qede: prevent crash while changing MTU dynamically
The driver can handle dynamic MTU change without needing the port to be stopped explicitly by the application. However, there is currently no c
net/qede: prevent crash while changing MTU dynamically
The driver can handle dynamic MTU change without needing the port to be stopped explicitly by the application. However, there is currently no check to prevent I/Os from happening on a different thread while the port is going thru' reset internally. This patch fixes this issue by assigning RX/TX burst functions to a dummy function and also reconfigure RX bufsize for each rx queue based on the new MTU value.
Fixes: 200645ac7909 ("net/qede: set MTU") Cc: stable@dpdk.org
Signed-off-by: Harish Patil <harish.patil@qlogic.com>
show more ...
|
#
8130abb3 |
| 24-Mar-2017 |
Harish Patil <harish.patil@qlogic.com> |
net/qede: fix VF RSS configuration
The newer SR-IOV PF drivers expects RX/TX queues to be created before applying RSS configuration. This patch addresses this requirement by deferring RSS configurat
net/qede: fix VF RSS configuration
The newer SR-IOV PF drivers expects RX/TX queues to be created before applying RSS configuration. This patch addresses this requirement by deferring RSS configuration till the queues are created. Even though this issue is only seen in SR-IOV context, the changes will be made applicable to PF also to keep the behavior consistent between VF/PF.
Fixes: 7ab35bf6b97b ("net/qede: fix RSS") Cc: stable@dpdk.org
Signed-off-by: Harish Patil <harish.patil@qlogic.com>
show more ...
|
#
82bd0987 |
| 24-Mar-2017 |
Harish Patil <harish.patil@qlogic.com> |
net/qede: fix missing UDP protocol in RSS offload types
Both UDP and TCP based RSS offload types are supported by the device. This patch adds UDP protocol which got missed out in the original patch.
net/qede: fix missing UDP protocol in RSS offload types
Both UDP and TCP based RSS offload types are supported by the device. This patch adds UDP protocol which got missed out in the original patch.
Fixes: 4c98f2768eef ("net/qede: support RSS hash configuration") Cc: stable@dpdk.org
Signed-off-by: Harish Patil <harish.patil@qlogic.com>
show more ...
|
#
29540be7 |
| 29-Mar-2017 |
Harish Patil <harish.patil@qlogic.com> |
net/qede: support LRO/TSO offloads
This patch includes slowpath configuration and fastpath changes to support LRO and TSO. A bit of revamping is needed in order to make use of existing packet classi
net/qede: support LRO/TSO offloads
This patch includes slowpath configuration and fastpath changes to support LRO and TSO. A bit of revamping is needed in order to make use of existing packet classification schemes in Rx fastpath and for SG element processing in Tx.
Signed-off-by: Harish Patil <harish.patil@qlogic.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 ...
|
#
69d7ba88 |
| 29-Mar-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: use L2-handles for RSS configuration
Move RSS configuration into using L2-handles instead of queue-ids.
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>
|
#
adce1f86 |
| 29-Mar-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: revise tunnel APIs/structs
Revise tunnel APIs/structs. - Unite tunnel start and update params in single struct "ecore_tunnel_info" - Remove A0 chip tunnelling support. - Added p
net/qede/base: revise tunnel APIs/structs
Revise tunnel APIs/structs. - Unite tunnel start and update params in single struct "ecore_tunnel_info" - Remove A0 chip tunnelling support. - Added per tunnel info - removed bitmasks.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
de5588af |
| 29-Mar-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: set driver type before sending load request
Set the drv_type before sending LOAD_REQ and remove the ver_str which is not used by the MFW
Signed-off-by: Rasesh Mody <rasesh.mody@caviu
net/qede/base: set driver type before sending load request
Set the drv_type before sending LOAD_REQ and remove the ver_str which is not used by the MFW
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
3320ca8c |
| 18-Mar-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: fix to prevent VF promisc config
VFs are seeing the number of MACs available to them as '0', and as a result configure themselves as PROMISC. This fix is to prevent that.
Fixes: 86a2
net/qede/base: fix to prevent VF promisc config
VFs are seeing the number of MACs available to them as '0', and as a result configure themselves as PROMISC. This fix is to prevent that.
Fixes: 86a2265e59d7 ("qede: add SRIOV support")
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
28a1fd4f |
| 26-Jan-2017 |
Ferruh Yigit <ferruh.yigit@intel.com> |
drivers/net: make PCI device id struct const
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
|
#
61a8429f |
| 06-Jan-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: change few log levels
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
06e83c4e |
| 06-Jan-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: fix per queue statisitics
If value of number of rxq/txq is different than RTE_ETHDEV_QUEUE_STAT_CNTRS, limit per queue stats/xstats to minimum of the two.
Fixes: 7634c5f91569 ("net/qede:
net/qede: fix per queue statisitics
If value of number of rxq/txq is different than RTE_ETHDEV_QUEUE_STAT_CNTRS, limit per queue stats/xstats to minimum of the two.
Fixes: 7634c5f91569 ("net/qede: add queue statistics")
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
f6033f24 |
| 06-Jan-2017 |
Harish Patil <harish.patil@qlogic.com> |
net/qede: fix minimum buffer size and scatter Rx check
- Fix minimum RX buffer size to 1024B - Force enable scatter/gather mode if given RX buf size is lesser than MTU - Adjust RX buffer size to
net/qede: fix minimum buffer size and scatter Rx check
- Fix minimum RX buffer size to 1024B - Force enable scatter/gather mode if given RX buf size is lesser than MTU - Adjust RX buffer size to cache-line size with overhead included
Fixes: bec0228816c0 ("net/qede: support scatter gather") Fixes: 2ea6f76aff40 ("qede: add core driver")
Signed-off-by: Harish Patil <harish.patil@qlogic.com>
show more ...
|
#
e6512107 |
| 05-Jan-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: add 50G device PCI id
Add 50G device support for 57980 series
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
77f72221 |
| 05-Jan-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: add PCI ids for new chip variant
Add PCI IDs for new asic type (defined as CHIP_NUM_AH_xxx). It supports 50G, 40G, 25G and 10G speeds.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
fb58ad9e |
| 23-Dec-2016 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: add vendor/device id info
The vendor_id and device_id are used to determine device type. If you don't have them, then check for determining device type fails and is always set to default d
net/qede: add vendor/device id info
The vendor_id and device_id are used to determine device type. If you don't have them, then check for determining device type fails and is always set to default device type.
Fixes: ec94dbc57362 ("qede: add base driver")
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
528fcfab |
| 23-Dec-2016 |
Harish Patil <harish.patil@qlogic.com> |
net/qede: restrict maximum queues for PF/VF
HW can support up to 128 queues based on the NIC config/personality. But most of the testing is done with 32 queues for PF and 16 for VF device across dif
net/qede: restrict maximum queues for PF/VF
HW can support up to 128 queues based on the NIC config/personality. But most of the testing is done with 32 queues for PF and 16 for VF device across different qede devices, so change here is to advertise only those many instead of returning max queues supported by HW.
Fixes: 2ea6f76aff40 ("qede: add core driver")
Signed-off-by: Harish Patil <harish.patil@qlogic.com>
show more ...
|
#
b7f714fd |
| 23-Dec-2016 |
Harish Patil <harish.patil@qlogic.com> |
net/qede: fix reporting PF driver as disabled
qede PMD does not support SR-IOV PF driver functionality, so max_vfs is set to 0 to imply the same.
Fixes: 2ea6f76aff40 ("qede: add core driver")
Sign
net/qede: fix reporting PF driver as disabled
qede PMD does not support SR-IOV PF driver functionality, so max_vfs is set to 0 to imply the same.
Fixes: 2ea6f76aff40 ("qede: add core driver")
Signed-off-by: Harish Patil <harish.patil@qlogic.com>
show more ...
|
#
7ab35bf6 |
| 23-Dec-2016 |
Harish Patil <harish.patil@qlogic.com> |
net/qede: fix RSS
This patch includes the following:
- Fix missing hash_key_size advertisement - Fix RSS hash query function - Update RSS offload flag - Accept user provided RSS configuration param
net/qede: fix RSS
This patch includes the following:
- Fix missing hash_key_size advertisement - Fix RSS hash query function - Update RSS offload flag - Accept user provided RSS configuration params via rx_adv_conf in dev_configure() - Decouple RSS configuration from common qed_update_vport() and instead make use of existing RSS APIs for default RSS configuration
Fixes: 6d9e26c42c0d ("net/qede: get RSS hash configuration") Fixes: 9c5d0a669f9b ("net/qede: fix RSS")
Signed-off-by: Harish Patil <harish.patil@qlogic.com>
show more ...
|
#
3d4bb441 |
| 23-Dec-2016 |
Harish Patil <harish.patil@qlogic.com> |
net/qede: add fastpath support for VXLAN tunneling
- Support HW checksum and RSS offload for VXLAN traffic - Identify inner/outer packet_types using lookup table - Update documentation
Signed-off-b
net/qede: add fastpath support for VXLAN tunneling
- Support HW checksum and RSS offload for VXLAN traffic - Identify inner/outer packet_types using lookup table - Update documentation
Signed-off-by: Harish Patil <harish.patil@qlogic.com>
show more ...
|
#
52d94b57 |
| 23-Dec-2016 |
Harish Patil <harish.patil@qlogic.com> |
net/qede: add slowpath support for VXLAN tunneling
- Enable/disable VXLAN tunneling - Add/remove VXLAN classification rules - Destination UDP port configuration
Signed-off-by: Harish Patil <harish.
net/qede: add slowpath support for VXLAN tunneling
- Enable/disable VXLAN tunneling - Add/remove VXLAN classification rules - Destination UDP port configuration
Signed-off-by: Harish Patil <harish.patil@qlogic.com>
show more ...
|
#
77fac1b5 |
| 23-Dec-2016 |
Harish Patil <harish.patil@qlogic.com> |
net/qede: fix filtering code
In qede_mac_addr_add() a check is added to differentiate between unicast/multicast mac to prevent a multicast mac from being wrongly added to unicast filter table. Secon
net/qede: fix filtering code
In qede_mac_addr_add() a check is added to differentiate between unicast/multicast mac to prevent a multicast mac from being wrongly added to unicast filter table. Secondly, two separate lists will be used to keep track of unicast/multicast mac filters to prevent duplicate filter programming. The other change is to remove filter_config from struct qed_eth_ops_pass and invoke the base APIs directly. This avoids the need to have multiple structs and function calls.
Fixes: 2ea6f76aff40 ("qede: add core driver")
Signed-off-by: Harish Patil <harish.patil@qlogic.com>
show more ...
|
#
d8577361 |
| 21-Nov-2016 |
David Marchand <david.marchand@6wind.com> |
net: remove dead driver names
Since commit b1fb53a39d88 ("ethdev: remove some PCI specific handling"), rte_eth_dev_info_get() relies on dev->data->drv_name to report the driver name to caller.
Havi
net: remove dead driver names
Since commit b1fb53a39d88 ("ethdev: remove some PCI specific handling"), rte_eth_dev_info_get() relies on dev->data->drv_name to report the driver name to caller.
Having the pmds set driver_info->driver_name in the pmds is useless, since ethdev overwrites it right after. The only thing the pmd must do is: - for pci drivers, call rte_eth_copy_pci_info() which then sets data->drv_name - for vdev drivers, manually set data->drv_name
At this stage, virtio-user does not properly report a driver name (fixed in next commit).
Signed-off-by: David Marchand <david.marchand@6wind.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com> Reviewed-by: Jan Blunck <jblunck@infradead.org>
show more ...
|
#
513c78ae |
| 16-Dec-2016 |
Olivier Matz <olivier.matz@6wind.com> |
ethdev: fix extended statistics name index
The function rte_eth_xstats_get() return an array of tuples (id, value). The value is the statistic counter, while the id references a name in the array re
ethdev: fix extended statistics name index
The function rte_eth_xstats_get() return an array of tuples (id, value). The value is the statistic counter, while the id references a name in the array returned by rte_eth_xstats_get_name().
Today, each 'id' returned by rte_eth_xstats_get() is equal to the index in the returned array, making this value useless. It also prevents a driver from having different indexes for names and value, like in the example below:
rte_eth_xstats_get_name() returns: 0: "rx0_stat" 1: "rx1_stat" 2: ... 7: "rx7_stat" 8: "tx0_stat" 9: "tx1_stat" ... 15: "tx7_stat"
rte_eth_xstats_get() returns: 0: id=0, val=<stat> ("rx0_stat") 1: id=1, val=<stat> ("rx1_stat") 2: id=8, val=<stat> ("tx0_stat") 3: id=9, val=<stat> ("tx1_stat")
This patch fixes the drivers to set the 'id' in their ethdev->xstats_get() (except e1000 which was already doing it), and fixes ethdev by not setting the 'id' field to the index of the table for pmd-specific stats: instead, they should just be shifted by the max number of generic statistics.
Fixes: bd6aa172cf35 ("ethdev: fetch extended statistics with integer ids")
Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Acked-by: Remy Horton <remy.horton@intel.com>
show more ...
|