Re: [net-next PATCH 1/5] udp: Record gso_segs when supporting UDP segmentation offload

2018-05-03 Thread Eric Dumazet
On 05/03/2018 05:33 PM, Alexander Duyck wrote: > From: Alexander Duyck > > We need to record the number of segments that will be generated when this > frame is segmented. The expectation is that if gso_size is set then > gso_segs is set as well. Without this some drivers such as ixgbe get > con

[net-next PATCH 1/5] udp: Record gso_segs when supporting UDP segmentation offload

2018-05-03 Thread Alexander Duyck
From: Alexander Duyck We need to record the number of segments that will be generated when this frame is segmented. The expectation is that if gso_size is set then gso_segs is set as well. Without this some drivers such as ixgbe get confused if they attempt to offload this as they record 0 segmen