Re: [RFC net-next v2 2/2] bnxt: Use generic HBH removal helper in tx path

From: Michael Chan
Date: Wed Nov 23 2022 - 15:42:38 EST


On Wed, Nov 23, 2022 at 11:42 AM Michael Chan <michael.chan@xxxxxxxxxxxx> wrote:
>
> On Wed, Nov 23, 2022 at 11:16 AM Coco Li <lixiaoyan@xxxxxxxxxx> wrote:
> >
> > @@ -13657,6 +13660,7 @@ static int bnxt_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
> > dev->features &= ~NETIF_F_LRO;
> > dev->priv_flags |= IFF_UNICAST_FLT;
> >
> > + netif_set_tso_max_size(dev, GSO_MAX_SIZE);
>
> Our chips can only transmit TSO packets up to 64K bytes, so I think
> this won't work.

I wanted to double check with the hardware team but there's no one in
the office today. I will confirm early next week. Thanks.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature