#
84e7fc25 |
| 20-Jul-2022 |
Edward Cree <ecree.xilinx@gmail.com> |
sfc: attach/detach EF100 representors along with their owning PF
Since representors piggy-back on the PF's queues for TX, they can only accept new TXes while the PF is up. Thus, any operation whic
sfc: attach/detach EF100 representors along with their owning PF
Since representors piggy-back on the PF's queues for TX, they can only accept new TXes while the PF is up. Thus, any operation which detaches the PF must first detach all its VFreps.
Signed-off-by: Edward Cree <ecree.xilinx@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
62ac3ce5 |
| 28-Jun-2022 |
Jonathan Cooper <jonathan.s.cooper@amd.com> |
sfc: Remove netdev init from efx_init_struct
Move functionality involving the struct net_device out of efx_init_struct so that we can initialise without a net dev for VDPA operation.
Signed-off-by:
sfc: Remove netdev init from efx_init_struct
Move functionality involving the struct net_device out of efx_init_struct so that we can initialise without a net dev for VDPA operation.
Signed-off-by: Jonathan Cooper <jonathan.s.cooper@amd.com> Co-developed-by: Martin Habets <habetsm.xilinx@gmail.com> Signed-off-by: Martin Habets <habetsm.xilinx@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
8b39db19 |
| 28-Jun-2022 |
Jonathan Cooper <jonathan.s.cooper@amd.com> |
sfc: Add a PROBED state for EF100 VDPA use.
For VDPA we need to tear down the driver to the point where it has various control channels like MCDI, but it no longer has a network device. This adds a
sfc: Add a PROBED state for EF100 VDPA use.
For VDPA we need to tear down the driver to the point where it has various control channels like MCDI, but it no longer has a network device. This adds a state corresponding to that mode that will be used when VDPA support is added.
Signed-off-by: Jonathan Cooper <jonathan.s.cooper@amd.com> Co-developed-by: Martin Habets <habetsm.xilinx@gmail.com> Signed-off-by: Martin Habets <habetsm.xilinx@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
813cf9d1 |
| 28-Jun-2022 |
Jonathan Cooper <jonathan.s.cooper@amd.com> |
sfc: Split STATE_READY in to STATE_NET_DOWN and STATE_NET_UP.
This patch splits the READY state in to NET_UP and NET_DOWN. This is to prepare for future work to delay resource allocation until inter
sfc: Split STATE_READY in to STATE_NET_DOWN and STATE_NET_UP.
This patch splits the READY state in to NET_UP and NET_DOWN. This is to prepare for future work to delay resource allocation until interface up so that we can use resources more efficiently in SRIOV environments, and also to lay the ground work for an extra PROBED state where we don't create a network interface, for VDPA operation.
Signed-off-by: Jonathan Cooper <jonathan.s.cooper@amd.com> Acked-by: Martin Habets <habetsm.xilinx@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
24b2c375 |
| 11-Sep-2020 |
Edward Cree <ecree@solarflare.com> |
sfc: advertise encapsulated offloads on EF10
Necessitates an .ndo_features_check, as the EF10 datapath has several limitations on what it can handle.
Signed-off-by: Edward Cree <ecree@solarflare.c
sfc: advertise encapsulated offloads on EF10
Necessitates an .ndo_features_check, as the EF10 datapath has several limitations on what it can handle.
Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
af3c38d3 |
| 02-Jul-2020 |
Edward Cree <ecree@solarflare.com> |
sfc: support setting MTU even if not privileged to configure MAC fully
Unprivileged functions (such as VFs) may set their MTU by use of the 'control' field of MC_CMD_SET_MAC_EXT, as used in efx_mcd
sfc: support setting MTU even if not privileged to configure MAC fully
Unprivileged functions (such as VFs) may set their MTU by use of the 'control' field of MC_CMD_SET_MAC_EXT, as used in efx_mcdi_set_mtu(). If calling efx_ef10_mac_reconfigure() from efx_change_mtu(), and the NIC supports the above (SET_MAC_ENHANCED capability), use it rather than efx_mcdi_set_mac().
Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
2d73515a |
| 30-Jun-2020 |
Edward Cree <ecree@solarflare.com> |
sfc: commonise miscellaneous efx functions
Various left-over bits and pieces from efx.c that are needed by ef100.
Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <d
sfc: commonise miscellaneous efx functions
Various left-over bits and pieces from efx.c that are needed by ef100.
Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
21ea2125 |
| 29-Jun-2020 |
Edward Cree <ecree@solarflare.com> |
sfc: commonise PCI error handlers
EF100 will use the same mechanisms for PCI error recovery.
Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
#
66a65128 |
| 29-Jun-2020 |
Edward Cree <ecree@solarflare.com> |
sfc: track which BAR is mapped
EF100 needs to map multiple BARs (sequentially, not concurrently) in order to read the Function Control Window during probe.
Signed-off-by: Edward Cree <ecree@solarf
sfc: track which BAR is mapped
EF100 needs to map multiple BARs (sequentially, not concurrently) in order to read the Function Control Window during probe.
Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
53e1f21a |
| 29-Jun-2020 |
Edward Cree <ecree@solarflare.com> |
sfc: commonise FC advertising
Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
#
31482310 |
| 10-Jan-2020 |
Alex Maftei (amaftei) <amaftei@solarflare.com> |
sfc: move yet more functions
Functions are not related.
Signed-off-by: Alexandru-Mihai Maftei <amaftei@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
#
190c736a |
| 10-Jan-2020 |
Alex Maftei (amaftei) <amaftei@solarflare.com> |
sfc: move various functions
Signed-off-by: Alexandru-Mihai Maftei <amaftei@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
#
b69f7a3e |
| 09-Jan-2020 |
Alex Maftei (amaftei) <amaftei@solarflare.com> |
sfc: move MCDI logging device attribute
A few bits were extracted from other functions.
Signed-off-by: Alexandru-Mihai Maftei <amaftei@solarflare.com> Signed-off-by: David S. Miller <davem@davemlof
sfc: move MCDI logging device attribute
A few bits were extracted from other functions.
Signed-off-by: Alexandru-Mihai Maftei <amaftei@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
b1940451 |
| 08-Jan-2020 |
Alex Maftei (amaftei) <amaftei@solarflare.com> |
sfc: further preparation for code split
Added more arguments for a couple of functions. Also moved a function to the common header.
Signed-off-by: Alexandru-Mihai Maftei <amaftei@solarflare.com> Si
sfc: further preparation for code split
Added more arguments for a couple of functions. Also moved a function to the common header.
Signed-off-by: Alexandru-Mihai Maftei <amaftei@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
e1253f39 |
| 08-Jan-2020 |
Alex Maftei (amaftei) <amaftei@solarflare.com> |
sfc: add new headers in preparation for code split
New headers contain prototypes of functions that will be common between ef10 and upcoming driver. Removed static modifier from the affected functio
sfc: add new headers in preparation for code split
New headers contain prototypes of functions that will be common between ef10 and upcoming driver. Removed static modifier from the affected functions. Some function prototypes were removed from existing headers.
Signed-off-by: Alexandru-Mihai Maftei <amaftei@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|