diff options
author | Mitch Williams <mitch.a.williams@intel.com> | 2014-10-17 03:14:53 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-11-03 04:35:35 -0800 |
commit | 2089ad03b200fca3b2193a2f6f9779c38f62f9d6 (patch) | |
tree | e141bb7b640add8b698d634ec9aedd449f98b041 /usr | |
parent | 7a28d8857ddc3986b62ae1a41dc551453718b4b3 (diff) | |
download | linux-2089ad03b200fca3b2193a2f6f9779c38f62f9d6.tar.bz2 |
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 <marc.neustadter@intel.com>
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Patrick Lu <patrick.lu@intel.com>
Tested-by: Jim Young <jamesx.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions