]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4vf: Fix check to use new User Doorbell mechanism
authorHariprasad Shenai <hariprasad@chelsio.com>
Thu, 9 Jul 2015 09:25:46 +0000 (14:55 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Jul 2015 07:02:01 +0000 (00:02 -0700)
commite849bb425e771046c7acf376c32660bb870f2e74
tree1466d10e472a9bfd923d7d695db49d798367a82e
parent4c23ed57935a86c4f4d74019faa783fcde29e53f
cxgb4vf: Fix check to use new User Doorbell mechanism

If we don't have access to the new User GTS (T5+), use the old doorbell
mechanism; otherwise use the new BAR2 mechanism.

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4vf/sge.c