Searched refs:ax_skb (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/net/usb/ |
D | asix_common.c | 122 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 …]
|
D | smsc95xx.c | 1831 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()
|
D | ax88179_178a.c | 1365 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()
|
D | asix.h | 173 struct sk_buff *ax_skb; member
|
D | smsc75xx.c | 2185 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()
|