len = max(skb->len, ETH_ZLEN);queue= skb_get_queue_mapping(skb);#ifdefCONFIG_NETDEVICES_MULTIQUEUEnetif_stop_subqueue(dev,queue);#elsenetif_stop_queue(dev);#endifdesc = &priv->desc_ring[queue];if(unlikely(desc->dataflags & CPMAC_OWN)) {if(netif_msg_tx_err(priv) && net_ratelim...
priv = netdev_priv(netdev);if(dev != netdev) netif_stop_queue(netdev);if(netif_running(netdev)) {if(dev != netdev) bus_bitmask_start |= (1<< j); priv->tx.pending =0; priv->tx.echo_put =0; priv->tx.echo_get =0;/* * this bus' may just have called open_candev() ...
mwifiex_terminate_workqueue(adapter);/* Stop data */for(i =0; i < adapter->priv_num; i++) { priv = adapter->priv[i];if(priv && priv->netdev) { mwifiex_stop_net_dev_queue(priv->netdev, adapter);if(netif_carrier_ok(priv->netdev)) netif_carrier_off(priv->netdev); } } ...
struct sk_buff *pkt){structxmit_priv*pxmitpriv= &padapter->xmitpriv;u16queue;queue= skb_get_queue_mapping(pkt);if(padapter->registrypriv.wifi_spec) {/* No free space for Tx, tx_worker is too slow */if(pxmitpriv->hwxmits[queue].accnt > WMM_XMIT_THRESHOLD) netif_stop_subqueue(pad...