mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +00:00
sfc: Prepare to bind the sfc driver to the VF.
Added efx_nic_type structure for VF. Mapped a different BAR for VF as it uses BAR 0 for memory. Added functions sriov_init and sriov_fini. Signed-off-by: Shradha Shah <sshah@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1cd9ecbbe6
commit
02246a7f96
9 changed files with 176 additions and 16 deletions
|
@ -15,7 +15,9 @@
|
|||
#include "filter.h"
|
||||
|
||||
/* All controllers use BAR 0 for I/O space and BAR 2(&3) for memory */
|
||||
/* All VFs use BAR 0/1 for memory */
|
||||
#define EFX_MEM_BAR 2
|
||||
#define EFX_MEM_VF_BAR 0
|
||||
|
||||
/* TX */
|
||||
int efx_probe_tx_queue(struct efx_tx_queue *tx_queue);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue