diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2011-07-27 14:20:52 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-27 22:39:32 -0700 |
commit | 84b67b27e9531e9a70c9e8cd952d66c55f4d0ddb (patch) | |
tree | f082a966a82ebc803f1f4d7cfccf057b3b0a8017 /drivers/cdrom | |
parent | d1a3b7377d3b6a01ec5f70adb32173b13233aabf (diff) | |
download | linux-3.10-84b67b27e9531e9a70c9e8cd952d66c55f4d0ddb.tar.gz linux-3.10-84b67b27e9531e9a70c9e8cd952d66c55f4d0ddb.tar.bz2 linux-3.10-84b67b27e9531e9a70c9e8cd952d66c55f4d0ddb.zip |
tg3: Add tx BD budgeting code
As the driver breaks large skb fragments into smaller submissions to the
hardware, there is a new danger that BDs might get exhausted before all
fragments have been mapped. This patch adds code to make sure tx BDs
aren't oversubscribed and flag the condition if it happens.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions