Open harshgondaliya opened 4 years ago
Might be the flex filter offset, can you try to modify the offset in the device configuration here? https://github.com/libmoon/libmoon/blob/606ccdae62a4a2104ad8fc7225407f08235bf309/src/device.c#L93
But no idea if the 82599 supports IP options in the PTP stack (it should, technically)
My IPOption header is of 8 bytes, hence I made the below-mentioned changes. It didn't give the required results.
Original:
.src_offset = { 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57 },
After changes:
.src_offset = { 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65 },
I am not sure if I have done it correctly. Being very new to DPDK and MoonGen, still I have not understood what exactly this offset is trying to do.
I did search for it online but am not able to find much useful explanation.
Any help in this regard will be very useful for me. Thanks.
I think the offset should be set as
.src_offset = { 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65 },
for my use case.
It still gives me zero-latency measurements.
Is there any other code line that I need to change?
I am trying to measure latency for my routing algorithm which: appends an IPOption header to an incoming packet and forwards the packet.
I am using Intel Ethernet Server Adapter X520-DA2.
As soon as I run the l3-load-latency.lua script, I get zero latency results (last line in output):
I am able to obtain latency results for the normal IP Forwarding scenario where no IPOption header is added. What changes should I make in the Lua scripts to obtain proper latency measurements?