How to receive packets:
Two ways:
- using napi (poll): register netpoll function to napi (ixgbe_netpoll) that performs clean the rx_ring and sends all the packet up to the upper layer
- calls ixgbe_msix_clean_rings()
- calls ixgbe_clean_tx_irq()
- calls ixgbe_receive_skb() or napi_gro_receive()
- what is the other? who writes to rx_ring???
How to send packets:
One way:
- use ixgbe_xmit_frame() function calls ixgbe_xmit_frame_ring()
simple examples of how to
Subscribe to:
Post Comments (Atom)
Thanks for great information you write it very clean. I am very lucky to get this tips from you.Lawful Intercept
ReplyDelete