gianfar: Add support for byte queue limits.
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 6 Jan 2012 18:51:03 +0000 (13:51 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 15 Mar 2012 19:37:48 +0000 (15:37 -0400)
commitd8a0f1b0af67679bba886784de10d8c21acc4e0e
treec22a927a5b2545e7ab0e4bfcfeb34b27afb56f01
parentcdf485be3a63d1f34293740fb726088c6840ceea
gianfar: Add support for byte queue limits.

Add support for byte queue limits (BQL), based on the similar
modifications made to intel/igb/igb_main.c from Eric Dumazet
in commit bdbc063129e811264cd6c311d8c2d9b95de01231
"igb: Add support for byte queue limits."

A local variable for tx_queue->qindex was introduced in
gfar_clean_tx_ring, since it is now used often enough to warrant it,
and it cleans up the readability somewhat as well.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/net/ethernet/freescale/gianfar.c