summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-10-21 19:13:05 -0400
committerTom Rini <trini@konsulko.com>2020-10-21 19:13:05 -0400
commit5d92dacbbe8a751e95f0ad0cf7c3d2370e9a04c7 (patch)
treefdf9d347d1f09669604242921eccd18aa9554074 /include
parent5675ed7cb645f5ec13958726992daeeed16fd114 (diff)
parent42f804fbba2836e64f472306ff7616c812d5c54d (diff)
Merge tag 'efi-2021-01-rc1-2' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
Pull request for UEFI sub-system for efi-2021-01-rc1 (2) A use after free in the UEFI network stack is fixed.
Diffstat (limited to 'include')
-rw-r--r--include/net.h3
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
/*