Intel Wired LAN Driver Updates
Subsystems (3)
cover 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.
Don Skidmore (2):
ixgbe: bump version number
ixgbevf: bump version
Jacob Keller (1):
ixgbe: add braces around else condition in ixgbe_qv_lock_* calls
drivers/net/ethernet/intel/ixgbe/ixgbe.h | 6 ++++-- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 +- drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-)
Signature · 1 line
1.8.5.GIT
PATCH 1/3 ixgbe: add braces around else condition in ixgbe_qv_lock_* calls
From: Jacob Keller <[email protected]>
This patch adds braces around the ixgbe_qv_lock_* calls which previously only had braces around the if portion. Kernel style guidelines for this require parenthesis around all conditions if they are required around one. In addition the comment while not illegal C syntax makes the code look wrong at a cursory glance. This patch corrects the style and adds braces so that the full if-else block is uniform.
--- drivers/net/ethernet/intel/ixgbe/ixgbe.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/net/ethernet/intel/ixgbe/ixgbe.h +4 -2
@@ -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; }
Signature · 1 line
1.8.5.GIT
PATCH 2/3 ixgbe: bump version number
In reply to Aaron BrownFrom: Don Skidmore <[email protected]>
Bump the version number to better match functionality provided with out of tree driver of the same version.
--- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +1 -1
@@ -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." ;
Signature · 1 line
1.8.5.GIT
PATCH 3/3 ixgbevf: bump version
In reply to Aaron BrownFrom: Don Skidmore <[email protected]>
Bump the version number to better match functionality provided with out of tree driver of the same version.
--- drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c +1 -1
@@ -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." ;
Signature · 1 line
1.8.5.GIT
David Miller
maintainerFrom: Aaron Brown <[email protected]>
Date: Fri, 17 Jan 2014 01:21:35 -0800
Quoted 5 lines
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.
Series applied, thanks.