Alexander Lobakin <aleksander.lobakin@xxxxxxxxx> writes: > One may need to register memory model separately from xdp_rxq_info. One > simple example may be XDP test run code, but in general, it might be > useful when memory model registering is managed by one layer and then > XDP RxQ info by a different one. > Allow such scenarios by adding a simple helper which "attaches" an > already registered memory model to the desired xdp_rxq_info. As this > is mostly needed for Page Pool, add a special function to do that for > a &page_pool pointer. > > Signed-off-by: Alexander Lobakin <aleksander.lobakin@xxxxxxxxx> Reviewed-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx>