diff options
author | Manish chopra <manish.chopra@qlogic.com> | 2013-01-30 12:47:17 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-30 20:34:50 -0500 |
commit | 22fd5ab4623883ea895e48b1288f97856294d17d (patch) | |
tree | 20d872f6c5cc9c5e47b40c102f569213b0804867 /drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c | |
parent | 4d53f40f541ab29c15982774abddbad4c361cc8c (diff) | |
download | linux-stable-22fd5ab4623883ea895e48b1288f97856294d17d.tar.gz linux-stable-22fd5ab4623883ea895e48b1288f97856294d17d.tar.bz2 linux-stable-22fd5ab4623883ea895e48b1288f97856294d17d.zip |
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/net/ethernet/qlogic/qlcnic/qlcnic_hw.c')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c | 3 |
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); } |