simple examples of how to

Wednesday, October 5, 2011

The packet processing function trace in ixgbe driver

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()

1 comment:

  1. Thanks for great information you write it very clean. I am very lucky to get this tips from you.Lawful Intercept

    ReplyDelete