summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorManish chopra <manish.chopra@qlogic.com>2013-01-30 16:47:17 +0400
committerDavid S. Miller <davem@davemloft.net>2013-01-31 05:34:50 +0400
commit22fd5ab4623883ea895e48b1288f97856294d17d (patch)
tree20d872f6c5cc9c5e47b40c102f569213b0804867 /drivers
parent4d53f40f541ab29c15982774abddbad4c361cc8c (diff)
downloadlinux-22fd5ab4623883ea895e48b1288f97856294d17d.tar.xz
qlcnic: Fix RX/TX checksum setting for some adapter types
Signed-off-by: Manish chopra <manish.chopra@qlogic.com> Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c
index 4e4ebafac5c9..88a2330c9572 100644
--- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c
+++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c
@@ -932,7 +932,8 @@ netdev_features_t qlcnic_fix_features(struct net_device *netdev,
{
struct qlcnic_adapter *adapter = netdev_priv(netdev);
- if ((adapter->flags & QLCNIC_ESWITCH_ENABLED)) {
+ if ((adapter->flags & QLCNIC_ESWITCH_ENABLED) &&
+ qlcnic_82xx_check(adapter)) {
netdev_features_t changed = features ^ netdev->features;
features ^= changed & (NETIF_F_ALL_CSUM | NETIF_F_RXCSUM);
}