search for: metasize

Displaying 7 results from an estimated 7 matches for "metasize".

2023 Mar 28
8
[PATCH net-next 0/8] 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
2023 Mar 22
9
[PATCH net-next 0/8] 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
2023 Mar 15
10
[RFC net-next 0/8] 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
2023 Apr 03
1
[PATCH net-next 3/8] virtio_net: introduce virtnet_xdp_handler() to seprate the logic of run xdp
..._enabled ? VIRTIO_XDP_HEADROOM : 0; > @@ -876,7 +938,6 @@ static struct sk_buff *receive_small(struct net_device *dev, > struct page *page = virt_to_head_page(buf); > unsigned int delta = 0; > struct page *xdp_page; > - int err; > unsigned int metasize = 0; > > len -= vi->hdr_len; > @@ -898,7 +959,6 @@ static struct sk_buff *receive_small(struct net_device *dev, > xdp_prog = rcu_dereference(rq->xdp_prog); > if (xdp_prog) { > struct virtio_net_hdr_mrg_rxbuf *hdr = buf + header_offset;...
2023 Apr 04
1
[PATCH net-next 3/8] virtio_net: introduce virtnet_xdp_handler() to seprate the logic of run xdp
...sk_buff *receive_small(struct net_device *dev, > > > > struct page *page = virt_to_head_page(buf); > > > > unsigned int delta = 0; > > > > struct page *xdp_page; > > > > - int err; > > > > unsigned int metasize = 0; > > > > > > > > len -= vi->hdr_len; > > > > @@ -898,7 +959,6 @@ static struct sk_buff *receive_small(struct net_device *dev, > > > > xdp_prog = rcu_dereference(rq->xdp_prog); > > > > if (xdp_prog) { >...
2023 Apr 04
1
[PATCH net-next 3/8] virtio_net: introduce virtnet_xdp_handler() to seprate the logic of run xdp
...ruct net_device *dev, > > > > > struct page *page = virt_to_head_page(buf); > > > > > unsigned int delta = 0; > > > > > struct page *xdp_page; > > > > > - int err; > > > > > unsigned int metasize = 0; > > > > > > > > > > len -= vi->hdr_len; > > > > > @@ -898,7 +959,6 @@ static struct sk_buff *receive_small(struct net_device *dev, > > > > > xdp_prog = rcu_dereference(rq->xdp_prog); > > > > >...
2023 Apr 04
1
[PATCH net-next 3/8] virtio_net: introduce virtnet_xdp_handler() to seprate the logic of run xdp
...; > struct page *page = virt_to_head_page(buf); > > > > > > > unsigned int delta = 0; > > > > > > > struct page *xdp_page; > > > > > > > - int err; > > > > > > > unsigned int metasize = 0; > > > > > > > > > > > > > > len -= vi->hdr_len; > > > > > > > @@ -898,7 +959,6 @@ static struct sk_buff *receive_small(struct net_device *dev, > > > > > > > xdp_prog = rcu_dereference(rq->...