#
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 ...
|
#
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>
|
#
3caa85da |
| 17-Sep-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: move MCDI helpers to common driver
These helper will be reused by other libefx consumers, e.g. vDPA driver.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Mo
net/sfc: move MCDI helpers to common driver
These helper will be reused by other libefx consumers, e.g. vDPA driver.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@xilinx.com>
show more ...
|
#
bbd3f0f1 |
| 17-Sep-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: use MCDI control structure as libefx ops context
Now MCDI helpers interface is independent from network driver and may be moved into common driver.
Signed-off-by: Andrew Rybchenko <arybche
net/sfc: use MCDI control structure as libefx ops context
Now MCDI helpers interface is independent from network driver and may be moved into common driver.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@xilinx.com>
show more ...
|
#
6ad77561 |
| 17-Sep-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: add MCDI callback to poll management event queue
Management event queue polling is required in the case of MCDI proxy authentication (client driver code).
Signed-off-by: Andrew Rybchenko <
net/sfc: add MCDI callback to poll management event queue
Management event queue polling is required in the case of MCDI proxy authentication (client driver code).
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@xilinx.com>
show more ...
|
#
fc96cecf |
| 17-Sep-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: add MCDI callback to schedule restart
MC reboot handling is driver specific.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@xilinx.com>
|
#
710ac30e |
| 17-Sep-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: add MCDI callbacks to allocate/free DMA memory
Net driver should use rte_eth_dma_zone_reserve(), but it is ethdev specific API which is not available for vDPA.
Signed-off-by: Andrew Rybche
net/sfc: add MCDI callbacks to allocate/free DMA memory
Net driver should use rte_eth_dma_zone_reserve(), but it is ethdev specific API which is not available for vDPA.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@xilinx.com>
show more ...
|
#
e70c9145 |
| 17-Sep-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: avoid panic in the case of MCDI timeout
Implement dummy MCDI timeout handling which simply rejects further MCDI requests.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Review
net/sfc: avoid panic in the case of MCDI timeout
Implement dummy MCDI timeout handling which simply rejects further MCDI requests.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@xilinx.com>
show more ...
|
#
348d4ea0 |
| 17-Sep-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: avoid usage of NIC pointer from adapter context
Prepare to avoid usage of the adapter context in common MCDI helpers.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-b
net/sfc: avoid usage of NIC pointer from adapter context
Prepare to avoid usage of the adapter context in common MCDI helpers.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@xilinx.com>
show more ...
|
#
671eb37c |
| 17-Sep-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: use own logging helper macros
Network driver logging macros depends on sfc_adapter which is specific to the driver and cannot be used in common code.
Signed-off-by: Andrew Rybchenko <arybc
net/sfc: use own logging helper macros
Network driver logging macros depends on sfc_adapter which is specific to the driver and cannot be used in common code.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@xilinx.com>
show more ...
|
#
40645745 |
| 17-Sep-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: start to make MCDI helpers interface shareable
sfc_adapter is network driver specific structure which finally should not be used in shared MCDI helpers interface.
Signed-off-by: Andrew Ryb
net/sfc: start to make MCDI helpers interface shareable
sfc_adapter is network driver specific structure which finally should not be used in shared MCDI helpers interface.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@xilinx.com>
show more ...
|
#
5c812635 |
| 17-Sep-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: make MCDI logging helper macros local
Prepare to move MCDI helpers to drivers/common.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@xilinx
net/sfc: make MCDI logging helper macros local
Prepare to move MCDI helpers to drivers/common.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@xilinx.com>
show more ...
|
#
109acc9d |
| 17-Sep-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: move MCDI helper interface to dedicated namespace
MCDI helpers will be moved to common/sfc_efx and it is better to do dummy renamings first before non-trivial changes.
Existing functionali
net/sfc: move MCDI helper interface to dedicated namespace
MCDI helpers will be moved to common/sfc_efx and it is better to do dummy renamings first before non-trivial changes.
Existing functionality should be split into common and network driver specific parts. Prepare to do it.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@xilinx.com>
show more ...
|
#
5ad753ce |
| 17-Sep-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: add dedicated header file with MCDI interface
MCDI helpers will be shared by net and vDPA drivers. Prepare to move it to common/sfc_efx.
Signed-off-by: Andrew Rybchenko <arybchenko@solarfl
net/sfc: add dedicated header file with MCDI interface
MCDI helpers will be shared by net and vDPA drivers. Prepare to move it to common/sfc_efx.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@xilinx.com>
show more ...
|
#
1b0236e2 |
| 17-Sep-2020 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: include header with debug helpers directly
Avoid build failures on further restructuring.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@xi
net/sfc: include header with debug helpers directly
Avoid build failures on further restructuring.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@xilinx.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>
|
#
1d3c7f9c |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: start to factor out multi-process shared data
sfc_adapter structure will become primary process only private data. Start to factor out shared data into dedicated structure which will become
net/sfc: start to factor out multi-process shared data
sfc_adapter structure will become primary process only private data. Start to factor out shared data into dedicated structure which will become separate structure finally.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
e2c3639a |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: fix logging from secondary process
Dynamic log type value may differ in different processes.
Fixes: f28ede500c2e ("net/sfc: support multi-process") Cc: stable@dpdk.org
Signed-off-by: Andr
net/sfc: fix logging from secondary process
Dynamic log type value may differ in different processes.
Fixes: f28ede500c2e ("net/sfc: support multi-process") Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
a6fae8f9 |
| 21-Mar-2018 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
net/sfc: add dynamic log level for MCDI messages
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@s
net/sfc: add dynamic log level for MCDI messages
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@solarflare.com>
show more ...
|
#
91d16276 |
| 21-Mar-2018 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
net/sfc: prepare to merge init logs with main log type
Conversion to dynamic logging done in the previous patches makes it possible to simplify internal controls for init logging. This patch allows
net/sfc: prepare to merge init logs with main log type
Conversion to dynamic logging done in the previous patches makes it possible to simplify internal controls for init logging. This patch allows to prepare for such a change. It makes init-unrelated messages use NOTICE level so that the following patch will be able to convert init logging to use INFO level and remain silent by default.
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@solarflare.com>
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 ...
|
#
e77f9f19 |
| 24-Dec-2017 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: handle MC reboot event
Implement handling of the MC reboot event received on management event queue or detected by MCDI processing.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.c
net/sfc: handle MC reboot event
Implement handling of the MC reboot event received on management event queue or detected by MCDI processing.
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 ...
|
#
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>
|
#
4650ed44 |
| 09-Mar-2017 |
Ivan Malov <ivan.malov@oktetlabs.ru> |
net/sfc: support MCDI proxy
The patch is to add support for MCDI proxy which comes in useful, particularly, while running over VF: few commands will normally fail with EPERM, but in some cases the h
net/sfc: support MCDI proxy
The patch is to add support for MCDI proxy which comes in useful, particularly, while running over VF: few commands will normally fail with EPERM, but in some cases the host driver (i.e. running over the corresponding PF, typically, within a hypervisor) may set itself as a proxy to conduct authorization for the commands coming from VFs; these are forwarded to the corresponding access control application which may decline or approve authorization by replying to the requests; all in all, the guest driver has to process the replies forwarded back by the firmware MC in order to give up gracefully (by setting return code which could be understood by 'libefx') or re-issue the original commands
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andy Moreton <amoreton@solarflare.com>
show more ...
|
#
3e3b2e4c |
| 15-Dec-2016 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: implement MCDI logging callback
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andrew Lee <alee@solarflare.com> Reviewed-by: Robert Stonehouse <rstonehouse@solarfl
net/sfc: implement MCDI logging callback
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Andrew Lee <alee@solarflare.com> Reviewed-by: Robert Stonehouse <rstonehouse@solarflare.com>
show more ...
|