]> Pileus Git - ~andy/linux/commitdiff
Merge branch 'ixgbe'
authorDavid S. Miller <davem@davemloft.net>
Sat, 18 Jan 2014 02:57:35 +0000 (18:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Jan 2014 02:57:35 +0000 (18:57 -0800)
Aaron Brown says:

====================
Intel Wired LAN Driver Updates

This series contains an updates to ixgbe and ixgbevf.

Jacob add braces around some ixgbe_qv_lock_* calls lto better adhere
to Kernel style guidelines.  Don bumps the versions on ixgbe and
ixgbevf to match internal driver functionality better.
====================

Reviewed-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c

index 3a4373f689eb323e7ed23d582ca4e76da9382634..0186ea2969fe9cb0d9ed53ad122c95739caec78e 100644 (file)
@@ -424,9 +424,10 @@ static inline bool ixgbe_qv_lock_napi(struct ixgbe_q_vector *q_vector)
 #ifdef BP_EXTENDED_STATS
                q_vector->tx.ring->stats.yields++;
 #endif
-       } else
+       } else {
                /* we don't care if someone yielded */
                q_vector->state = IXGBE_QV_STATE_NAPI;
+       }
        spin_unlock_bh(&q_vector->lock);
        return rc;
 }
@@ -458,9 +459,10 @@ static inline bool ixgbe_qv_lock_poll(struct ixgbe_q_vector *q_vector)
 #ifdef BP_EXTENDED_STATS
                q_vector->rx.ring->stats.yields++;
 #endif
-       } else
+       } else {
                /* preserve yield marks */
                q_vector->state |= IXGBE_QV_STATE_POLL;
+       }
        spin_unlock_bh(&q_vector->lock);
        return rc;
 }
index 61d985c9330b57c0a5b2e2862dfb369f06faedf2..6d4ada72dfd0a79f1111ff5c48f91ba3e2c862f1 100644 (file)
@@ -64,7 +64,7 @@ char ixgbe_default_device_descr[] =
 static char ixgbe_default_device_descr[] =
                              "Intel(R) 10 Gigabit Network Connection";
 #endif
-#define DRV_VERSION "3.15.1-k"
+#define DRV_VERSION "3.19.1-k"
 const char ixgbe_driver_version[] = DRV_VERSION;
 static const char ixgbe_copyright[] =
                                "Copyright (c) 1999-2013 Intel Corporation.";
index 6cf41207a31d0880dd4c29a709451e5cf2c0cfe4..9c9291803fdd48cb30171585f8fac9c531ded5ae 100644 (file)
@@ -58,7 +58,7 @@ const char ixgbevf_driver_name[] = "ixgbevf";
 static const char ixgbevf_driver_string[] =
        "Intel(R) 10 Gigabit PCI Express Virtual Function Network Driver";
 
-#define DRV_VERSION "2.11.3-k"
+#define DRV_VERSION "2.12.1-k"
 const char ixgbevf_driver_version[] = DRV_VERSION;
 static char ixgbevf_copyright[] =
        "Copyright (c) 2009 - 2012 Intel Corporation.";