From: Eugenia Emantayev Date: Thu, 7 Nov 2013 10:19:54 +0000 (+0200) Subject: net/mlx4_en: Datapath structures are allocated per NUMA node X-Git-Tag: v3.13-rc1~105^2~27^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=163561a4e2f8af44e96453bc10c7a4f9bcc736e1;p=pandora-kernel.git net/mlx4_en: Datapath structures are allocated per NUMA node For each RX/TX ring and its CQ, allocation is done on a NUMA node that corresponds to the core that the data structure should operate on. The assumption is that the core number is reflected by the ring index. The affected allocations are the ring/CQ data structures, the TX/RX info and the shared HW/SW buffer. For TX rings, each core has rings of all UPs. Signed-off-by: Yevgeny Petrilin Signed-off-by: Eugenia Emantayev Reviewed-by: Hadar Hen Zion Signed-off-by: Amir Vadai Signed-off-by: David S. Miller --- Reading git-diff-tree failed