mirror of https://gitee.com/openkylin/linux.git
i40e/i40evf: remove unused RX_LRO define
Remove unused defines and macros for RX_LRO. Change-ID: I8ca6715edfa62b56837417a1c4ff68c2345dab6e Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Jim Young <jamesx.m.young@intel.com> Tested-by: Sibai Li <sibai.li@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
c5cc0cfd27
commit
d0277054ac
|
@ -179,7 +179,6 @@ enum i40e_ring_state_t {
|
|||
__I40E_TX_DETECT_HANG,
|
||||
__I40E_HANG_CHECK_ARMED,
|
||||
__I40E_RX_PS_ENABLED,
|
||||
__I40E_RX_LRO_ENABLED,
|
||||
__I40E_RX_16BYTE_DESC_ENABLED,
|
||||
};
|
||||
|
||||
|
@ -195,12 +194,6 @@ enum i40e_ring_state_t {
|
|||
set_bit(__I40E_TX_DETECT_HANG, &(ring)->state)
|
||||
#define clear_check_for_tx_hang(ring) \
|
||||
clear_bit(__I40E_TX_DETECT_HANG, &(ring)->state)
|
||||
#define ring_is_lro_enabled(ring) \
|
||||
test_bit(__I40E_RX_LRO_ENABLED, &(ring)->state)
|
||||
#define set_ring_lro_enabled(ring) \
|
||||
set_bit(__I40E_RX_LRO_ENABLED, &(ring)->state)
|
||||
#define clear_ring_lro_enabled(ring) \
|
||||
clear_bit(__I40E_RX_LRO_ENABLED, &(ring)->state)
|
||||
#define ring_is_16byte_desc_enabled(ring) \
|
||||
test_bit(__I40E_RX_16BYTE_DESC_ENABLED, &(ring)->state)
|
||||
#define set_ring_16byte_desc_enabled(ring) \
|
||||
|
|
|
@ -178,7 +178,6 @@ enum i40e_ring_state_t {
|
|||
__I40E_TX_DETECT_HANG,
|
||||
__I40E_HANG_CHECK_ARMED,
|
||||
__I40E_RX_PS_ENABLED,
|
||||
__I40E_RX_LRO_ENABLED,
|
||||
__I40E_RX_16BYTE_DESC_ENABLED,
|
||||
};
|
||||
|
||||
|
@ -194,12 +193,6 @@ enum i40e_ring_state_t {
|
|||
set_bit(__I40E_TX_DETECT_HANG, &(ring)->state)
|
||||
#define clear_check_for_tx_hang(ring) \
|
||||
clear_bit(__I40E_TX_DETECT_HANG, &(ring)->state)
|
||||
#define ring_is_lro_enabled(ring) \
|
||||
test_bit(__I40E_RX_LRO_ENABLED, &(ring)->state)
|
||||
#define set_ring_lro_enabled(ring) \
|
||||
set_bit(__I40E_RX_LRO_ENABLED, &(ring)->state)
|
||||
#define clear_ring_lro_enabled(ring) \
|
||||
clear_bit(__I40E_RX_LRO_ENABLED, &(ring)->state)
|
||||
#define ring_is_16byte_desc_enabled(ring) \
|
||||
test_bit(__I40E_RX_16BYTE_DESC_ENABLED, &(ring)->state)
|
||||
#define set_ring_16byte_desc_enabled(ring) \
|
||||
|
|
Loading…
Reference in New Issue