diff options
author | David S. Miller <davem@davemloft.net> | 2015-04-14 22:29:27 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-14 22:29:27 -0400 |
commit | 9f9151412dd7aae0e3f51a89ae4a1f8755fdb4d0 (patch) | |
tree | 1254150fc61808159ee4666ee3bdd53d2a358dc3 /drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c | |
parent | bae97d84100ae7a8dc3b79233ecd3a8f7c19ea57 (diff) | |
parent | f4f88c6d3b6fe1632ddb567be155698733e857a1 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue
Jeff Kirsher says:
====================
Intel Wired LAN Driver Updates 2015-04-14
This series contains updates to fm10k only.
Fixed transmit statistics which was actually using values from the
receive ring, instead of the transmit ring. Fixed up spelling mistakes
in code comments and resolved unused argument warnings. Added support
for netconsole. Fixed up statistic reporting so that we are only
reporting from actual queues as well as display PF only stats for
just the PF and not the VF. Also fixed an issue that when returning
virtualization queues from the VF back to the PF, we were retaining
the VF rate limiter.
Fixed up the driver to use a separate workqueue, which helps reduce
and stabilize latency between scheduling the work in our interrupt and
actually performing the work.
Fixed a bug where the VF tried to set a multicast address before
requesting the required xcast mode.
Fix VF multicast update since VFs were being improperly added to the
switch's mutlicast group. The error stems from the fact that incorrect
arguments were passed to the update_mc_addr().
Thanks to Alex Duyck for the extensive review.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c')
-rw-r--r-- | drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c b/drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c index 212a92dad222..5c7a4d7662d8 100644 --- a/drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c +++ b/drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* Intel Ethernet Switch Host Interface Driver | 1 | /* Intel Ethernet Switch Host Interface Driver |
2 | * Copyright(c) 2013 - 2014 Intel Corporation. | 2 | * Copyright(c) 2013 - 2015 Intel Corporation. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -128,7 +128,7 @@ static int fm10k_dcbnl_ieee_setpfc(struct net_device *dev, struct ieee_pfc *pfc) | |||
128 | * | 128 | * |
129 | * Returns that we support only IEEE DCB for this interface | 129 | * Returns that we support only IEEE DCB for this interface |
130 | **/ | 130 | **/ |
131 | static u8 fm10k_dcbnl_getdcbx(struct net_device *dev) | 131 | static u8 fm10k_dcbnl_getdcbx(struct net_device __always_unused *dev) |
132 | { | 132 | { |
133 | return DCB_CAP_DCBX_HOST | DCB_CAP_DCBX_VER_IEEE; | 133 | return DCB_CAP_DCBX_HOST | DCB_CAP_DCBX_VER_IEEE; |
134 | } | 134 | } |
@@ -140,7 +140,7 @@ static u8 fm10k_dcbnl_getdcbx(struct net_device *dev) | |||
140 | * | 140 | * |
141 | * Returns error on attempt to enable anything but IEEE DCB for this interface | 141 | * Returns error on attempt to enable anything but IEEE DCB for this interface |
142 | **/ | 142 | **/ |
143 | static u8 fm10k_dcbnl_setdcbx(struct net_device *dev, u8 mode) | 143 | static u8 fm10k_dcbnl_setdcbx(struct net_device __always_unused *dev, u8 mode) |
144 | { | 144 | { |
145 | return (mode != (DCB_CAP_DCBX_HOST | DCB_CAP_DCBX_VER_IEEE)) ? 1 : 0; | 145 | return (mode != (DCB_CAP_DCBX_HOST | DCB_CAP_DCBX_VER_IEEE)) ? 1 : 0; |
146 | } | 146 | } |