Question. If I use speculative memory access via _mm_prefetch (SSE instruction), does it affect the Linux CNC kernel? I am using this on RAW L2 Zero Copy sockets. I ran it, it seems to work, Axis (Linux CNC) doesn't break. Are there any restrictions on what can be used programmatically when writing drivers for Linux CNC?
Question 2.
Code:
int val = 1;
int re = setsockopt(soc, SOL_PACKET, PACKET_QDISC_BYPASS, &val, sizeof(val));
This forces Linux to bypass qdisc (queue discipline). This affects Wireshark; it stops capturing incoming packets, but they are still there. Could this affect Linux CNC? The Linux CNC kernel?