From: Tushar Dave Date: Thu, 19 May 2016 23:46:53 +0000 (-0700) Subject: i40e: Revert i40e temporary workaround X-Git-Tag: v4.1.12-106.0.20170720_1900~81 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=19c0b5c8c0f94c57c72bcbcc1cd81aa0e4e42ef3;p=users%2Fjedix%2Flinux-maple.git i40e: Revert i40e temporary workaround ATU and Hypervisor IOMMU v2 APIs enable 64bit DMA addressing so i40e temporary workaround no longer needed. This patch revert uek4 commit f59e8082fb57c0009 ("i40e: Temporary workaround for DMA map issue"). Orabug: 23239179 Reviewed-by: chris hyser Signed-off-by: Tushar Dave Signed-off-by: Allen Pais --- diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c index a2135c589649..dc0ef3571a36 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_main.c +++ b/drivers/net/ethernet/intel/i40e/i40e_main.c @@ -1751,13 +1751,6 @@ static void i40e_vsi_setup_queue_map(struct i40e_vsi *vsi, vsi->num_queue_pairs = pf->num_lan_msix; } -#ifdef CONFIG_SPARC - if (vsi->num_queue_pairs > 32) { - dev_warn(&pf->pdev->dev, "default QP is %d, limiting QP to 32\n", - vsi->num_queue_pairs); - vsi->num_queue_pairs = 32; - } -#endif /* Scheduler section valid can only be set for ADD VSI */ if (is_add) { sections |= I40E_AQ_VSI_PROP_SCHED_VALID;