diff options
author | Patrick Wildt <patrick@blueri.se> | 2020-10-07 11:03:30 +0200 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-10-19 22:59:53 +0200 |
commit | 36ea0cab2696655030dc953e559f5c5bd223a38e (patch) | |
tree | 19ef15a9056a188ca7ddf9c695e7eb6ccf577ac3 /include/net.h | |
parent | 3d19a7ee8ca7af01f75ff24622ea3c9840cd5bca (diff) | |
download | u-boot-36ea0cab2696655030dc953e559f5c5bd223a38e.tar.gz |
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>
Diffstat (limited to 'include/net.h')
-rw-r--r-- | include/net.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net.h b/include/net.h index 778acf7da3..aff6674bb3 100644 --- a/include/net.h +++ b/include/net.h @@ -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 /* |