qede: Don't override priv_flags
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Mon, 31 Oct 2016 20:26:53 +0000 (22:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Nov 2016 15:00:24 +0000 (11:00 -0400)
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>
drivers/net/ethernet/qlogic/qede/qede_main.c

index 873f2eb..df02c45 100644 (file)
@@ -2366,7 +2366,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 |