Merge branch 'rework-mvneta-napi_poll-loop-for-XDP-multi-buffers'
authorDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2020 01:28:34 +0000 (18:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2020 01:28:34 +0000 (18:28 -0700)
commit930bc4cc359bdf94029ecb867811000dd87a2c3d
treef4d091b5276c329c4fb8082a1a9386752d13fcee
parentbed1ce78761925785cfccbd73aea2d889f625b68
parentc7a3a8cd9d41ee0a32659fc99d98ec83af803b77
Merge branch 'rework-mvneta-napi_poll-loop-for-XDP-multi-buffers'

Lorenzo Bianconi says:

====================
rework mvneta napi_poll loop for XDP multi-buffers

Rework mvneta_rx_swbm routine in order to process all rx descriptors before
building the skb or run the xdp program attached to the interface.
Introduce xdp_get_shared_info_from_{buff,frame} utility routines to get the
skb_shared_info pointer from xdp_buff or xdp_frame.
This is a preliminary series to enable multi-buffers and jumbo frames for XDP
according to [1]

[1] https://github.com/xdp-project/xdp-project/blob/master/areas/core/xdp-multi-buffer01-design.org

Changes since v1:
- rely on skb_frag_* utility routines to access page/offset/len of the xdp multi-buffer
====================

Signed-off-by: David S. Miller <davem@davemloft.net>