summaryrefslogtreecommitdiff
path: root/drivers/net/pppoe.c
diff options
context:
space:
mode:
authorFlorian Fainelli <florian.fainelli@telecomint.eu>2008-07-13 12:33:36 (GMT)
committerJeff Garzik <jgarzik@redhat.com>2008-07-22 23:59:28 (GMT)
commit9ca28dc4c75f018201e21b10e34b8161bcb0ffb2 (patch)
tree4f7f87b570df4d12077a3854f1deb0a0b6cffc51 /drivers/net/pppoe.c
parent129cf9a7028fc50b226b8021bc0b76fb38efa81d (diff)
downloadlinux-fsl-qoriq-9ca28dc4c75f018201e21b10e34b8161bcb0ffb2.tar.xz
r6040: completely rework the RX path
This patch completely reworks the RX path in order to be more accurate about what is going on with the MAC. We no longer read the error from the MLSR register instead read the descriptor status register which reflects, the error per descriptor. We now allocate skbs on the fly in r6040_rx, and we handle allocation failure instead of simply dropping the packet. Remove the rx_free_desc counter of r6040_private structure since we allocate skbs in the RX path. r6040_rx_buf_alloc is now removed and becomes unuseless. Signed-Off-By: Joerg Albert <jal2@gmx.de> Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/pppoe.c')
0 files changed, 0 insertions, 0 deletions