mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00:00
ehea: Fixed multi queue RX bug
Must access the respective queue's dummy netdev instead of the port's netdev. Signed-off-by: Thomas Klein <tklein@de.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
d8511f8301
commit
ade21372b7
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
|
|
||||||
#define DRV_NAME "ehea"
|
#define DRV_NAME "ehea"
|
||||||
#define DRV_VERSION "EHEA_0058"
|
#define DRV_VERSION "EHEA_0061"
|
||||||
|
|
||||||
#define EHEA_MSG_DEFAULT (NETIF_MSG_LINK | NETIF_MSG_TIMER \
|
#define EHEA_MSG_DEFAULT (NETIF_MSG_LINK | NETIF_MSG_TIMER \
|
||||||
| NETIF_MSG_RX_ERR | NETIF_MSG_TX_ERR)
|
| NETIF_MSG_RX_ERR | NETIF_MSG_TX_ERR)
|
||||||
|
|
|
@ -428,7 +428,7 @@ static struct ehea_cqe *ehea_proc_rwqes(struct net_device *dev,
|
||||||
}
|
}
|
||||||
skb_copy_to_linear_data(skb, ((char*)cqe) + 64,
|
skb_copy_to_linear_data(skb, ((char*)cqe) + 64,
|
||||||
cqe->num_bytes_transfered - 4);
|
cqe->num_bytes_transfered - 4);
|
||||||
ehea_fill_skb(dev, skb, cqe);
|
ehea_fill_skb(port->netdev, skb, cqe);
|
||||||
} else if (rq == 2) { /* RQ2 */
|
} else if (rq == 2) { /* RQ2 */
|
||||||
skb = get_skb_by_index(skb_arr_rq2,
|
skb = get_skb_by_index(skb_arr_rq2,
|
||||||
skb_arr_rq2_len, cqe);
|
skb_arr_rq2_len, cqe);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue