Re: [PATCH] usb: gadget: u_ether: enable qmult on SuperSpeed Plus as well

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 7, 2020 at 2:41 AM Maciej Żenczykowski
<zenczykowski@xxxxxxxxx> wrote:
> btw. it looks like irq throttling in the same file:
>
> @@ -598,9 +599,10 @@ static netdev_tx_t eth_start_xmit(struct sk_buff *skb,
> -       /* throttle highspeed IRQ rate back slightly */
> +       /* throttle high/super speed IRQ rate back slightly */
>         if (gadget_is_dualspeed(dev->gadget))
> -               req->no_interrupt = (dev->gadget->speed == USB_SPEED_HIGH)
> +               req->no_interrupt = (dev->gadget->speed == USB_SPEED_HIGH ||
> +                                    dev->gadget->speed == USB_SPEED_SUPER)
>
> should also be fixed to be >= SUPER and not ==.

That code was removed by fd9afd3cbe40 ("usb: gadget: u_ether: remove
interrupt throttling").




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux