[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACKFLimsi2do2pzYqtZjm20jRa=L9nBeNFjgJBGz8ea5h-ecNg@mail.gmail.com>
Date: Fri, 17 Jul 2020 15:05:41 -0700
From: Michael Chan <michael.chan@...adcom.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: David Miller <davem@...emloft.net>,
Netdev <netdev@...r.kernel.org>, Kernel Team <kernel-team@...com>
Subject: Re: [PATCH net-next] net: bnxt: don't complain if TC flower can't be supported
On Fri, Jul 17, 2020 at 2:00 PM Jakub Kicinski <kuba@...nel.org> wrote:
>
> The fact that NETIF_F_HW_TC is not set should be a sufficient
> indication to the user that TC offloads are not supported.
> No need to bother users of older firmware versions with
> pointless warnings on every boot.
>
> Also, since the support is optional, bnxt_init_tc() should not
> return an error in case FW is old, similarly to how error
> is not returned when CONFIG_BNXT_FLOWER_OFFLOAD is not set.
>
> With that we can add an error message to the caller, to warn
> about actual unexpected failures.
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
Reviewed-by: Michael Chan <michael.chan@...adcom.com>
Thanks.
Powered by blists - more mailing lists