From: Mitch Williams Date: Fri, 17 Oct 2014 03:14:53 +0000 (+0000) Subject: i40e: properly parse MDET registers X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~291^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2089ad03b200fca3b2193a2f6f9779c38f62f9d6;p=pandora-kernel.git i40e: properly parse MDET registers Fix a few problems with our parsing of the MDET registers: * Queue IDs are longer than 8 bits * Queue IDs are absolute for the device and the base queue must be subtracted out. * VF IDs are longer than 8 bits * Use the MASK define to mask the event value, instead of the SHIFT define. Change-ID: I3dc7237f480c02e1192a2a8ea782f8a02ab2a8b7 Reported-by: Marc Neustadter Signed-off-by: Mitch Williams Signed-off-by: Patrick Lu Tested-by: Jim Young Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed