[linux-azure] XDP generic fixes
Bug #1831254 reported by
Joseph Salisbury
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-azure (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
These two commits were needed to to get XDP working on Azure.
This set of patches came about while investigating and XDP generic issue on Azure. The split brain nature of the accelerated networking exposed issues with the stack device model.
The following two commits are currently in linux-next and were tested to resolve this issue:
996ed04741467 ("netvsc: unshare skb in VF rx handler")
458bf2f224f04 ("net: core: support XDP generic on stacked devices.")
CVE References
To post a comment you must log in.
For testing, the git repo is here https:/ /github. com/Netronome/ bpf-samples. git
To use it:
$ ./xdpdump -i eth1 -S
The -S says to use xdp generic (versus HW offload which we don't support).
If you don't have the fix, only the slow path packets (TCP SYN, ARP, etc) will show up.
If you have the fix then all packets show up.