|
@@ -2095,6 +2095,9 @@ static void ixgbe_update_itr(struct ixgbe_q_vector *q_vector,
|
|
*/
|
|
*/
|
|
/* what was last interrupt timeslice? */
|
|
/* what was last interrupt timeslice? */
|
|
timepassed_us = q_vector->itr >> 2;
|
|
timepassed_us = q_vector->itr >> 2;
|
|
|
|
+ if (timepassed_us == 0)
|
|
|
|
+ return;
|
|
|
|
+
|
|
bytes_perint = bytes / timepassed_us; /* bytes/usec */
|
|
bytes_perint = bytes / timepassed_us; /* bytes/usec */
|
|
|
|
|
|
switch (itr_setting) {
|
|
switch (itr_setting) {
|