Closed function47 closed 2 years ago
Hi @function47 ,
That's a good question. The driver currently receives RAW Ethernet frames and doesn't currently support reading any metadata along with/alongside packets.
In the QDMA user guide, the QDMA seems to have a notion of custom user defined metadata (up to 32 bits) but only in the H2C direction.
I just think in the C2H direction it might be possible to prepend packets with some small amount of fixed length metadata, and then to peel that off in the driver when receiving the packets. This would hurt throughput, but the throughput of the drivers is already less than 100G.
If you want to add some sort of support for this, it might be an interesting contribution.
Another suggestion is to try to put some application specific headers into packets.
Best regards, --Chris
I am working on instantiating a VitisNetP4 IP into user logic box. The IP will spit out some custom user metadata with the packets. I have noticed that I could connect them with the TUSER interfaces according to this.
My question is how I am able to access them through the open-nic-driver?
Or should I connect the user metadata through a different interface?
Thanks!