Wednesday, August 23, 2017

fq_codel backports

static void ieee80211_if_setup_no_queue(struct net_device *dev)
{
ieee80211_if_setup(dev);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0)
dev->priv_flags |= IFF_NO_QUEUE;
#else
dev->tx_queue_len = 0;
dev->features |= NETIF_F_LLTX;
#endif
}

No comments:

Post a Comment