Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33971
b: refs/heads/master
c: d730e10
h: refs/heads/master
i:
  33969: 1708f68
  33967: c15be41
v: v3
  • Loading branch information
Chas Williams authored and David S. Miller committed Sep 18, 2006
1 parent 0af3738 commit e250ff2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5067f08abad451661dd154be4193ba231a61e747
refs/heads/master: d730e1033f81fefd3176f53e070b2b64cd146db0
9 changes: 9 additions & 0 deletions trunk/drivers/atm/he.c
Original file line number Diff line number Diff line change
Expand Up @@ -2282,13 +2282,22 @@ __enqueue_tpd(struct he_dev *he_dev, struct he_tpd *tpd, unsigned cid)
TPDRQ_MASK(he_readl(he_dev, TPDRQ_B_H)));

if (new_tail == he_dev->tpdrq_head) {
int slot;

hprintk("tpdrq full (cid 0x%x)\n", cid);
/*
* FIXME
* push tpd onto a transmit backlog queue
* after service_tbrq, service the backlog
* for now, we just drop the pdu
*/
for (slot = 0; slot < TPD_MAXIOV; ++slot) {
if (tpd->iovec[slot].addr)
pci_unmap_single(he_dev->pci_dev,
tpd->iovec[slot].addr,
tpd->iovec[slot].len & TPD_LEN_MASK,
PCI_DMA_TODEVICE);
}
if (tpd->skb) {
if (tpd->vcc->pop)
tpd->vcc->pop(tpd->vcc, tpd->skb);
Expand Down

0 comments on commit e250ff2

Please sign in to comment.