]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb089beb9442170b6d44d668e43eab20352ec3963
treeb3235856e7777643a1db49db34af7e6db89e7aaa
parentea077f95c38fcd4b166766f0b708e1c2ce47476d
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