]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4/cxgb4vf: Add support for SGE doorbell queue timer
authorVishal Kulkarni <vishal@chelsio.com>
Thu, 14 Feb 2019 12:49:15 +0000 (18:19 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2019 17:39:35 +0000 (12:39 -0500)
commite394725b55030870856b9405338c0bf62f65ec22
tree8d94d8f4c846736890f292bd136df5455d1ac7c2
parent78fd25c9d5b0400a6b078a53a2f7aa3f0ee8d4a6
cxgb4/cxgb4vf: Add support for SGE doorbell queue timer

T6 introduced a Timer Mechanism in SGE called the
SGE Doorbell Queue Timer. With this we can now configure
TX Queues to get CIDX Updates when:

    Time(CIDX == PIDX) >= Timer

Previously we rely on TX Queue Status Page updates by hardware
for DMA completions. This will make Hardware/Firmware actually
deliver the CIDX Updates as Ingress Queue messages with
commensurate Interrupts.

So we now have a new RX Path component for processing CIDX Updates
and reclaiming TX Descriptors faster.

Original work by: Casey Leedom <leedom@chelsio.com>

Signed-off-by: Vishal Kulkarni <vishal@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/sge.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.h
drivers/net/ethernet/chelsio/cxgb4/t4_values.h
drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h
drivers/net/ethernet/chelsio/cxgb4vf/sge.c