Displaying 2 results from an estimated 2 matches for "ed9ecb0415b9".
2023 Aug 16
1
[PATCH net v1] virtio_net: Introduce skb_vnet_common_hdr to avoid typecasting
..._hash cannot use virtio_net_hdr as the first member,
> because in virtio_net_hdr_v1, csum_start and csum_offset are stored in
> union as a structure, and virtio_net_hdr cannot be used instead.
Oh right. That wasn't always the case, or the reason for this.
Not super relevant but, commit ed9ecb0415b9 has the history
virtio: Don't expose legacy net features when VIRTIO_NET_NO_LEGACY defined.
In particular, the virtio header always has the u16 num_buffers field.
We define a new 'struct virtio_net_hdr_v1' for this (rather than
simply calling it 'struct virtio_net_...
2023 Aug 16
1
[PATCH net v1] virtio_net: Introduce skb_vnet_common_hdr to avoid typecasting
On 2023-08-15 p.m.2:13, Willem de Bruijn wrote:
> External email: Use caution opening links or attachments
>
>
> On Tue, Aug 15, 2023 at 12:29?PM Simon Horman <horms at kernel.org> wrote:
>>
>> On Tue, Aug 15, 2023 at 11:09:02AM -0400, Feng Liu wrote:
>> To clarify: In general new Networking features go via the net-next tree,
>> while bug fixes go via