#
58d6f89a |
| 11-Oct-2021 |
Igor Romanov <igor.romanov@oktetlabs.ru> |
net/sfc: implement representor Tx queue start/stop
Implement Tx queue start and stop in port representor proxy.
Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru> Signed-off-by: Andrew Rybchen
net/sfc: implement representor Tx queue start/stop
Implement Tx queue start and stop in port representor proxy.
Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Reviewed-by: Andy Moreton <amoreton@xilinx.com> Reviewed-by: Ivan Malov <ivan.malov@oktetlabs.ru>
show more ...
|
#
671735bb |
| 11-Oct-2021 |
Igor Romanov <igor.romanov@oktetlabs.ru> |
net/sfc: implement representor Rx queue start/stop
Add extra libefx flags to Rx queue information initialization function interface to be able to specify the ingress m-port flag for a representor Rx
net/sfc: implement representor Rx queue start/stop
Add extra libefx flags to Rx queue information initialization function interface to be able to specify the ingress m-port flag for a representor RxQ. Rx prefix of packets on that queue will contain ingress m-port field required for packet forwarding in representor proxy.
Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Reviewed-by: Andy Moreton <amoreton@xilinx.com> Reviewed-by: Ivan Malov <ivan.malov@oktetlabs.ru>
show more ...
|
#
689a5674 |
| 11-Oct-2021 |
Igor Romanov <igor.romanov@oktetlabs.ru> |
net/sfc: reserve queues for port representors
A Tx/Rx queue pair is required to forward traffic between port representors and virtual functions.
Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.
net/sfc: reserve queues for port representors
A Tx/Rx queue pair is required to forward traffic between port representors and virtual functions.
Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Reviewed-by: Andy Moreton <amoreton@xilinx.com> Reviewed-by: Ivan Malov <ivan.malov@oktetlabs.ru>
show more ...
|
#
983ce116 |
| 02-Jul-2021 |
Igor Romanov <igor.romanov@oktetlabs.ru> |
net/sfc: reserve internal Rx queue for counters
MAE delivers counters data as special packets via dedicated Rx queue. Reserve an RxQ so that it does not interfere with ethdev Rx queues. A routine wi
net/sfc: reserve internal Rx queue for counters
MAE delivers counters data as special packets via dedicated Rx queue. Reserve an RxQ so that it does not interfere with ethdev Rx queues. A routine will be added later to handle these packets.
There is no point to reserve the queue if no service cores are available and counters cannot be used.
Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Reviewed-by: Andy Moreton <amoreton@xilinx.com> Reviewed-by: Ivan Malov <ivan.malov@oktetlabs.ru>
show more ...
|
#
29b133bb |
| 02-Jul-2021 |
Igor Romanov <igor.romanov@oktetlabs.ru> |
net/sfc: add abstractions for the management EVQ identity
Add a function returning management event queue software index.
Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru> Signed-off-by: Andr
net/sfc: add abstractions for the management EVQ identity
Add a function returning management event queue software index.
Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Reviewed-by: Andy Moreton <amoreton@xilinx.com>
show more ...
|
#
db980d26 |
| 02-Jul-2021 |
Igor Romanov <igor.romanov@oktetlabs.ru> |
net/sfc: prepare for internal Tx queue
Make software index of a Tx queue and ethdev index separate. When an ethdev TxQ is accessed in ethdev callbacks, an explicit ethdev queue index is used.
Signe
net/sfc: prepare for internal Tx queue
Make software index of a Tx queue and ethdev index separate. When an ethdev TxQ is accessed in ethdev callbacks, an explicit ethdev queue index is used.
Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Reviewed-by: Andy Moreton <amoreton@xilinx.com> Reviewed-by: Ivan Malov <ivan.malov@oktetlabs.ru>
show more ...
|
#
09cafbdd |
| 02-Jul-2021 |
Igor Romanov <igor.romanov@oktetlabs.ru> |
net/sfc: prepare for internal Rx queue
Make software index of an Rx queue and ethdev index separate. When an ethdev RxQ is accessed in ethdev callbacks, an explicit ethdev queue index is used.
Sign
net/sfc: prepare for internal Rx queue
Make software index of an Rx queue and ethdev index separate. When an ethdev RxQ is accessed in ethdev callbacks, an explicit ethdev queue index is used.
Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Reviewed-by: Andy Moreton <amoreton@xilinx.com> Reviewed-by: Ivan Malov <ivan.malov@oktetlabs.ru>
show more ...
|
#
98d26ef7 |
| 11-Mar-2021 |
Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> |
net/sfc: update copyright year
Bump copyright year to 2021.
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
|
#
df96fd0d |
| 29-Jan-2021 |
Bruce Richardson <bruce.richardson@intel.com> |
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 <bruce.richardson@intel.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> Acked-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Steven Webster <steven.webster@windriver.com>
show more ...
|
#
a0147be5 |
| 30-Mar-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: add Xilinx copyright
Xilinx acquired Solarflare in 2019.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: James Fox <jamesfox@xilinx.com>
|
#
4279b54e |
| 06-Jun-2019 |
Georgiy Levashov <georgiy.levashov@oktetlabs.ru> |
net/sfc: support Rx interrupts for efx datapath
When Rx interrupts are disabled, we simply disable rearm when the interrupt fires the next time. So, the next packet will trigger interrupt (if it is
net/sfc: support Rx interrupts for efx datapath
When Rx interrupts are disabled, we simply disable rearm when the interrupt fires the next time. So, the next packet will trigger interrupt (if it is not happened yet after previous Rx burst processing).
Signed-off-by: Georgiy Levashov <georgiy.levashov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
d5371f3d |
| 07-Feb-2019 |
Igor Romanov <igor.romanov@oktetlabs.ru> |
net/sfc: use NIC EVQ descs limits instead of defines
Descriptor limits are not common for all NIC families. Use the variables from NIC configuration instead of deprecated defines.
Signed-off-by: Ig
net/sfc: use NIC EVQ descs limits instead of defines
Descriptor limits are not common for all NIC families. Use the variables from NIC configuration instead of deprecated defines.
Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
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 ...
|
#
44c0947b |
| 08-Jan-2018 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: change license to BSD-3-Clause
Change license from BSD-2-Clause to BSD-3-Clause. Bump copyright year.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Hemant Agrawal <
net/sfc: change license to BSD-3-Clause
Change license from BSD-2-Clause to BSD-3-Clause. Bump copyright year.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
47995190 |
| 31-Mar-2017 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: move event support init to attach stage
Prepare to fix device reconfigure. Device arguments should be parsed once on attach. Management event queue should be initialized once on attach.
Fi
net/sfc: move event support init to attach stage
Prepare to fix device reconfigure. Device arguments should be parsed once on attach. Management event queue should be initialized once on attach.
Fixes: 58294ee65afb ("net/sfc: support event queue") Fixes: c22d3c508e0c ("net/sfc: support parameter to choose performance profile") Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@solarflare.com>
show more ...
|
#
6caeec47 |
| 31-Mar-2017 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: remove EvQ info array to simplify reconfigure
EvQ info array keeps information about EvQ centralized, however EvQ pointers are available in TxQ and RxQ structures. Single array for all EvQs
net/sfc: remove EvQ info array to simplify reconfigure
EvQ info array keeps information about EvQ centralized, however EvQ pointers are available in TxQ and RxQ structures. Single array for all EvQs complicates device reconfigure handling, so simply git rid of it.
It removes notion of EvQ software index since there is no EvQ array in software any more.
Fixes: 58294ee65afb ("net/sfc: support event queue") Fixes: 9a75f75cb1f2 ("net/sfc: maintain management event queue") Fixes: ce35b05c635e ("net/sfc: implement Rx queue setup release operations") Fixes: 28944ac098aa ("net/sfc: implement Rx queue start and stop operations") Fixes: b1b7ad933b39 ("net/sfc: set up and release Tx queues") Fixes: fed9aeb46c19 ("net/sfc: implement transmit path start / stop") Fixes: 3b809c27b1fe ("net/sfc: support link status change interrupt") Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@solarflare.com>
show more ...
|
#
df456342 |
| 31-Mar-2017 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: remove flags from EvQ info
Next step to get rid of EvQ info at all.
Fixes: c22d3c508e0c ("net/sfc: support parameter to choose performance profile") Fixes: 3b809c27b1fe ("net/sfc: support
net/sfc: remove flags from EvQ info
Next step to get rid of EvQ info at all.
Fixes: c22d3c508e0c ("net/sfc: support parameter to choose performance profile") Fixes: 3b809c27b1fe ("net/sfc: support link status change interrupt") Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@solarflare.com>
show more ...
|
#
ec9217f9 |
| 31-Mar-2017 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: move EvQ entries to the EvQ control structure
EvQ info array is a problem on device reconfigure when number of Rx and Tx queues may change. It is a step to get rid of it.
Fixes: 58294ee65a
net/sfc: move EvQ entries to the EvQ control structure
EvQ info array is a problem on device reconfigure when number of Rx and Tx queues may change. It is a step to get rid of it.
Fixes: 58294ee65afb ("net/sfc: support event queue") Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@solarflare.com>
show more ...
|
#
a96eaf4e |
| 31-Mar-2017 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: remove unused max entries from EvQ info
Fixes: 58294ee65afb ("net/sfc: support event queue") Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: An
net/sfc: remove unused max entries from EvQ info
Fixes: 58294ee65afb ("net/sfc: support event queue") Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@solarflare.com>
show more ...
|
#
298951a4 |
| 31-Mar-2017 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: bind EvQ DMA space to EvQ type and type-local index
The index of an event queue index is computed from the index of the corresponding transmit or receive queue, and depends on the total num
net/sfc: bind EvQ DMA space to EvQ type and type-local index
The index of an event queue index is computed from the index of the corresponding transmit or receive queue, and depends on the total number of receive queues. As a consequence, the index of an event queue bound to a transmit queue changes if the total number of receive queues is changed.
Fixes: 58294ee65afb ("net/sfc: support event queue") Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@solarflare.com>
show more ...
|
#
dbdc8241 |
| 20-Mar-2017 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: factor out libefx-based Tx datapath
Split control and datapath to make datapath substitutable and possibly reusable with alternative control path.
libefx-based Tx datapath is bound to libe
net/sfc: factor out libefx-based Tx datapath
Split control and datapath to make datapath substitutable and possibly reusable with alternative control path.
libefx-based Tx datapath is bound to libefx control path, but it should be possible to use other datapaths with alternative control path(s).
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
df1bfde4 |
| 20-Mar-2017 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: factor out libefx-based Rx datapath
Split control and datapath to make datapath substitutable and possibly reusable with alternative control path.
libefx-based Rx datapath is bound to libe
net/sfc: factor out libefx-based Rx datapath
Split control and datapath to make datapath substitutable and possibly reusable with alternative control path.
libefx-based Rx datapath is bound to libefx control path, but other datapaths should be possible to use with alternative control path(s).
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
7965557e |
| 20-Mar-2017 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: use different callbacks for event queues
Use different sets of libefx EvQ callbacks for management, transmit and receive event queue. It makes event handling more robust against unexpected
net/sfc: use different callbacks for event queues
Use different sets of libefx EvQ callbacks for management, transmit and receive event queue. It makes event handling more robust against unexpected events.
Also it is required for alternative datapath support.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
244cfa79 |
| 16-Mar-2017 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: add missing BSD license line and update year
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
|
#
c22d3c50 |
| 15-Dec-2016 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: support parameter to choose performance profile
Supported options are auto (based on NIC firmware variant and installed licences), throughput, low-latency.
Signed-off-by: Andrew Rybchenko
net/sfc: support parameter to choose performance profile
Supported options are auto (based on NIC firmware variant and installed licences), throughput, low-latency.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andrew Lee <alee@solarflare.com> Reviewed-by: Robert Stonehouse <rstonehouse@solarflare.com>
show more ...
|