commit | e85c9a7abfa407ed99f8516cf6a10d397247315a | [log] [tgz] |
---|---|---|
author | Hariprasad Shenai <hariprasad@chelsio.com> | Wed Dec 03 19:32:52 2014 +0530 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 09 13:32:00 2014 -0500 |
tree | a27ce166a69cebc36034f598cec38a1d69f71366 | |
parent | e0a8b34a9cc486f52d95ed60a45768f1befb33f8 [diff] |
cxgb4/cxgb4vf: Add code to calculate T5 BAR2 Offsets for SGE Queue Registers Add new Common Code facilities for calculating T5 BAR2 Offsets for SGE Queue Registers. This new code can handle situations where Queues Per Page * SGE BAR2 Queue Register Area Size > Page Size Based on original work by Casey Leedom <leedom@chelsio.com> Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>