Searched refs:ax_skb (Results 1 – 3 of 3) sorted by relevance
/drivers/net/usb/ |
D | smsc75xx.c | 1098 struct sk_buff *ax_skb; in smsc75xx_rx_fixup() local 1144 ax_skb = skb_clone(skb, GFP_ATOMIC); in smsc75xx_rx_fixup() 1145 if (unlikely(!ax_skb)) { in smsc75xx_rx_fixup() 1150 ax_skb->len = size; in smsc75xx_rx_fixup() 1151 ax_skb->data = packet; in smsc75xx_rx_fixup() 1152 skb_set_tail_pointer(ax_skb, size); in smsc75xx_rx_fixup() 1154 smsc75xx_rx_csum_offload(dev, ax_skb, rx_cmd_a, in smsc75xx_rx_fixup() 1157 skb_trim(ax_skb, ax_skb->len - 4); /* remove fcs */ in smsc75xx_rx_fixup() 1158 ax_skb->truesize = size + sizeof(struct sk_buff); in smsc75xx_rx_fixup() 1160 usbnet_skb_return(dev, ax_skb); in smsc75xx_rx_fixup()
|
D | smsc95xx.c | 1046 struct sk_buff *ax_skb; in smsc95xx_rx_fixup() local 1093 ax_skb = skb_clone(skb, GFP_ATOMIC); in smsc95xx_rx_fixup() 1094 if (unlikely(!ax_skb)) { in smsc95xx_rx_fixup() 1099 ax_skb->len = size; in smsc95xx_rx_fixup() 1100 ax_skb->data = packet; in smsc95xx_rx_fixup() 1101 skb_set_tail_pointer(ax_skb, size); in smsc95xx_rx_fixup() 1104 smsc95xx_rx_csum_offload(ax_skb); in smsc95xx_rx_fixup() 1105 skb_trim(ax_skb, ax_skb->len - 4); /* remove fcs */ in smsc95xx_rx_fixup() 1106 ax_skb->truesize = size + sizeof(struct sk_buff); in smsc95xx_rx_fixup() 1108 usbnet_skb_return(dev, ax_skb); in smsc95xx_rx_fixup()
|
D | asix.c | 312 struct sk_buff *ax_skb; in asix_rx_fixup() local 331 ax_skb = netdev_alloc_skb_ip_align(dev->net, size); in asix_rx_fixup() 332 if (!ax_skb) in asix_rx_fixup() 335 skb_put(ax_skb, size); in asix_rx_fixup() 336 memcpy(ax_skb->data, skb->data + offset, size); in asix_rx_fixup() 337 usbnet_skb_return(dev, ax_skb); in asix_rx_fixup()
|