search for: pahole

Displaying 8 results from an estimated 8 matches for "pahole".

Did you mean: hole
2020 May 06
0
[PATCH net-next 1/2] virtio-net: don't reserve space for vnet header for XDP
...vive after calling BPF/XDP. After your change it will be overwritten in xdp_frame cases. > So let's just not reserve space for vnet header in this case. I think this is a wrong approach! We are working on supporting GRO multi-buffer for XDP. The vnet header contains GRO information (see pahole below sign). It is currently not used in the XDP case, but we will be working towards using it. There are a lot of unanswered questions on how this will be implemented. Thus, I cannot layout how we are going to leverage this info yet, but your patch are killing this info, which IHMO is going in th...
2020 May 06
6
[PATCH net-next 1/2] virtio-net: don't reserve space for vnet header for XDP
We tried to reserve space for vnet header before xdp.data_hard_start. But this is useless since the packet could be modified by XDP which may invalidate the information stored in the header and there's no way for XDP to know the existence of the vnet header currently. So let's just not reserve space for vnet header in this case. Cc: Jesper Dangaard Brouer <brouer at redhat.com>
2020 May 06
6
[PATCH net-next 1/2] virtio-net: don't reserve space for vnet header for XDP
We tried to reserve space for vnet header before xdp.data_hard_start. But this is useless since the packet could be modified by XDP which may invalidate the information stored in the header and there's no way for XDP to know the existence of the vnet header currently. So let's just not reserve space for vnet header in this case. Cc: Jesper Dangaard Brouer <brouer at redhat.com>
2023 Feb 17
1
[Bridge] [PATCH net-next 5/5] net: dsa: mv88e6xxx: implementation of dynamic ATU entries
...a LAG. */ if (dp->lag && !host_addr) { if (!ds->ops->lag_fdb_add || !ds->ops->lag_fdb_del) return -EOPNOTSUPP; } else { if (!ds->ops->port_fdb_add || !ds->ops->port_fdb_del) return -EOPNOTSUPP; } What you should be doing is you should be using the pahole tool to find a good place for a new unsigned long field in struct dsa_switch, and add a new field ds->supported_fdb_flags. You should extend the early checking from dsa_slave_fdb_event() and exit without doing anything if the (fdb->flags & ~ds->supported_fdb_flags) expression is non-ze...
2020 May 06
2
[PATCH net-next 1/2] virtio-net: don't reserve space for vnet header for XDP
...ter your change it will be overwritten in xdp_frame cases. > > >> So let's just not reserve space for vnet header in this case. > I think this is a wrong approach! > > We are working on supporting GRO multi-buffer for XDP. The vnet header > contains GRO information (see pahole below sign). Another note is that since we need reserve room for skb_shared_info, GRO for XDP may probably lead more frag list. > It is currently not > used in the XDP case, but we will be working towards using it. Good to know that, but I think it can only work when the packet is no...
2020 May 06
2
[PATCH net-next 1/2] virtio-net: don't reserve space for vnet header for XDP
...ter your change it will be overwritten in xdp_frame cases. > > >> So let's just not reserve space for vnet header in this case. > I think this is a wrong approach! > > We are working on supporting GRO multi-buffer for XDP. The vnet header > contains GRO information (see pahole below sign). Another note is that since we need reserve room for skb_shared_info, GRO for XDP may probably lead more frag list. > It is currently not > used in the XDP case, but we will be working towards using it. Good to know that, but I think it can only work when the packet is no...
2020 May 06
0
[PATCH net-next 1/2] virtio-net: don't reserve space for vnet header for XDP
...in xdp_frame cases. > > > > > > > So let's just not reserve space for vnet header in this case. > > I think this is a wrong approach! > > > > We are working on supporting GRO multi-buffer for XDP. The vnet header > > contains GRO information (see pahole below sign). > > > Another note is that since we need reserve room for skb_shared_info, GRO for > XDP may probably lead more frag list. > > > > It is currently not > > used in the XDP case, but we will be working towards using it. > > > Good to know th...
2015 Sep 10
1
[PATCH 3/5] update virtio gpu driver: add 3d/virgl support
Hello Gert, On 9 September 2015 at 12:42, Gerd Hoffmann <kraxel at redhat.com> wrote: > Add the bits needed for opengl rendering support: query > capabilities, new virtio commands, drm ioctls. > > Signed-off-by: Dave Airlie <airlied at redhat.com> > Signed-off-by: Gerd Hoffmann <kraxel at redhat.com> > --- > + > +struct drm_ioctl_desc