|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1 |
|
| #
1cd22be2 |
| 30-Sep-2021 |
Nikhil Vasoya <[email protected]> |
net/cxgbe: support firmware version query
Implement eth_dev_ops callback to get firmware version.
Signed-off-by: Nikhil Vasoya <[email protected]> Signed-off-by: Rahul Lakkireddy <rahul.lak
net/cxgbe: support firmware version query
Implement eth_dev_ops callback to get firmware version.
Signed-off-by: Nikhil Vasoya <[email protected]> Signed-off-by: Rahul Lakkireddy <[email protected]>
show more ...
|
| #
5ec659a7 |
| 30-Sep-2021 |
Nikhil Vasoya <[email protected]> |
net/cxgbe: support xstats for VF
Add support to fetch port and queue stats via xstats API. Also remove queue stats from basic stats because they're now available via xstats API for the VF.
Signed-o
net/cxgbe: support xstats for VF
Add support to fetch port and queue stats via xstats API. Also remove queue stats from basic stats because they're now available via xstats API for the VF.
Signed-off-by: Nikhil Vasoya <[email protected]> Signed-off-by: Rahul Lakkireddy <[email protected]>
show more ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1, v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2 |
|
| #
df96fd0d |
| 29-Jan-2021 |
Bruce Richardson <[email protected]> |
ethdev: make driver-only headers private
The rte_ethdev_driver.h, rte_ethdev_vdev.h and rte_ethdev_pci.h files are for drivers only and should be a private to DPDK and not installed.
Signed-off-by:
ethdev: make driver-only headers private
The rte_ethdev_driver.h, rte_ethdev_vdev.h and rte_ethdev_pci.h files are for drivers only and should be a private to DPDK and not installed.
Signed-off-by: Bruce Richardson <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]> Acked-by: Thomas Monjalon <[email protected]> Acked-by: Steven Webster <[email protected]>
show more ...
|
|
Revision tags: v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2, v20.11-rc1 |
|
| #
8a5a0aad |
| 16-Oct-2020 |
Thomas Monjalon <[email protected]> |
ethdev: allow close function to return an error
The API function rte_eth_dev_close() was returning void. The return type is changed to int for notifying of errors.
If an error happens during a clos
ethdev: allow close function to return an error
The API function rte_eth_dev_close() was returning void. The return type is changed to int for notifying of errors.
If an error happens during a close operation, the status of the port is undefined, a maximum of resources having been freed.
Signed-off-by: Thomas Monjalon <[email protected]> Reviewed-by: Liron Himi <[email protected]> Acked-by: Stephen Hemminger <[email protected]> Acked-by: Andrew Rybchenko <[email protected]> Reviewed-by: Ferruh Yigit <[email protected]>
show more ...
|
| #
7b3d5298 |
| 11-Sep-2020 |
Rahul Lakkireddy <[email protected]> |
net/cxgbe: rework queue allocation between ports
Firmware returns the max queues that can be allocated on the entire PF. The driver evenly distributes them across all the ports belonging to the PF.
net/cxgbe: rework queue allocation between ports
Firmware returns the max queues that can be allocated on the entire PF. The driver evenly distributes them across all the ports belonging to the PF. However, some ports may need more queues than others and this equal distribution scheme prevents accessing these other ports unused queues. So, remove the equal distribution scheme and allow the ports to allocate as many queues as they need.
Also remove the hardcoded 64 max limit on queue allocation. Instead, use the max limit given by firmware.
Signed-off-by: Rahul Lakkireddy <[email protected]>
show more ...
|
| #
11df4a68 |
| 01-Sep-2020 |
Rahul Lakkireddy <[email protected]> |
net/cxgbe: release port resources during port close
Enable RTE_ETH_DEV_CLOSE_REMOVE during PCI probe for all ports enumerated under the PF. Free up the underlying port Virtual Identifier (VI) and as
net/cxgbe: release port resources during port close
Enable RTE_ETH_DEV_CLOSE_REMOVE during PCI probe for all ports enumerated under the PF. Free up the underlying port Virtual Identifier (VI) and associated resources during port close. Once all the ports under the PF are closed, free up the PF-wide shared resources. Invoke port close function of all ports under the PF, in PCI remove too.
Signed-off-by: Rahul Lakkireddy <[email protected]>
show more ...
|
|
Revision tags: v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1, v20.05, v20.05-rc4, v20.05-rc3, v20.05-rc2, v20.05-rc1, v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2, v20.02-rc1, v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2, v19.11-rc1 |
|
| #
fa033437 |
| 27-Sep-2019 |
Rahul Lakkireddy <[email protected]> |
net/cxgbe: add devarg to control Tx coalescing
Remove compile time option to control Tx coalescing Latency vs Throughput behavior. Add tx_mode_latency devarg instead, to dynamically control Tx coale
net/cxgbe: add devarg to control Tx coalescing
Remove compile time option to control Tx coalescing Latency vs Throughput behavior. Add tx_mode_latency devarg instead, to dynamically control Tx coalescing behavior.
Signed-off-by: Rahul Lakkireddy <[email protected]>
show more ...
|
| #
dd7c9f12 |
| 27-Sep-2019 |
Rahul Lakkireddy <[email protected]> |
net/cxgbe: separate VF only devargs
Rework devargs parsing logic to separate VF only args.
Signed-off-by: Rahul Lakkireddy <[email protected]>
|
|
Revision tags: v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1 |
|
| #
63a97e58 |
| 29-May-2019 |
Stephen Hemminger <[email protected]> |
net/cxgbe: remove unnecessary cast
The device private pointer (dev_private) is of type void * therefore no cast is necessary in C.
Cc: [email protected]
Signed-off-by: Stephen Hemminger <stephen@net
net/cxgbe: remove unnecessary cast
The device private pointer (dev_private) is of type void * therefore no cast is necessary in C.
Cc: [email protected]
Signed-off-by: Stephen Hemminger <[email protected]> Reviewed-by: Ferruh Yigit <[email protected]>
show more ...
|
|
Revision tags: v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2, v19.05-rc1 |
|
| #
01b5e419 |
| 04-Mar-2019 |
David Marchand <[email protected]> |
net/cxgbe: fix RxQ errors stat
Transmit errors must not be reported in q_errors[] which is for reception.
Fixes: 856505d303f4 ("cxgbe: add port statistics") Fixes: a0a344a8f728 ("net/cxgbe: add VF
net/cxgbe: fix RxQ errors stat
Transmit errors must not be reported in q_errors[] which is for reception.
Fixes: 856505d303f4 ("cxgbe: add port statistics") Fixes: a0a344a8f728 ("net/cxgbe: add VF port statistics") Cc: [email protected]
Signed-off-by: David Marchand <[email protected]> Reviewed-by: Ferruh Yigit <[email protected]>
show more ...
|
|
Revision tags: v19.02, v19.02-rc4, v19.02-rc3, v19.02-rc2, v19.02-rc1 |
|
| #
89c8bd95 |
| 19-Dec-2018 |
Rahul Lakkireddy <[email protected]> |
net/cxgbe: use relative paths for includes
The Intel C++ compiler is not able to locate the header files without relative paths in Windows build. Following errors are seen for these header files.
C
net/cxgbe: use relative paths for includes
The Intel C++ compiler is not able to locate the header files without relative paths in Windows build. Following errors are seen for these header files.
C:\> base\common.h(9): error : cannot open source file "cxgbe_compat.h" #include "cxgbe_compat.h" ^ [...]
Fix by explicitly stating header file location using relative paths. Also, remove automatically including header files for Linux, to keep it consistent across both OS.
Build Environment: 1. Target OS: Microsoft Windows Server 2016 2. Compiler: Intel C++ Compiler from Intel Parallel Studio XE 2019 [1] 3. Development Tools: 3.1 Microsoft Visual Studio 2017 Professional 3.2 Windows Software Development Kit (SDK) v10.0.17763 3.3 Windows Driver Kit (WDK) v10.0.17763
[1] https://software.intel.com/en-us/parallel-studio-xe
Signed-off-by: Rahul Lakkireddy <[email protected]>
show more ...
|
|
Revision tags: v18.11, v18.11-rc5, v18.11-rc4, v18.11-rc3 |
|
| #
854f4bf0 |
| 09-Nov-2018 |
Rahul Lakkireddy <[email protected]> |
net/cxgbevf: add PCI uninitialization for VF
Fixes: 2195df6d11bd ("net/cxgbe: rework ethdev device allocation") Cc: [email protected]
Signed-off-by: Rahul Lakkireddy <[email protected]>
|
|
Revision tags: v18.11-rc2, v18.11-rc1, v18.08, v18.08-rc3, v18.08-rc2, v18.08-rc1 |
|
| #
d67692ba |
| 29-Jun-2018 |
Rahul Lakkireddy <[email protected]> |
net/cxgbevf: add missing Tx byte counters
Fixes: a0a344a8f728 ("net/cxgbe: add VF port statistics") Cc: [email protected]
Signed-off-by: Rahul Lakkireddy <[email protected]>
|
| #
265af08e |
| 29-Jun-2018 |
Rahul Lakkireddy <[email protected]> |
net/cxgbe: add link up and down ops
Add ops to set link up and down for both PF and VF. If wait_to_complete is set, poll for link update for up to 10 seconds max.
Original work by Surendra Mobiya <
net/cxgbe: add link up and down ops
Add ops to set link up and down for both PF and VF. If wait_to_complete is set, poll for link update for up to 10 seconds max.
Original work by Surendra Mobiya <[email protected]>
Signed-off-by: Rahul Lakkireddy <[email protected]>
show more ...
|
|
Revision tags: v18.05, v18.05-rc6, v18.05-rc5, v18.05-rc4, v18.05-rc3 |
|
| #
fbe90cdd |
| 10-May-2018 |
Thomas Monjalon <[email protected]> |
ethdev: add probing finish function
A new hook function is added and called inside the PMDs at the end of the device probing: - in primary process, after allocating, init and config - in secondary
ethdev: add probing finish function
A new hook function is added and called inside the PMDs at the end of the device probing: - in primary process, after allocating, init and config - in secondary process, after attaching and local init
This new function is almost empty for now. It will be used later to add some post-initialization processing.
For the PMDs calling the helpers rte_eth_dev_create() or rte_eth_dev_pci_generic_probe(), the hook rte_eth_dev_probing_finish() is called from here, and not in the PMD itself.
Note that the helper rte_eth_dev_create() could be used more, especially for vdevs, avoiding some code duplication in PMDs.
Cc: [email protected]
Signed-off-by: Thomas Monjalon <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]> Reviewed-by: Stephen Hemminger <[email protected]>
show more ...
|
|
Revision tags: v18.05-rc2, v18.05-rc1 |
|
| #
0c4a5dfc |
| 10-Mar-2018 |
Kumar Sanghvi <[email protected]> |
net/cxgbe: support setting MAC address
Signed-off-by: Kumar Sanghvi <[email protected]> Signed-off-by: Rahul Lakkireddy <[email protected]>
|
| #
a0a344a8 |
| 10-Mar-2018 |
Kumar Sanghvi <[email protected]> |
net/cxgbe: add VF port statistics
Signed-off-by: Kumar Sanghvi <[email protected]> Signed-off-by: Rahul Lakkireddy <[email protected]>
|
| #
880ead4e |
| 10-Mar-2018 |
Kumar Sanghvi <[email protected]> |
net/cxgbe: update Tx and Rx path for VF
On TX path, add fw_eth_tx_pkt_vm_wr to transmit packets over VF. Use is_pf4() to correctly calculate the work request size and offsets within the work request
net/cxgbe: update Tx and Rx path for VF
On TX path, add fw_eth_tx_pkt_vm_wr to transmit packets over VF. Use is_pf4() to correctly calculate the work request size and offsets within the work request. On RX path, use pktshift to adjust data offset within the mbuf.
Signed-off-by: Kumar Sanghvi <[email protected]> Signed-off-by: Rahul Lakkireddy <[email protected]>
show more ...
|
| #
5e80364a |
| 10-Mar-2018 |
Kumar Sanghvi <[email protected]> |
net/cxgbe: add probe to initialize VF devices
Add probe to initialize VF devices. Separate init/de-init paths for PF and VF. Do firmware state initialization wrt VF and retrieve various operationa
net/cxgbe: add probe to initialize VF devices
Add probe to initialize VF devices. Separate init/de-init paths for PF and VF. Do firmware state initialization wrt VF and retrieve various operational parameters by querying firmware. Finally configure and initialize ports.
Signed-off-by: Kumar Sanghvi <[email protected]> Signed-off-by: Rahul Lakkireddy <[email protected]>
show more ...
|
| #
011ebc23 |
| 10-Mar-2018 |
Kumar Sanghvi <[email protected]> |
net/cxgbe: add skeleton VF driver
Add minimal VF driver. Declare functions common to both PF and VF functionality in separate header file and import the header file.
Signed-off-by: Kumar Sanghvi <
net/cxgbe: add skeleton VF driver
Add minimal VF driver. Declare functions common to both PF and VF functionality in separate header file and import the header file.
Signed-off-by: Kumar Sanghvi <[email protected]> Signed-off-by: Rahul Lakkireddy <[email protected]>
show more ...
|