net: add a define for the number of packets received as batch

With a define for the magic number of packets received as batch
we can make sure that the EFI network stack caches the same amount
of packets.

Signed-off-by: Patrick Wildt <patrick@blueri.se>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
Patrick Wildt
2020-10-07 11:03:30 +02:00
committed by Heinrich Schuchardt
parent 3d19a7ee8c
commit 36ea0cab26
2 changed files with 4 additions and 1 deletions

View File

@@ -44,6 +44,9 @@ struct udevice;
#define PKTALIGN ARCH_DMA_MINALIGN
/* Number of packets processed together */
#define ETH_PACKETS_BATCH_RECV 32
/* ARP hardware address length */
#define ARP_HLEN 6
/*