OSDN Git Service

virtio-net: remove xdp related info from page_to_skb()
authorHeng Qi <hengqi@linux.alibaba.com>
Sat, 14 Jan 2023 08:22:28 +0000 (16:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Jan 2023 11:15:48 +0000 (11:15 +0000)
commit18117a842ab029df139f776bf31eebff6d0e0730
treed4d563565ce27ee9159bc31a15bec55fa3baa1aa
parentb26aa481b4b710051dd663c89ed31f705a7a67eb
virtio-net: remove xdp related info from page_to_skb()

For the clear construction of xdp_buff, we remove the xdp processing
interleaved with page_to_skb(). Now, the logic of xdp and building
skb from xdp are separate and independent.

Signed-off-by: Heng Qi <hengqi@linux.alibaba.com>
Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c