sfc: move vport_id to struct efx_nic
Remove some usage of ef10-specific nic_data structs from common MCDI functions, in preparation for using them from a non-EF10 driver. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
a90f704ad9
commit
dfcabb0788
@@ -887,6 +887,7 @@ struct efx_async_filter_insertion {
|
||||
* @rss_context: Main RSS context. Its @list member is the head of the list of
|
||||
* RSS contexts created by user requests
|
||||
* @rss_lock: Protects custom RSS context software state in @rss_context.list
|
||||
* @vport_id: The function's vport ID, only relevant for PFs
|
||||
* @int_error_count: Number of internal errors seen recently
|
||||
* @int_error_expire: Time at which error count will be expired
|
||||
* @irq_soft_enabled: Are IRQs soft-enabled? If not, IRQ handler will
|
||||
@@ -1044,6 +1045,7 @@ struct efx_nic {
|
||||
bool rx_scatter;
|
||||
struct efx_rss_context rss_context;
|
||||
struct mutex rss_lock;
|
||||
u32 vport_id;
|
||||
|
||||
unsigned int_error_count;
|
||||
unsigned long int_error_expire;
|
||||
|
Reference in New Issue
Block a user