Skip to content
Snippets Groups Projects
Commit 95d32430 authored by Yalu Zhang's avatar Yalu Zhang
Browse files

Set the ARP requests generated by CPU to the highest priority

In order to make this work, a queue with "--priority 1 --map 1" must be created.
parent 54ac5060
No related tags found
No related merge requests found
......@@ -318,6 +318,10 @@ static void arp_send_dst(int type, int ptype, __be32 dest_ip,
return;
skb_dst_set(skb, dst_clone(dst));
/* Set the ARP requests generated by CPU to the highest priority since it fails to do this
* from the user space utilities. In order to make this work on Intel platform, a queue with
* "--priority 1 --map 1" must be created. */
skb->priority = 7;
arp_xmit(skb);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment