eth: gmac: adapt to support DMA 32-bit in skb

This commit is contained in:
jianghai
2023-06-26 17:40:07 +08:00
committed by Han Gao
parent 7d38ead3b4
commit c99828ab6f
3 changed files with 45 additions and 12 deletions

View File

@@ -1088,6 +1088,8 @@ struct sk_buff *build_skb(void *data, unsigned int frag_size);
struct sk_buff *build_skb_around(struct sk_buff *skb,
void *data, unsigned int frag_size);
void skb_set_alloc_dma32(gfp_t gfp_dma32);
gfp_t skb_get_alloc_dma32(void);
/**
* alloc_skb - allocate a network buffer
* @size: size to allocate