ixgbe: Add upper limit to ring features
[linux-2.6-block.git] / drivers / net / ethernet / intel / ixgbe / ixgbe_fcoe.c
index 0ee4dbf4a752907ab7625f34ace60cf3a947bb63..b4da760bd5f0cc0200b05bad5bec4963192af58b 100644 (file)
@@ -770,7 +770,7 @@ int ixgbe_fcoe_enable(struct net_device *netdev)
        ixgbe_clear_interrupt_scheme(adapter);
 
        adapter->flags |= IXGBE_FLAG_FCOE_ENABLED;
-       adapter->ring_feature[RING_F_FCOE].indices = IXGBE_FCRETA_SIZE;
+       adapter->ring_feature[RING_F_FCOE].limit = IXGBE_FCRETA_SIZE;
        netdev->features |= NETIF_F_FCOE_CRC;
        netdev->features |= NETIF_F_FSO;
        netdev->features |= NETIF_F_FCOE_MTU;