atm: [he] rewrite buffer handling in receive path
commite623d62512dcb68a1c4844f4d7b5c8f3aff7d0da
authorchas williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Sat, 29 May 2010 09:05:33 +0000 (29 09:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 May 2010 07:27:47 +0000 (31 00:27 -0700)
tree24d697011fcf477eb1781fc89f8e63c5edc735ec
parent1d927870e583d19afa17b2062b65e8f74a83b742
atm: [he] rewrite buffer handling in receive path

Instead of a fixed list of buffers, use the buffer pool correctly and
keep track of the outstanding buffer indexes using a fixed table.
Resolves reported HBUF_ERR's -- failures due to lack of receive buffers.

Signed-off-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/he.c
drivers/atm/he.h