summaryrefslogtreecommitdiff
path: root/drivers/net/irda/litelink-sir.c
diff options
context:
space:
mode:
authorSathya Perla <sathya.perla@emulex.com>2011-06-29 23:33:17 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-07-01 05:32:50 (GMT)
commit482c9e798738dea847a5e5e0d20692fe80d48a76 (patch)
tree737fc458762b7479380fc917c02ef3039bcee4ff /drivers/net/irda/litelink-sir.c
parent2b3f291bf98e7cbf76afd9b0c96c81df5f5890f9 (diff)
downloadlinux-fsl-qoriq-482c9e798738dea847a5e5e0d20692fe80d48a76.tar.xz
be2net: create/destroy rx-queues on interface open/close
On some skews, the BE card sends pause frames (and not drop pkts) if there are no more posted buffers available for packet reception. This behaviour has a side effect: When an interface is disabled, buffers are no longer posted on the corresponding RX rings. All broadcast and multicast traffic being received on the port will quickly fill up the PMEM and cause pause push back. As the PMEM is shared by both the ports, all traffic being received on the other (enabled) port also gets stalled. The fix is to destroy RX rings when the interface is disabled. If there is no RX ring match in the RXF lookup, the packets are discarded and so don't hog the PMEM. The RXQ creation cmd must now use MCC instead of MBOX as they are are called post MCC queue creation. Signed-off-by: Sathya Perla <sathya.perla@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/irda/litelink-sir.c')
0 files changed, 0 insertions, 0 deletions