From: David S. Miller Date: Mon, 2 Sep 2019 19:07:46 +0000 (-0700) Subject: Merge branch 'mvpp2-per-cpu-buffers' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=67538eb5c00f08d7fe27f1bb703098b17302bdc0;p=linux.git Merge branch 'mvpp2-per-cpu-buffers' Matteo Croce says: ==================== mvpp2: per-cpu buffers This patchset workarounds an PP2 HW limitation which prevents to use per-cpu rx buffers. The first patch is just a refactor to prepare for the second one. The second one allocates percpu buffers if the following conditions are met: - CPU number is less or equal 4 - no port is using jumbo frames If the following conditions are not met at load time, of jumbo frame is enabled later on, the shared allocation is reverted. ==================== Signed-off-by: David S. Miller --- 67538eb5c00f08d7fe27f1bb703098b17302bdc0