mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 14:12:07 +02:00
ixgbevf: remove unused fields from struct ixgbevf_adapter
Remove hw_rx_no_dma_resources and eitr_param fields from struct ixgbevf_adapter since these fields are never referenced in the driver. Note that the interrupt throttle rate is controlled by the rx_itr_setting and tx_itr_setting variables. This change simplifies the ixgbevf driver by removing unused fields, which improves maintainability. Signed-off-by: Yuto Ohnuki <ytohnuki@amazon.com> Reviewed-by: Dawid Osuchowski <dawid.osuchowski@linux.intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
This commit is contained in:
parent
dfe80201e1
commit
0d1c95e42b
|
|
@ -346,7 +346,6 @@ struct ixgbevf_adapter {
|
|||
int num_rx_queues;
|
||||
struct ixgbevf_ring *rx_ring[MAX_TX_QUEUES]; /* One per active queue */
|
||||
u64 hw_csum_rx_error;
|
||||
u64 hw_rx_no_dma_resources;
|
||||
int num_msix_vectors;
|
||||
u64 alloc_rx_page_failed;
|
||||
u64 alloc_rx_buff_failed;
|
||||
|
|
@ -363,8 +362,6 @@ struct ixgbevf_adapter {
|
|||
/* structs defined in ixgbe_vf.h */
|
||||
struct ixgbe_hw hw;
|
||||
u16 msg_enable;
|
||||
/* Interrupt Throttle Rate */
|
||||
u32 eitr_param;
|
||||
|
||||
struct ixgbevf_hw_stats stats;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user