|
Revision tags: v24.07-rc2, v24.07-rc1, v24.03, v24.03-rc4, v24.03-rc3, v24.03-rc2, v24.03-rc1, v23.11, v23.11-rc4, v23.11-rc3, v23.11-rc2, v23.11-rc1, v23.07, v23.07-rc4, v23.07-rc3, v23.07-rc2, v23.07-rc1 |
|
| #
8e582cf5 |
| 04-Apr-2023 |
David Marchand <david.marchand@redhat.com> |
net/sfc: inherit lock annotations
Due to clang limitation, inline helpers don't inherit lock annotations from the EAL lock API. Replace them with macros.
One additional change is required in sfc_ev
net/sfc: inherit lock annotations
Due to clang limitation, inline helpers don't inherit lock annotations from the EAL lock API. Replace them with macros.
One additional change is required in sfc_ev_qpoll() so that clang does see the same lock is being manipulated.
Signed-off-by: David Marchand <david.marchand@redhat.com>
show more ...
|
|
Revision tags: v23.03, v23.03-rc4, v23.03-rc3, v23.03-rc2, v23.03-rc1, v22.11, v22.11-rc4, v22.11-rc3, v22.11-rc2, v22.11-rc1, v22.07, v22.07-rc4, v22.07-rc3, v22.07-rc2, v22.07-rc1, v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3 |
|
| #
3037e6cf |
| 17-Nov-2021 |
Viacheslav Galaktionov <viacheslav.galaktionov@oktetlabs.ru> |
net/sfc: support regioned NIC DMA memory mapping type
DMA on SN1022 SoC requires extra mapping of the memory via MCDI.
Signed-off-by: Viacheslav Galaktionov <viacheslav.galaktionov@oktetlabs.ru> Si
net/sfc: support regioned NIC DMA memory mapping type
DMA on SN1022 SoC requires extra mapping of the memory via MCDI.
Signed-off-by: Viacheslav Galaktionov <viacheslav.galaktionov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Reviewed-by: Ivan Malov <ivan.malov@oktetlabs.ru>
show more ...
|
|
Revision tags: v21.11-rc2, v21.11-rc1, v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1 |
|
| #
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 ...
|
| #
70451221 |
| 02-Jul-2021 |
Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> |
net/sfc: explicitly control IRQ used for Rx queues
Interrupts support has assumptions on interrupt numbers used for LSC and Rx queues. The first interrupt is used for LSC, subsequent interrupts are
net/sfc: explicitly control IRQ used for Rx queues
Interrupts support has assumptions on interrupt numbers used for LSC and Rx queues. The first interrupt is used for LSC, subsequent interrupts are used for Rx queues.
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Reviewed-by: Andy Moreton <amoreton@xilinx.com>
show more ...
|
| #
396541fe |
| 02-Jul-2021 |
Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> |
net/sfc: do not enable interrupts on internal Rx queues
rxq_intr flag requests support for interrupt mode for ethdev Rx queues. There is no internal Rx queues yet.
Signed-off-by: Andrew Rybchenko <
net/sfc: do not enable interrupts on internal Rx queues
rxq_intr flag requests support for interrupt mode for ethdev Rx queues. There is no internal Rx queues yet.
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@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 ...
|
|
Revision tags: v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1 |
|
| #
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>
|
|
Revision tags: v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2, v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2, v20.11-rc1 |
|
| #
83c31c99 |
| 13-Oct-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: implement libefx Tx descs complete event callbacks
These callbacks are used when event queue is polled via libefx. The libefx polling is used for management event queue, but we do not expec
net/sfc: implement libefx Tx descs complete event callbacks
These callbacks are used when event queue is polled via libefx. The libefx polling is used for management event queue, but we do not expect any Tx complete events on it, and for datapath event queue at flushing.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
| #
3379085a |
| 13-Oct-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: implement libefx Rx packets event callbacks
These callbacks are used when event queue is polled via libefx. The libefx polling is used for management event queue, but we do not expect any R
net/sfc: implement libefx Rx packets event callbacks
These callbacks are used when event queue is polled via libefx. The libefx polling is used for management event queue, but we do not expect any Rx events on it, and for datapath event queue at flushing (when these events are typically ignored, since queue is being stopped).
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
| #
f8a60f76 |
| 24-Sep-2020 |
Andy Moreton <amoreton@xilinx.com> |
common/sfc_efx/base: support creation of extended width EvQ
Add a flag to request an extended width event queue, and check that the supplied buffer is large enough to hold the event queue descriptor
common/sfc_efx/base: support creation of extended width EvQ
Add a flag to request an extended width event queue, and check that the supplied buffer is large enough to hold the event queue descriptors.
Signed-off-by: Andy Moreton <amoreton@xilinx.com> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
| #
92fedcd3 |
| 24-Sep-2020 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
common/sfc_efx/base: complete EvQ creation on Riverhead
Client drivers relying on interrupts will fail to complete event queue creation on Riverhead boards as the latter have no support for INIT_DON
common/sfc_efx/base: complete EvQ creation on Riverhead
Client drivers relying on interrupts will fail to complete event queue creation on Riverhead boards as the latter have no support for INIT_DONE events which means that it's useless to wait until initialisation callback is triggered by interrupt-driven polling.
Client drivers which avoid interrupt-driven polling still handle INIT_DONE events by direct polling and will fail to do so.
Solve this problem by adding an extra poll-once method which will be called by client drivers after queue creation (probably, with driver-specific lock being held). The method will invoke initialisation callback on Riverhead and do nothing on the other boards. Then the drivers will proceed with normal waiting which will complete immediately in the case of Riverhead.
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@xilinx.com>
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 |
|
| #
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>
|
|
Revision tags: 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 |
|
| #
282b72cd |
| 06-Sep-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: fix missing notification on link status change
rte_eth_linkstatus_set() returns 0 when link up status changes.
Fixes: 4abe903e5078 ("net/sfc: use link status helper functions") Cc: stable@
net/sfc: fix missing notification on link status change
rte_eth_linkstatus_set() returns 0 when link up status changes.
Fixes: 4abe903e5078 ("net/sfc: use link status helper functions") Cc: stable@dpdk.org
Reported-by: Shuki Katzenelson <shuki@lightbitslabs.com> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
|
Revision tags: v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1 |
|
| #
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 ...
|
|
Revision tags: v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2, v19.05-rc1 |
|
| #
afe3c756 |
| 07-Feb-2019 |
Igor Romanov <igor.romanov@oktetlabs.ru> |
net/sfc: use NIC event descriptor size instead of common
Use of the macro for calculating a Rx queue size is deprecated. Replace it with a call to a function that uses descriptor size specified for
net/sfc: use NIC event descriptor size instead of common
Use of the macro for calculating a Rx queue size is deprecated. Replace it with a call to a function that uses descriptor size specified for every NIC.
Signed-off-by: Igor Romanov <igor.romanov@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 ...
|
| #
561508da |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: move TxQ state to multi-process shared location
Secondary process needs to know TxQ state. TxQ control structure will become primary process private.
Signed-off-by: Andrew Rybchenko <arybc
net/sfc: move TxQ state to multi-process shared location
Secondary process needs to know TxQ state. TxQ control structure will become primary process private.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
| #
2e42d78d |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: move RxQ state to multi-process shared location
Secondary process needs to know RxQ state. RxQ control structure will become primary process private.
Signed-off-by: Andrew Rybchenko <arybc
net/sfc: move RxQ state to multi-process shared location
Secondary process needs to know RxQ state. RxQ control structure will become primary process private.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
| #
5dec95e3 |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: move datapath ops pointers to process private data
The change is required to support datapath-dependent device operations for secondary process. It is just a step in the direction.
Signed-
net/sfc: move datapath ops pointers to process private data
The change is required to support datapath-dependent device operations for secondary process. It is just a step in the direction.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
|
Revision tags: v19.02, v19.02-rc4, v19.02-rc3, v19.02-rc2, v19.02-rc1, v18.11, v18.11-rc5, v18.11-rc4, v18.11-rc3, v18.11-rc2, v18.11-rc1, v18.08, v18.08-rc3, v18.08-rc2, v18.08-rc1, v18.05, v18.05-rc6, v18.05-rc5, v18.05-rc4, v18.05-rc3, v18.05-rc2, v18.05-rc1 |
|
| #
390f9b8d |
| 19-Apr-2018 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: support equal stride super-buffer Rx mode
HW Rx descriptor represents many contiguous packet buffers which follow each other. Number of buffers, stride and maximum DMA length are setup-time
net/sfc: support equal stride super-buffer Rx mode
HW Rx descriptor represents many contiguous packet buffers which follow each other. Number of buffers, stride and maximum DMA length are setup-time configurable per Rx queue based on provided mempool. The mempool must support contiguous block allocation and get info API to retrieve number of objects in the block.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Ivan Malov <ivan.malov@oktetlabs.ru>
show more ...
|
| #
5076ad03 |
| 24-Mar-2018 |
Roman Zhukov <roman.zhukov@oktetlabs.ru> |
net/sfc: fix type of opaque pointer in perf profile handler
The 'opaque' pointer in handler function is the last argument of sfc_kvargs_process() function and it is pointer to the adapter 'evq_flags
net/sfc: fix type of opaque pointer in perf profile handler
The 'opaque' pointer in handler function is the last argument of sfc_kvargs_process() function and it is pointer to the adapter 'evq_flags' that has a uint32_t type. So 'value' must be pointer to uint32_t.
Fixes: c22d3c508e0c ("net/sfc: support parameter to choose performance profile") Cc: stable@dpdk.org
Signed-off-by: Roman Zhukov <roman.zhukov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
|
Revision tags: v18.02, v18.02-rc4, v18.02-rc3, v18.02-rc2 |
|
| #
4abe903e |
| 26-Jan-2018 |
Stephen Hemminger <stephen@networkplumber.org> |
net/sfc: use link status helper functions
Use new rte_eth_linkstatus_get/set helper functions to handle link status update.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by
net/sfc: use link status helper functions
Use new rte_eth_linkstatus_get/set helper functions to handle link status update.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
|
Revision tags: v18.02-rc1 |
|
| #
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 ...
|
| #
f042136e |
| 24-Dec-2017 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: do not hold management event queue lock while MCDI
MCDI execution may require MCDI proxy handling which involves management event queue polling. So, it is a bad idea to hold managment event
net/sfc: do not hold management event queue lock while MCDI
MCDI execution may require MCDI proxy handling which involves management event queue polling. So, it is a bad idea to hold managment event queue lock when MCDI is executed.
Event queue creation and destruction are MCDI operations.
Fixes: 4650ed44c120 ("net/sfc: support MCDI proxy") Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Ivan Malov <ivan.malov@oktetlabs.ru> Reviewed-by: Andy Moreton <amoreton@solarflare.com>
show more ...
|