From c872db9ea56413142e12c1477fa49b86f4f6740e Mon Sep 17 00:00:00 2001 From: Intel Date: Tue, 12 Mar 2013 12:03:00 +0100 Subject: [PATCH] igb: fix RX for Springville (i210) Signed-off-by: Intel --- lib/librte_pmd_e1000/igb_rxtx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_pmd_e1000/igb_rxtx.c b/lib/librte_pmd_e1000/igb_rxtx.c index 46f6f29d93..c942e1e48b 100644 --- a/lib/librte_pmd_e1000/igb_rxtx.c +++ b/lib/librte_pmd_e1000/igb_rxtx.c @@ -1717,8 +1717,8 @@ eth_igb_rx_init(struct rte_eth_dev *dev) if (dev->data->dev_conf.rxmode.hw_strip_crc) { rctl |= E1000_RCTL_SECRC; /* Strip Ethernet CRC. */ - /* set STRCRC bit in all queues for Powerville */ - if (hw->mac.type == e1000_i350) { + /* set STRCRC bit in all queues for Powerville/Springville */ + if (hw->mac.type == e1000_i350 || hw->mac.type == e1000_i210) { for (i = 0; i < dev->data->nb_rx_queues; i++) { uint32_t dvmolr = E1000_READ_REG(hw, E1000_DVMOLR(i)); @@ -1729,8 +1729,8 @@ eth_igb_rx_init(struct rte_eth_dev *dev) } else { rctl &= ~E1000_RCTL_SECRC; /* Do not Strip Ethernet CRC. */ - /* clear STRCRC bit in all queues for Powerville */ - if (hw->mac.type == e1000_i350) { + /* clear STRCRC bit in all queues for Powerville/Springville */ + if (hw->mac.type == e1000_i350 || hw->mac.type == e1000_i210) { for (i = 0; i < dev->data->nb_rx_queues; i++) { uint32_t dvmolr = E1000_READ_REG(hw, E1000_DVMOLR(i)); -- 2.20.1