On 17 Jun, Lorenzo Bianconi wrote: > > What would be the case if there is a VLAN tag set ? > > I am not expert about how ovs manages vlan tags, but looking at [1] and [2], > it seems > to me vlan header is not accounted in skb->len > > Regards, > Lorenzo > > [1] https://github.com/torvalds/linux/blob/master/net/core/dev.c#L5117 > [2] > https://github.com/torvalds/linux/blob/master/net/openvswitch/vport-netdev.c#L29
I don't have the full picture of what happens either, but it would seem the vlan header is accounted >From here: https://github.com/torvalds/linux/blob/master/include/linux/if_vlan.h#L342 skb_push resizes the skb adding VLAN_HLEN bytes, modifying skb->len _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev