[PATCH 4/4] net: e1000: make use of multiple rx packets

Tom Rini trini at konsulko.com
Fri May 5 21:51:22 CEST 2023


On Fri, Mar 03, 2023 at 09:48:44PM +0100, Christian Gmeiner wrote:

> When facing a very busy network, the single rx packet
> buffer was oftentimes overwritten before a desired
> response packet (e.g. a Ping reply) could have been
> processed. This change improves resistance to this
> by utilising multiple buffers.
> 
> Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
> ---

This results in:
drivers/net/e1000.c:5317:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 5317 |         packet = (unsigned char *)rd->buffer_addr;
      |                  ^

On platforms such as qemu_arm.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230505/fa50d686/attachment.sig>


More information about the U-Boot mailing list