Re: [PATCH net-next 0/5] Some cleanup and bugfix for desc filling

From: David Miller
Date: Tue Oct 16 2018 - 13:10:16 EST


From: Yunsheng Lin <linyunsheng@xxxxxxxxxx>
Date: Tue, 16 Oct 2018 19:58:47 +0800

> When retransmiting packets, skb_cow_head which is called in
> hns3_set_tso may clone a new header. And driver will clear the
> checksum of the header after doing DMA map, so HW will read the
> old header whose L3 checksum is not cleared and calculate a
> wrong L3 checksum.
>
> Also When sending a big fragment using multiple buffer descriptor,
> hns3 does one maping, but do multiple unmapping when tx is done,
> which may cause unmapping problem.
>
> This patchset does some cleanup before fixing the above problem.

Series applied.