ixgbe: Use rx buffer length from rx ring for configuring rscctl
authorMallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Mon, 23 Nov 2009 18:45:11 +0000 (10:45 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Nov 2009 18:45:11 +0000 (10:45 -0800)
commitedd2ea5559737e5239d5c80fa1a55b8bc440470b
treeaf6babaa0766b89b44e303bdae290ca3026f634b
parent94b982b2e4be9661fe1c3893aa780a711b09cd30
ixgbe: Use rx buffer length from rx ring for configuring rscctl

While configuring rscctl use rx buffer length from rx ring structure
instead of passing rx_buf_len to ixgbe_configure_rscctl

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c