File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
drivers/net/ethernet/intel/i40e Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 79
79
#define I40E_MAX_BW_INACTIVE_ACCUM 4 /* accumulate 4 credits max */
80
80
81
81
/* driver state flags */
82
- enum i40e_state_t {
82
+ enum i40e_state {
83
83
__I40E_TESTING ,
84
84
__I40E_CONFIG_BUSY ,
85
85
__I40E_CONFIG_DONE ,
@@ -127,7 +127,7 @@ enum i40e_state_t {
127
127
BIT_ULL(__I40E_PF_RESET_AND_REBUILD_REQUESTED)
128
128
129
129
/* VSI state flags */
130
- enum i40e_vsi_state_t {
130
+ enum i40e_vsi_state {
131
131
__I40E_VSI_DOWN ,
132
132
__I40E_VSI_NEEDS_RESTART ,
133
133
__I40E_VSI_SYNCING_FILTERS ,
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ enum i40e_ptp_pin {
35
35
GPIO_4
36
36
};
37
37
38
- enum i40e_can_set_pins_t {
38
+ enum i40e_can_set_pins {
39
39
CANT_DO_PINS = -1 ,
40
40
CAN_SET_PINS ,
41
41
CAN_DO_PINS
@@ -193,7 +193,7 @@ static bool i40e_is_ptp_pin_dev(struct i40e_hw *hw)
193
193
* return CAN_DO_PINS if pins can be manipulated within a NIC or
194
194
* return CANT_DO_PINS otherwise.
195
195
**/
196
- static enum i40e_can_set_pins_t i40e_can_set_pins (struct i40e_pf * pf )
196
+ static enum i40e_can_set_pins i40e_can_set_pins (struct i40e_pf * pf )
197
197
{
198
198
if (!i40e_is_ptp_pin_dev (& pf -> hw )) {
199
199
dev_warn (& pf -> pdev -> dev ,
@@ -1071,7 +1071,7 @@ static void i40e_ptp_set_pins_hw(struct i40e_pf *pf)
1071
1071
static int i40e_ptp_set_pins (struct i40e_pf * pf ,
1072
1072
struct i40e_ptp_pins_settings * pins )
1073
1073
{
1074
- enum i40e_can_set_pins_t pin_caps = i40e_can_set_pins (pf );
1074
+ enum i40e_can_set_pins pin_caps = i40e_can_set_pins (pf );
1075
1075
int i = 0 ;
1076
1076
1077
1077
if (pin_caps == CANT_DO_PINS )
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ static inline u16 i40e_intrl_usec_to_reg(int intrl)
58
58
* mentioning ITR_INDX, ITR_NONE cannot be used as an index 'n' into any
59
59
* register but instead is a special value meaning "don't update" ITR0/1/2.
60
60
*/
61
- enum i40e_dyn_idx_t {
61
+ enum i40e_dyn_idx {
62
62
I40E_IDX_ITR0 = 0 ,
63
63
I40E_IDX_ITR1 = 1 ,
64
64
I40E_IDX_ITR2 = 2 ,
@@ -306,7 +306,7 @@ struct i40e_rx_queue_stats {
306
306
u64 page_busy_count ;
307
307
};
308
308
309
- enum i40e_ring_state_t {
309
+ enum i40e_ring_state {
310
310
__I40E_TX_FDIR_INIT_DONE ,
311
311
__I40E_TX_XPS_INIT_DONE ,
312
312
__I40E_RING_STATE_NBITS /* must be last */
You can’t perform that action at this time.
0 commit comments