Re: [PATCH net-next RFC v1 01/10] iov_iter: Skip copy in memcpy_to_page if src==dst

2020-10-08 Thread Sagi Grimberg
You probably want Al to have a look at this..

[PATCH net-next RFC v1 01/10] iov_iter: Skip copy in memcpy_to_page if src==dst

2020-09-30 Thread Boris Pismenny
When using direct data placement the NIC writes some of the payload directly to the destination buffer, and constructs the SKB such that it points to this data. As a result, the skb_copy datagram_iter call will attempt to copy data when it is not necessary. This patch adds a check to avoid this co