> > This obviously does not work for the case I'm talking about > (transmitting out another device with XDP). >
XDP_TX does not handle this yet. When XDP_TX was added, it was very clear that the transmit _had_ to be done on the same port. Since all this discussion happened in this thread ( mlx4: use order-0 pages for RX ) I was kind of assuming all the comments were relevant to current code or patch, not future devs ;)