Re: Is via-velocity broken in 2.6.34?

From: Matt Causey
Date: Tue Sep 07 2010 - 20:13:32 EST


On Tue, Sep 7, 2010 at 4:33 PM, David Miller <davem@xxxxxxxxxxxxx> wrote:
>
> Please always CC: netdev@xxxxxxxxxxxxxxx for networking reports.
>
> Give this patch a try:
>
> --------------------
> via-velocity: Turn scatter-gather support back off.
>
> It causes all kinds of DMA API debugging assertions and
> all straight-forward attempts to fix it have failed.
>
> So turn off SG, and we'll tackle making this work
> properly in net-next-2.6
>
> Reported-by: Dave Jones <davej@xxxxxxxxxx>
> Tested-by: Dave Jones <davej@xxxxxxxxxx>
> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
> ---
>  drivers/net/via-velocity.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c
> index fd69095..f534123 100644
> --- a/drivers/net/via-velocity.c
> +++ b/drivers/net/via-velocity.c
> @@ -2824,7 +2824,7 @@ static int __devinit velocity_found1(struct pci_dev *pdev, const struct pci_devi
>        netif_napi_add(dev, &vptr->napi, velocity_poll, VELOCITY_NAPI_WEIGHT);
>
>        dev->features |= NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_FILTER |
> -               NETIF_F_HW_VLAN_RX | NETIF_F_IP_CSUM | NETIF_F_SG;
> +               NETIF_F_HW_VLAN_RX | NETIF_F_IP_CSUM;
>
>        ret = register_netdev(dev);
>        if (ret < 0)

So before I posted to the list, I actually dug through looking for
recent changes which would be trivial for me to back out. This was
the only one I had found, so I tried it. :-) No luck though...same
result.

Thanks,

--
Matt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/