From: Eli Cohen Date: Thu, 2 Oct 2014 09:19:45 +0000 (+0300) Subject: net/mlx5_core: Identify resources by their type X-Git-Tag: fixes-against-v3.18-rc2~144^2~56^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5903325a64834211daf63a62db3b35ee580cb8bf;p=pandora-kernel.git net/mlx5_core: Identify resources by their type This patch puts a common part as the first field of mlx5_core_qp. This field is used to identify which resource generated an event. This is required since upcoming new resource types such as DC targets are allocated for the same numerical space as regular QPs and may generate the same events. By searching the resource in the same table we can then look at the common field to identify the resource. Signed-off-by: Eli Cohen Signed-off-by: David S. Miller --- Reading git-diff-tree failed