]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
qede: Don't override priv_flags
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Mon, 31 Oct 2016 20:26:53 +0000 (22:26 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 6 Mar 2017 05:00:10 +0000 (21:00 -0800)
Orabug: 25477939

Driver is now setting the ndev's priv_flags instead of adding to it,
causing pktgen failure to utilize various features due to the loss
of the IFF_TX_SKB_SHARING indication.

Fixes: 7b7e70f979e3 ("qed*: Allow unicast filtering")
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 0183eb1c7504b290221f79bc3c345736f8ad657b)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/qlogic/qede/qede_main.c

index a77cbbb5481764d051a2922dc1765275413d5033..760ddd75b79c82efeccf9fa847e9b670db6c54c9 100644 (file)
@@ -2332,7 +2332,7 @@ static void qede_init_ndev(struct qede_dev *edev)
 
        qede_set_ethtool_ops(ndev);
 
-       ndev->priv_flags = IFF_UNICAST_FLT;
+       ndev->priv_flags |= IFF_UNICAST_FLT;
 
        /* user-changeble features */
        hw_features = NETIF_F_GRO | NETIF_F_SG |