mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 13:20:52 +07:00
Driver: Vmxnet3: Fix regression caused by 5738a09
Reported-by: Bingkuo Liu <bingkuol@vmware.com> Signed-off-by: Shrikrishna Khare <skhare@vmware.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e439bd4a4f
commit
58caf63736
@ -1380,10 +1380,10 @@ vmxnet3_rq_rx_complete(struct vmxnet3_rx_queue *rq,
|
||||
skip_page_frags = true;
|
||||
goto rcd_done;
|
||||
}
|
||||
new_dma_addr = dma_map_page(&adapter->pdev->dev
|
||||
, rbi->page,
|
||||
0, PAGE_SIZE,
|
||||
PCI_DMA_FROMDEVICE);
|
||||
new_dma_addr = dma_map_page(&adapter->pdev->dev,
|
||||
new_page,
|
||||
0, PAGE_SIZE,
|
||||
PCI_DMA_FROMDEVICE);
|
||||
if (dma_mapping_error(&adapter->pdev->dev,
|
||||
new_dma_addr)) {
|
||||
put_page(new_page);
|
||||
|
@ -69,10 +69,10 @@
|
||||
/*
|
||||
* Version numbers
|
||||
*/
|
||||
#define VMXNET3_DRIVER_VERSION_STRING "1.4.4.0-k"
|
||||
#define VMXNET3_DRIVER_VERSION_STRING "1.4.5.0-k"
|
||||
|
||||
/* a 32-bit int, each byte encode a verion number in VMXNET3_DRIVER_VERSION */
|
||||
#define VMXNET3_DRIVER_VERSION_NUM 0x01040400
|
||||
#define VMXNET3_DRIVER_VERSION_NUM 0x01040500
|
||||
|
||||
#if defined(CONFIG_PCI_MSI)
|
||||
/* RSS only makes sense if MSI-X is supported. */
|
||||
|
Loading…
Reference in New Issue
Block a user