cxgb4: Free completed tx skbs promptly
authorHariprasad Shenai <hariprasad@chelsio.com>
Thu, 21 Aug 2014 11:34:46 +0000 (17:04 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Aug 2014 04:54:52 +0000 (21:54 -0700)
commit08f1a1b9d1a9902498f7c4bd93b14899dda18708
treeb3235856e7777643a1db49db34af7e6db89e7aaa
parent215a004c61d2f12b130aeb2a9f609275ed6f61bb
cxgb4: Free completed tx skbs promptly

Description of problem:
The NIC card is not reporting back to the driver the transmitted skbs,
so they get stuck in the TX ring causing issues with reference
counters in other kernel components.

Developed a new Automatic Egress Queue Update firmware facility to slowly tick
through Egress Queues and send back any outstanding CIDX Updates which are
laying around.

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