summaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/e1000_82575.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-10-27 23:46:38 +0000
committerDavid S. Miller <davem@davemloft.net>2009-10-28 03:25:38 -0700
commitd249be54745259980dcbd898bdfeb7307c9c5e10 (patch)
tree871d4e7b58e1d19426b0c09bad1674fcb55f6f12 /drivers/net/igb/e1000_82575.h
parent317f66bdadc31f0c037b91ae7857f5c3d2a4e3e5 (diff)
downloadtalos-obmc-linux-d249be54745259980dcbd898bdfeb7307c9c5e10.tar.gz
talos-obmc-linux-d249be54745259980dcbd898bdfeb7307c9c5e10.zip
igb: use packet buffer sizes from RXPBS register
This patch changes the configuration for 82576 so that it uses the actual value of the 82576 rx packet buffer size instead of just assuming the value. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/e1000_82575.h')
-rw-r--r--drivers/net/igb/e1000_82575.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/igb/e1000_82575.h b/drivers/net/igb/e1000_82575.h
index cbe475747d1a..b3808ca49ef5 100644
--- a/drivers/net/igb/e1000_82575.h
+++ b/drivers/net/igb/e1000_82575.h
@@ -228,6 +228,8 @@ struct e1000_adv_tx_context_desc {
#define ALL_QUEUES 0xFFFF
+/* RX packet buffer size defines */
+#define E1000_RXPBS_SIZE_MASK_82576 0x0000007F
void igb_vmdq_set_loopback_pf(struct e1000_hw *, bool);
void igb_vmdq_set_replication_pf(struct e1000_hw *, bool);
OpenPOWER on IntegriCloud