Skip to content

Commit

Permalink
qede: Don't override priv_flags
Browse files Browse the repository at this point in the history
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: 7b7e70f ("qed*: Allow unicast filtering")
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Mintz, Yuval authored and David S. Miller committed Nov 1, 2016
1 parent c587094 commit 0183eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/qlogic/qede/qede_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit 0183eb1

Please sign in to comment.