mbox series

[V2,net,0/4] Fixes for ENA driver

Message ID 20201119202851.28077-1-shayagr@amazon.com (mailing list archive)
Headers show
Series Fixes for ENA driver | expand

Message

Shay Agroskin Nov. 19, 2020, 8:28 p.m. UTC
Hi all,
This series fixes some issues in the ENA driver:

- fix wrong data offset on machines that support rx offset
- work-around Intel iommu issue
- fix out of bound access when request id is wrong
- return error code if XDP TX xmit fails

Changes from previous version:
v1->v2: switched to using dma_set_mask_and_coherent() function
		in second patch

Shay Agroskin (4):
  net: ena: handle bad request id in ena_netdev
  net: ena: set initial DMA width to avoid intel iommu issue
  net: ena: fix packet's addresses for rx_offset feature
  net: ena: return error code from ena_xdp_xmit_buff

 drivers/net/ethernet/amazon/ena/ena_eth_com.c |  3 +
 drivers/net/ethernet/amazon/ena/ena_netdev.c  | 86 +++++++------------
 2 files changed, 36 insertions(+), 53 deletions(-)