Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6334

What is the event that XDP socket is attached to?

$
0
0

I am developing a kernel module that registers to the receive handler like this:

rx_handler_result_t rxhPacketIn(struct sk_buff **ppkt)

However, when I tried to use this kernel module program with XDP program from XDP-tutorial 1, the kernel module was not involved at all, even when I tried to only pass the packets in the XDP kernel program (return XDP_PASS). So my question is, how XDP kernel program is attached to the kernel, and does it has higher priority than the kernel module registered as a rx_handler ?


Viewing all articles
Browse latest Browse all 6334

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>