|
@@ -1,7 +1,7 @@
|
|
|
/*******************************************************************************
|
|
|
*
|
|
|
* Intel Ethernet Controller XL710 Family Linux Virtual Function Driver
|
|
|
- * Copyright(c) 2013 Intel Corporation.
|
|
|
+ * Copyright(c) 2013 - 2014 Intel Corporation.
|
|
|
*
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
* under the terms and conditions of the GNU General Public License,
|
|
@@ -807,8 +807,8 @@ static int i40e_clean_rx_irq(struct i40e_ring *rx_ring, int budget)
|
|
|
|
|
|
rx_desc = I40E_RX_DESC(rx_ring, i);
|
|
|
qword = le64_to_cpu(rx_desc->wb.qword1.status_error_len);
|
|
|
- rx_status = (qword & I40E_RXD_QW1_STATUS_MASK)
|
|
|
- >> I40E_RXD_QW1_STATUS_SHIFT;
|
|
|
+ rx_status = (qword & I40E_RXD_QW1_STATUS_MASK) >>
|
|
|
+ I40E_RXD_QW1_STATUS_SHIFT;
|
|
|
|
|
|
while (rx_status & (1 << I40E_RX_DESC_STATUS_DD_SHIFT)) {
|
|
|
union i40e_rx_desc *next_rxd;
|