FreeBSD kernel /amd64 XEN device code
Todo List
Global xnb_collect_xenstore_info (struct xnb_softc *xnb)

Linux collects the following info. We should collect most of this, too: "feature-rx-notify"

: figure out the exact meaning of this feature, and when the frontend will set it to true. It should be set to true at some point

Collect the rx notify feature

Global xnb_pkt2mbufc (const struct xnb_pkt *pkt, struct ifnet *ifp)

consider using a memory pool for mbufs instead of reallocating them for every packet

handle extra data

Global xnb_unit_test_main (SYSCTL_HANDLER_ARGS)
: the static variable is not thread safe. Put a mutex around it.