Skip to content
Snippets Groups Projects
Commit fc393f56 authored by Yalu Zhang's avatar Yalu Zhang Committed by Oussama Ghorbel
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 92c4ee90
No related branches found
No related tags found
No related merge requests found
...@@ -319,6 +319,10 @@ static void arp_send_dst(int type, int ptype, __be32 dest_ip, ...@@ -319,6 +319,10 @@ static void arp_send_dst(int type, int ptype, __be32 dest_ip,
skb->priority = 7; /* For ARP Prioritization */ skb->priority = 7; /* For ARP Prioritization */
skb_dst_set(skb, dst_clone(dst)); 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); arp_xmit(skb);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment