xdp: introduce xdp_get_shared_info_from_{buff, frame} utility routines
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 16 Jul 2020 22:16:29 +0000 (00:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2020 01:28:33 +0000 (18:28 -0700)
commit2f0bc54ba9a85032f2402faf0fccab513848300a
tree4c6ff1a57b746749e299739fca0f0a1b4ec2427d
parentbed1ce78761925785cfccbd73aea2d889f625b68
xdp: introduce xdp_get_shared_info_from_{buff, frame} utility routines

Introduce xdp_get_shared_info_from_{buff,frame} utility routines to get
skb_shared_info from xdp buffer/frame pointer.
xdp_get_shared_info_from_{buff,frame} will be used to implement xdp
multi-buffer support

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/xdp.h