From 18f80e3a51882dd10728093cb7b70e7bfa99e49d Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Tue, 18 Sep 2018 15:53:25 -0700 Subject: [PATCH] env_dpdk: fix comment on bits covered by map_256tb We recently increased the top level map from 128TB (47 bits) to 256TB (48 bits) but missed fixing one comment that still referred to the old number of bits. Signed-off-by: Jim Harris Change-Id: Ic993bd136cd09789ea2a65b480151805d231c3d5 Reviewed-on: https://review.gerrithub.io/426002 Tested-by: SPDK CI Jenkins Chandler-Test-Pool: SPDK Automated Test System Reviewed-by: Changpeng Liu Reviewed-by: Dariusz Stojaczyk Reviewed-by: Shuhei Matsumoto Reviewed-by: Ben Walker --- lib/env_dpdk/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/env_dpdk/memory.c b/lib/env_dpdk/memory.c index 73b30a21b..44ef4ce73 100644 --- a/lib/env_dpdk/memory.c +++ b/lib/env_dpdk/memory.c @@ -70,7 +70,7 @@ struct map_1gb { struct map_2mb map[1ULL << (SHIFT_1GB - SHIFT_2MB)]; }; -/* Top-level map table indexed by bits [30..46] of the virtual address. +/* Top-level map table indexed by bits [30..47] of the virtual address. * Each entry points to a second-level map table or NULL. */ struct map_256tb {