net: ena: use build_skb() in RX path
authorShay Agroskin <shayagr@amazon.com>
Tue, 8 Jun 2021 16:01:12 +0000 (19:01 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jun 2021 21:41:09 +0000 (14:41 -0700)
commit9e5269a915a8e3d6f4bae5641451737e9cca70c0
treee0d11a740849fb01a41596158998c22b76aceb72
parent091d0e85a0d4051b286767b05d3a18c87b6c4a14
net: ena: use build_skb() in RX path

This patch converts the RX path to use build_skb() for packets larger
than copybreak (set to 256 by default). This function makes the first
descriptor's page to be the linear part of the sk_buff struct buffer.

Also remove the SKB description from the README since most of it no
longer relevant and the parts that are left don't add information.

Signed-off-by: Shay Agroskin <shayagr@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_netdev.c