]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Use BAR2 Going To Sleep (GTS) for T5 and later.
authorHariprasad Shenai <hariprasad@chelsio.com>
Thu, 25 Sep 2014 18:53:52 +0000 (00:23 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Sep 2014 21:32:10 +0000 (17:32 -0400)
commit91e9eb0083fdbd44b8412f78510f78f98cb1eeee
tree999af643615347ff030c2a5c846df1fecc061514
parentab0b3fbb19ef3f86b7d5a0fbd4f1f32efc827b39
cxgb4: Use BAR2 Going To Sleep (GTS) for T5 and later.

Use BAR2 GTS for T5. If we are on T4 use the old doorbell mechanism;
otherwise ue the new BAR2 mechanism. Use BAR2 doorbells for refilling FL's.

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>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/sge.c
drivers/net/ethernet/chelsio/cxgb4/t4_regs.h