[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iLZ9Y0fMk8X1a4=J7Xf2H=M0oLK_SekOLZypN+2-8a0yw@mail.gmail.com>
Date: Tue, 19 Jan 2021 11:02:47 +0100
From: Eric Dumazet <edumazet@...gle.com>
To: Johannes Berg <johannes@...solutions.net>
Cc: Ben Greear <greearb@...delatech.com>,
Rainer Suhm <automat@...teo.de>,
Jakub Kicinski <kuba@...nel.org>,
Luca Coelho <luciano.coelho@...el.com>,
netdev <netdev@...r.kernel.org>, linux-wireless@...r.kernel.org,
Willem de Bruijn <willemb@...gle.com>
Subject: Re: net: tso: add UDP segmentation support: adds regression for ax200 upload
On Tue, Jan 19, 2021 at 9:53 AM Johannes Berg <johannes@...solutions.net> wrote:
>
> Hi Eric, all,
>
> Sorry we've been so silent on this.
>
> > --- a/drivers/net/wireless/intel/iwlwifi/mvm/tx.c
> > +++ b/drivers/net/wireless/intel/iwlwifi/mvm/tx.c
> > @@ -773,6 +773,7 @@ iwl_mvm_tx_tso_segment(struct sk_buff *skb,
> > unsigned int num_subframes,
> >
> > next = skb_gso_segment(skb, netdev_flags);
> > skb_shinfo(skb)->gso_size = mss;
> > + skb_shinfo(skb)->gso_type = ipv4 ? SKB_GSO_TCPV4 : SKB_GSO_TCPV6;
> > if (WARN_ON_ONCE(IS_ERR(next)))
> > return -EINVAL;
> > else if (next)
> > @@ -795,6 +796,7 @@ iwl_mvm_tx_tso_segment(struct sk_buff *skb,
> > unsigned int num_subframes,
> >
> > if (tcp_payload_len > mss) {
> > skb_shinfo(tmp)->gso_size = mss;
> > + skb_shinfo(tmp)->gso_type = ipv4 ?
> > SKB_GSO_TCPV4 : SKB_GSO_TCPV6;
> > } else {
> > if (qos) {
> > u8 *qc;
>
> This does fix the problems reported on iwlwifi, were you planning to
> submit it as a proper patch?
Sure, I will do, thanks !
Powered by blists - more mailing lists