From 2e44b39d25bc6292dc11311d46589dcfee9a142f Mon Sep 17 00:00:00 2001 From: Subash Abhinov Kasiviswanathan Date: Thu, 1 Jun 2017 13:43:25 -0600 Subject: [PATCH] ANDROID: GKI: net: add counter for number of frames coalesced in GRO Partial cherry picked from commit 30f30b8006147cf6222d1872595da281236e74c1 ("net: add a per-cpu counter for the number of frames coalesced in GRO") Add an unused ABI alignment member to struct softnet_data. Change-Id: I05965c0cb150947935d5977884cc4d583b37131e Signed-off-by: Subash Abhinov Kasiviswanathan (cherry picked from commit 30f30b8006147cf6222d1872595da281236e74c1) Signed-off-by: Mark Salyzyn Bug: 154523213 --- include/linux/netdevice.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 37d383bf27eb..fd2f010f1932 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -2956,6 +2956,9 @@ struct softnet_data { unsigned int processed; unsigned int time_squeeze; unsigned int received_rps; + /* unused partner variable for ABI alignment */ + unsigned int gro_coalesced; + #ifdef CONFIG_RPS struct softnet_data *rps_ipi_list; #endif