Merge branch 'virtio_net-refactor-xdp-codes'
authorJakub Kicinski <kuba@kernel.org>
Wed, 10 May 2023 02:45:01 +0000 (19:45 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 10 May 2023 02:51:56 +0000 (19:51 -0700)
commit505e315bc7f53ca9c1f0e604f40e026fbcc41ed1
tree09a2c868e84695a53bb6d74a8ef4a20a03ec64d8
parent559ae55cfc334c91c62d2ea054a3345611363ee0
parent21e26a71f5d3cae2551abcda318263a6a8c15206
Merge branch 'virtio_net-refactor-xdp-codes'

Xuan Zhuo says:

====================
virtio_net: refactor xdp codes

Due to historical reasons, the implementation of XDP in virtio-net
is relatively chaotic. For example, the processing of XDP actions
has two copies of similar code. Such as page, xdp_page processing, etc.

The purpose of this patch set is to refactor these code. Reduce the difficulty
of subsequent maintenance. Subsequent developers will not introduce new bugs
because of some complex logical relationships.

In addition, the supporting to AF_XDP that I want to submit later will
also need to reuse the logic of XDP, such as the processing of actions,
I don't want to introduce a new similar code. In this way, I can reuse
these codes in the future.
====================

Link: https://lore.kernel.org/r/20230508061417.65297-1-xuanzhuo@linux.alibaba.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>