linux/drivers/net/ethernet/intel/ixgbevf
Christophe JAILLET 90b83d0139 ixgbevf: Remove useless DMA-32 fallback configuration
As stated in [1], dma_set_mask() with a 64-bit mask never fails if
dev->dma_mask is non-NULL.
So, if it fails, the 32 bits case will also fail for the same reason.

So, if dma_set_mask_and_coherent() succeeds, 'pci_using_dac' is known to be
1.

Simplify code and remove some dead code accordingly.

[1]: https://lkml.org/lkml/2021/6/7/398

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alexander Lobakin <alexandr.lobakin@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2022-01-27 08:58:24 -08:00
..
defines.h ixgbevf: Mailbox improvements 2021-11-17 08:07:42 -08:00
ethtool.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
ipsec.c ixgbevf: Add support for new mailbox communication between PF and VF 2021-11-17 08:07:42 -08:00
ipsec.h
ixgbevf.h ixgbevf: Mailbox improvements 2021-11-17 08:07:42 -08:00
ixgbevf_main.c ixgbevf: Remove useless DMA-32 fallback configuration 2022-01-27 08:58:24 -08:00
Makefile
mbx.c ixgbevf: Mailbox improvements 2021-11-17 08:07:42 -08:00
mbx.h ixgbevf: Add support for new mailbox communication between PF and VF 2021-11-17 08:07:42 -08:00
regs.h
vf.c ixgbevf: Add support for new mailbox communication between PF and VF 2021-11-17 08:07:42 -08:00
vf.h ixgbevf: Mailbox improvements 2021-11-17 08:07:42 -08:00