How to extract entire packet from skb including ethernet header, ip, and tcp plus pay load in poll method of device driver

前端 未结 0 1613
梦毁少年i
梦毁少年i 2021-02-06 18:52

in r8169 driver from realtek it does

    rx_buf = page_address(tp->Rx_databuff[entry]);
    dma_sync_single_for_cpu(d, addr, pkt_size, DMA_FROM_DEVICE);
    pr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题