Home
last modified time | relevance | path

Searched refs:ax_skb (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/net/usb/
Dasix_common.c122 if (rx->ax_skb) { in reset_asix_rx_fixup_info()
124 kfree_skb(rx->ax_skb); in reset_asix_rx_fixup_info()
125 rx->ax_skb = NULL; in reset_asix_rx_fixup_info()
207 rx->ax_skb = netdev_alloc_skb_ip_align(dev->net, size); in asix_rx_fixup_internal()
220 if (rx->ax_skb) { in asix_rx_fixup_internal()
221 skb_put_data(rx->ax_skb, skb->data + offset, in asix_rx_fixup_internal()
224 usbnet_skb_return(dev, rx->ax_skb); in asix_rx_fixup_internal()
225 rx->ax_skb = NULL; in asix_rx_fixup_internal()
259 if (rx->ax_skb) { in asix_rx_fixup_common_free()
260 kfree_skb(rx->ax_skb); in asix_rx_fixup_common_free()
[all …]
Dsmsc95xx.c1831 struct sk_buff *ax_skb; in smsc95xx_rx_fixup() local
1882 ax_skb = netdev_alloc_skb_ip_align(dev->net, size); in smsc95xx_rx_fixup()
1883 if (unlikely(!ax_skb)) { in smsc95xx_rx_fixup()
1888 skb_put(ax_skb, size); in smsc95xx_rx_fixup()
1889 memcpy(ax_skb->data, packet, size); in smsc95xx_rx_fixup()
1892 smsc95xx_rx_csum_offload(ax_skb); in smsc95xx_rx_fixup()
1893 skb_trim(ax_skb, ax_skb->len - 4); /* remove fcs */ in smsc95xx_rx_fixup()
1895 usbnet_skb_return(dev, ax_skb); in smsc95xx_rx_fixup()
Dax88179_178a.c1365 struct sk_buff *ax_skb; in ax88179_rx_fixup() local
1466 ax_skb = netdev_alloc_skb_ip_align(dev->net, pkt_len); in ax88179_rx_fixup()
1467 if (!ax_skb) in ax88179_rx_fixup()
1469 skb_put(ax_skb, pkt_len); in ax88179_rx_fixup()
1470 memcpy(ax_skb->data, skb->data + 2, pkt_len); in ax88179_rx_fixup()
1472 ax88179_rx_checksum(ax_skb, pkt_hdr); in ax88179_rx_fixup()
1473 usbnet_skb_return(dev, ax_skb); in ax88179_rx_fixup()
Dasix.h173 struct sk_buff *ax_skb; member
Dsmsc75xx.c2185 struct sk_buff *ax_skb; in smsc75xx_rx_fixup() local
2237 ax_skb = netdev_alloc_skb_ip_align(dev->net, size - 4); in smsc75xx_rx_fixup()
2238 if (unlikely(!ax_skb)) { in smsc75xx_rx_fixup()
2243 skb_put(ax_skb, size - 4); in smsc75xx_rx_fixup()
2244 memcpy(ax_skb->data, packet, size - 4); in smsc75xx_rx_fixup()
2246 smsc75xx_rx_csum_offload(dev, ax_skb, rx_cmd_a, in smsc75xx_rx_fixup()
2249 usbnet_skb_return(dev, ax_skb); in smsc75xx_rx_fixup()