Lines Matching refs:ndev
379 struct net_device *ndev = wil_to_ndev(wil); in wil_vring_reap_rx() local
445 if (ndev->type == ARPHRD_IEEE80211_RADIOTAP) in wil_vring_reap_rx()
449 if (ndev->type != ARPHRD_ETHER) in wil_vring_reap_rx()
529 struct net_device *ndev = wil_to_ndev(wil); in wil_rx_refill() local
533 int headroom = ndev->type == ARPHRD_IEEE80211_RADIOTAP ? in wil_rx_refill()
555 void wil_netif_rx_any(struct sk_buff *skb, struct net_device *ndev) in wil_netif_rx_any() argument
558 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_netif_rx_any()
578 if (ndev->features & NETIF_F_RXHASH) in wil_netif_rx_any()
613 xmit_skb->dev = ndev; in wil_netif_rx_any()
624 skb->protocol = eth_type_trans(skb, ndev); in wil_netif_rx_any()
631 ndev->stats.rx_dropped++; in wil_netif_rx_any()
635 ndev->stats.rx_packets++; in wil_netif_rx_any()
637 ndev->stats.rx_bytes += len; in wil_netif_rx_any()
640 ndev->stats.multicast++; in wil_netif_rx_any()
651 struct net_device *ndev = wil_to_ndev(wil); in wil_rx_handle() local
664 skb->dev = ndev; in wil_rx_handle()
669 wil_netif_rx_any(skb, ndev); in wil_rx_handle()
1652 netdev_tx_t wil_start_xmit(struct sk_buff *skb, struct net_device *ndev) in wil_start_xmit() argument
1654 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_start_xmit()
1711 ndev->stats.tx_dropped++; in wil_start_xmit()
1742 struct net_device *ndev = wil_to_ndev(wil); in wil_tx_complete() local
1811 ndev->stats.tx_packets++; in wil_tx_complete()
1812 ndev->stats.tx_bytes += skb->len; in wil_tx_complete()
1818 ndev->stats.tx_errors++; in wil_tx_complete()