|
@@ -1932,7 +1932,7 @@ static int mvneta_rx_swbm(struct mvneta_port *pp, int rx_todo,
|
|
rx_bytes = rx_desc->data_size - (ETH_FCS_LEN + MVNETA_MH_SIZE);
|
|
rx_bytes = rx_desc->data_size - (ETH_FCS_LEN + MVNETA_MH_SIZE);
|
|
index = rx_desc - rxq->descs;
|
|
index = rx_desc - rxq->descs;
|
|
data = rxq->buf_virt_addr[index];
|
|
data = rxq->buf_virt_addr[index];
|
|
- phys_addr = rx_desc->buf_phys_addr;
|
|
|
|
|
|
+ phys_addr = rx_desc->buf_phys_addr - pp->rx_offset_correction;
|
|
|
|
|
|
if (!mvneta_rxq_desc_is_first_last(rx_status) ||
|
|
if (!mvneta_rxq_desc_is_first_last(rx_status) ||
|
|
(rx_status & MVNETA_RXD_ERR_SUMMARY)) {
|
|
(rx_status & MVNETA_RXD_ERR_SUMMARY)) {
|