Added support for mlx4_en on RHEL7.6
[compat-rdma/compat.git] / include / linux / netdevice.h
index 255f3b7..eb02142 100644 (file)
@@ -57,6 +57,10 @@ static inline int netdev_set_master(struct net_device *dev,
        alloc_netdev_mq(sizeof_priv, name, setup,                                       \
                        max_t(unsigned int, txqs, rxqs))
 #endif
+
+#ifndef HAVE_SELECT_QUEUE_FALLBACK_T
+#define fallback(dev, skb) __netdev_pick_tx(dev, skb)
+#endif
 #ifdef HAVE_REGISTER_NETDEVICE_NOTIFIER_RH
 #define register_netdevice_notifier register_netdevice_notifier_rh
 #define unregister_netdevice_notifier unregister_netdevice_notifier_rh