All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next] net: enetc: include ip6_checksum.h for csum_ipv6_magic
@ 2021-10-12 12:13 Ioana Ciornei
  2021-10-13  8:26 ` Vladimir Oltean
  2021-10-13 14:30 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Ioana Ciornei @ 2021-10-12 12:13 UTC (permalink / raw)
  To: davem, kuba; +Cc: claudiu.manoil, vladimir.oltean, netdev, Ioana Ciornei

For those architectures which do not define_HAVE_ARCH_IPV6_CSUM, we need
to include ip6_checksum.h which provides the csum_ipv6_magic() function.

Fixes: fb8629e2cbfc ("net: enetc: add support for software TSO")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
---
 drivers/net/ethernet/freescale/enetc/enetc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/freescale/enetc/enetc.c b/drivers/net/ethernet/freescale/enetc/enetc.c
index 09193b478ab3..3ae4f49a9055 100644
--- a/drivers/net/ethernet/freescale/enetc/enetc.c
+++ b/drivers/net/ethernet/freescale/enetc/enetc.c
@@ -7,6 +7,7 @@
 #include <linux/udp.h>
 #include <linux/vmalloc.h>
 #include <linux/ptp_classify.h>
+#include <net/ip6_checksum.h>
 #include <net/pkt_sched.h>
 #include <net/tso.h>
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next] net: enetc: include ip6_checksum.h for csum_ipv6_magic
  2021-10-12 12:13 [PATCH net-next] net: enetc: include ip6_checksum.h for csum_ipv6_magic Ioana Ciornei
@ 2021-10-13  8:26 ` Vladimir Oltean
  2021-10-13 14:30 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Vladimir Oltean @ 2021-10-13  8:26 UTC (permalink / raw)
  To: Ioana Ciornei; +Cc: davem, kuba, Claudiu Manoil, netdev

On Tue, Oct 12, 2021 at 03:13:58PM +0300, Ioana Ciornei wrote:
> For those architectures which do not define_HAVE_ARCH_IPV6_CSUM, we need
> to include ip6_checksum.h which provides the csum_ipv6_magic() function.
> 
> Fixes: fb8629e2cbfc ("net: enetc: add support for software TSO")
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
> ---

Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>

>  drivers/net/ethernet/freescale/enetc/enetc.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/ethernet/freescale/enetc/enetc.c b/drivers/net/ethernet/freescale/enetc/enetc.c
> index 09193b478ab3..3ae4f49a9055 100644
> --- a/drivers/net/ethernet/freescale/enetc/enetc.c
> +++ b/drivers/net/ethernet/freescale/enetc/enetc.c
> @@ -7,6 +7,7 @@
>  #include <linux/udp.h>
>  #include <linux/vmalloc.h>
>  #include <linux/ptp_classify.h>
> +#include <net/ip6_checksum.h>
>  #include <net/pkt_sched.h>
>  #include <net/tso.h>
>  
> -- 
> 2.17.1
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next] net: enetc: include ip6_checksum.h for csum_ipv6_magic
  2021-10-12 12:13 [PATCH net-next] net: enetc: include ip6_checksum.h for csum_ipv6_magic Ioana Ciornei
  2021-10-13  8:26 ` Vladimir Oltean
@ 2021-10-13 14:30 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-10-13 14:30 UTC (permalink / raw)
  To: Ioana Ciornei; +Cc: davem, kuba, claudiu.manoil, vladimir.oltean, netdev

Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 12 Oct 2021 15:13:58 +0300 you wrote:
> For those architectures which do not define_HAVE_ARCH_IPV6_CSUM, we need
> to include ip6_checksum.h which provides the csum_ipv6_magic() function.
> 
> Fixes: fb8629e2cbfc ("net: enetc: add support for software TSO")
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
> 
> [...]

Here is the summary with links:
  - [net-next] net: enetc: include ip6_checksum.h for csum_ipv6_magic
    https://git.kernel.org/netdev/net-next/c/edce2a93dd78

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-13 14:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12 12:13 [PATCH net-next] net: enetc: include ip6_checksum.h for csum_ipv6_magic Ioana Ciornei
2021-10-13  8:26 ` Vladimir Oltean
2021-10-13 14:30 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.