Skip to content

Commit 9ca36f7

Browse files
committed
infiniband: Update net drivers for netdev_features_t changes.
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 34324dc commit 9ca36f7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎drivers/infiniband/hw/nes/nes_nic.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1589,7 +1589,7 @@ static const struct ethtool_ops nes_ethtool_ops = {
15891589
.set_pauseparam = nes_netdev_set_pauseparam,
15901590
};
15911591

1592-
static void nes_vlan_mode(struct net_device *netdev, struct nes_device *nesdev, u32 features)
1592+
static void nes_vlan_mode(struct net_device *netdev, struct nes_device *nesdev, netdev_features_t features)
15931593
{
15941594
struct nes_adapter *nesadapter = nesdev->nesadapter;
15951595
u32 u32temp;
@@ -1610,7 +1610,7 @@ static void nes_vlan_mode(struct net_device *netdev, struct nes_device *nesdev,
16101610
spin_unlock_irqrestore(&nesadapter->phy_lock, flags);
16111611
}
16121612

1613-
static u32 nes_fix_features(struct net_device *netdev, u32 features)
1613+
static netdev_features_t nes_fix_features(struct net_device *netdev, netdev_features_t features)
16141614
{
16151615
/*
16161616
* Since there is no support for separate rx/tx vlan accel
@@ -1624,7 +1624,7 @@ static u32 nes_fix_features(struct net_device *netdev, u32 features)
16241624
return features;
16251625
}
16261626

1627-
static int nes_set_features(struct net_device *netdev, u32 features)
1627+
static int nes_set_features(struct net_device *netdev, netdev_features_t features)
16281628
{
16291629
struct nes_vnic *nesvnic = netdev_priv(netdev);
16301630
struct nes_device *nesdev = nesvnic->nesdev;

‎drivers/infiniband/ulp/ipoib/ipoib_main.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ static int ipoib_stop(struct net_device *dev)
171171
return 0;
172172
}
173173

174-
static u32 ipoib_fix_features(struct net_device *dev, u32 features)
174+
static netdev_features_t ipoib_fix_features(struct net_device *dev, netdev_features_t features)
175175
{
176176
struct ipoib_dev_priv *priv = netdev_priv(dev);
177177

0 commit comments

Comments
 (0)