#
dd28bc8c |
| 03-Feb-2018 |
Harish Patil <harish.patil@cavium.com> |
net/qede: fix VF port creation sequence
Few adjustments are required to effectively handle VF vport create/delete sequence. The problem is exposed by recent ethdev TX offload changes which requires
net/qede: fix VF port creation sequence
Few adjustments are required to effectively handle VF vport create/delete sequence. The problem is exposed by recent ethdev TX offload changes which requires port to be in down state before applying TX offloads.
- Move vport creation from dev_init() to dev_configure() - Force to stop vport if it was already started due to previous run (restart case) - Move link state enable/disable to dev_init() and dev_close() respectively. - For MTU change, recreate vport with new MTU value and restore old config. This is necessary since VF MTU value can be changed only upon vport creation.
Fixes: ec94dbc57362 ("qede: add base driver") Cc: stable@dpdk.org
Signed-off-by: Harish Patil <harish.patil@cavium.com>
show more ...
|
#
f8ec9e2f |
| 27-Jan-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: update PMD version
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
ffc905f3 |
| 22-Jan-2018 |
Ferruh Yigit <ferruh.yigit@intel.com> |
ethdev: separate driver APIs
Create a rte_ethdev_driver.h file and move PMD specific APIs here. Drivers updated to include this new header file.
There is no update in header content and since ethde
ethdev: separate driver APIs
Create a rte_ethdev_driver.h file and move PMD specific APIs here. Drivers updated to include this new header file.
There is no update in header content and since ethdev.h included by ethdev_driver.h, nothing changed from driver point of view, only logically grouping of APIs. From applications point of view they can't access to driver specific APIs anymore and they shouldn't.
More PMD specific data structures still remain in ethdev.h because of inline functions in header use them. Those will be handled separately.
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com> Acked-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
f64b91b0 |
| 12-Jan-2018 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: replace config option with run-time arg
This patch adds support for handling run-time driver arguments. We have removed config option for per VF Tx switching and added a run-time argument
net/qede: replace config option with run-time arg
This patch adds support for handling run-time driver arguments. We have removed config option for per VF Tx switching and added a run-time argument vf_txswitch. By default, the VF Tx switching is enabled however it can be disabled using run-time argument.
Sample usage to disable per port VF Tx switching is something like...
-w 05:00.0,vf_txswitch=0 -w 05:00.1,vf_txswitch=0
Fixes: 1282943aa05b ("net/qede: fix default config option") Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
d378cefa |
| 14-Dec-2017 |
Shahed Shaikh <shahed.shaikh@cavium.com> |
net/qede: add support for GENEVE tunneling offload
This patch refactors existing VXLAN tunneling offload code and enables following features for GENEVE: - destination UDP port configuration - chec
net/qede: add support for GENEVE tunneling offload
This patch refactors existing VXLAN tunneling offload code and enables following features for GENEVE: - destination UDP port configuration - checksum offloads - filter configuration
Signed-off-by: Shahed Shaikh <shahed.shaikh@cavium.com> Acked-by: Rasesh Mody <rasesh.mody@cavium.com>
show more ...
|
#
a96b86a1 |
| 07-Nov-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: remove duplicate includes
Fixes: ec94dbc57362 ("qede: add base driver") Fixes: 2ea6f76aff40 ("qede: add core driver") Fixes: 622075356e8f ("net/qede: support ntuple and flow director filte
net/qede: remove duplicate includes
Fixes: ec94dbc57362 ("qede: add base driver") Fixes: 2ea6f76aff40 ("qede: add core driver") Fixes: 622075356e8f ("net/qede: support ntuple and flow director filter") Fixes: 52d94b57e1c7 ("net/qede: add slowpath support for VXLAN tunneling") Fixes: 8b3ee85efe11 ("net/qede: fix RSS table entries for 100G adapter") Cc: stable@dpdk.org
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 ...
|
#
e0947ed9 |
| 19-Oct-2017 |
Harish Patil <harish.patil@cavium.com> |
net/qede: add support for VXLAN UDP port config over VF
- Allow VXLAN enable/disable over VF using udp_tunnel_port_add/del APIs. Only default MAC/VLAN classification is supported. - Enable VxLAN b
net/qede: add support for VXLAN UDP port config over VF
- Allow VXLAN enable/disable over VF using udp_tunnel_port_add/del APIs. Only default MAC/VLAN classification is supported. - Enable VxLAN before UDP port configuration. - Change VxLAN default UDP port to 4789 instead of 8472.
Signed-off-by: Harish Patil <harish.patil@cavium.com>
show more ...
|
#
aa236095 |
| 19-Sep-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede/base: update PMD version to 2.6.0.1
Update QEDE PMD version to 2.6.0.1
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
22555a8c |
| 24-Jul-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: update PMD version 2.5.2.1
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
bc42e6d9 |
| 01-Jul-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: update PMD version to 2.5.1.1
Update the PMD version.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
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 ...
|
#
9a6d30ae |
| 07-Jun-2017 |
Harish Patil <harish.patil@cavium.com> |
net/qede: refactoring vport handling code
The refactoring is mainly for two reasons:
- To remove an additional layer of internal callbacks for all vport related operations from the struct qed_eth
net/qede: refactoring vport handling code
The refactoring is mainly for two reasons:
- To remove an additional layer of internal callbacks for all vport related operations from the struct qed_eth_ops_pass. Instead, we can invoke base APIs directly.
- Splitting a single large vport-update configuration into multiple and independent vport-update operations. Each configuration would touch only the required config bits that needs an update.
Signed-off-by: Harish Patil <harish.patil@cavium.com>
show more ...
|
#
8b3ee85e |
| 07-May-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: fix RSS table entries for 100G adapter
With the change in base APIs the logic for 100G handling needs to be adjusted to pass cid values instead for queue ids. The current API works assumin
net/qede: fix RSS table entries for 100G adapter
With the change in base APIs the logic for 100G handling needs to be adjusted to pass cid values instead for queue ids. The current API works assuming its queue id.
Fixes: 69d7ba88f1a1 ("net/qede/base: use L2-handles for RSS configuration")
Signed-off-by: Rasesh Mody <rasesh.mody@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 ...
|
#
a8ebf42f |
| 25-Apr-2017 |
Harish Patil <harish.patil@cavium.com> |
net/qede: use new stripped VLAN mbuf flags
Use new mbuf flags PKT_RX_VLAN_STRIPPED and PKT_RX_QINQ_STRIPPED introduced by the patch: commit b37b528d957c ("mbuf: add new Rx flags for stripped VLAN")
net/qede: use new stripped VLAN mbuf flags
Use new mbuf flags PKT_RX_VLAN_STRIPPED and PKT_RX_QINQ_STRIPPED introduced by the patch: commit b37b528d957c ("mbuf: add new Rx flags for stripped VLAN")
Signed-off-by: Harish Patil <harish.patil@cavium.com>
show more ...
|
#
fdf91e0f |
| 11-Apr-2017 |
Jan Blunck <jblunck@infradead.org> |
drivers/net: do not use ethdev driver
Signed-off-by: Jan Blunck <jblunck@infradead.org> Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
|
#
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 ...
|
#
755e3fa7 |
| 29-Mar-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: update PMD version to 2.4.0.1
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
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 ...
|
#
32408ddd |
| 05-Jan-2017 |
Rasesh Mody <rasesh.mody@cavium.com> |
net/qede: update PMD version to 2.0.0.1
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
|
#
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>
|