[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200121080015.0875a4bd@cakuba>
Date: Tue, 21 Jan 2020 08:00:15 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: sunil.kovvuri@...il.com
Cc: netdev@...r.kernel.org, davem@...emloft.net, mkubecek@...e.cz,
Sunil Goutham <sgoutham@...vell.com>
Subject: Re: [PATCH v4 01/17] octeontx2-pf: Add Marvell OcteonTX2 NIC driver
On Tue, 21 Jan 2020 18:51:35 +0530, sunil.kovvuri@...il.com wrote:
> + err = pci_set_dma_mask(pdev, DMA_BIT_MASK(48));
> + if (err) {
> + dev_err(dev, "Unable to set DMA mask\n");
> + goto err_release_regions;
> + }
> +
> + err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(48));
> + if (err) {
> + dev_err(dev, "Unable to set consistent DMA mask\n");
> + goto err_release_regions;
> + }
please convert to using dma_set_mask_and_coherent()
Powered by blists - more mailing lists