[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALx6S37f8jccJsY4UHo_ZocSO6XFD+8uPMtqjgMOHPA2nOuaWw@mail.gmail.com>
Date: Thu, 8 Oct 2015 08:48:42 -0700
From: Tom Herbert <tom@...bertland.com>
To: David Woodhouse <dwmw2@...radead.org>
Cc: "David S. Miller" <davem@...emloft.net>,
Linux Kernel Network Developers <netdev@...r.kernel.org>,
Kernel Team <kernel-team@...com>,
Or Gerlitz <ogerlitz@...lanox.com>
Subject: Re: [PATCH RFC 0/3] net: Add driver helper function to determine if
checksum is offloadable
On Thu, Oct 8, 2015 at 8:09 AM, David Woodhouse <dwmw2@...radead.org> wrote:
> On Mon, 2015-10-05 at 16:39 -0700, Tom Herbert wrote:
>> This patch defines a helper function that drivers can call to check
>> if it is able to offload the checksum for a particular packet.
>
> It occurs to me that by itself, this doesn't actually fix the problem.
> We'd then need to go over all drivers which currently use
> NETIF_F_IP_CSUM or NETIF_F_IPV6_CSUM, and convert them. Would that be
> the intention?
>
In time, yes. But in the near future, I would like to be able to state
that NETIF_F_IP_CSUM and NETIF_F_IPV6_CSUM are being deprecated and
that new drivers can only implement NETIF_F_HW_CSUM interface.
Hopefully, this will encourage HW vendors to implement the generic,
non-protocol specific checksum algorithms in new devices.
Tom
> --
> dwmw2
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists