[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1394838793.2167.88.camel@jtkirshe-mobl>
Date: Fri, 14 Mar 2014 16:13:13 -0700
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
Jesse Brandeburg <jesse.brandeburg@...el.com>,
Catherine Sullivan <catherine.sullivan@...el.com>,
Kavindya Deegala <kavindya.s.deegala@...el.com>
Subject: Re: [PATCH net-next ] i40evf: Rename i40e_ptype_lookup
i40evf_ptype_lookup
On Fri, 2014-03-14 at 16:03 -0700, Eric W. Biederman wrote:
>
> When compiling the i40e and the i40evf driver into the same kernel I
> get:
> LD drivers/net/ethernet/intel/built-in.o
> drivers/net/ethernet/intel/i40evf/built-in.o:(.data+0x300): multiple
> definition of `i40e_ptype_lookup'
> drivers/net/ethernet/intel/i40e/built-in.o:(.data+0x780): first
> defined here
> make[3]: *** [drivers/net/ethernet/intel/built-in.o] Error 1
> make[2]: *** [drivers/net/ethernet/intel] Error 2
> make[1]: *** [drivers/net/ethernet/] Error 2
> make: *** [sub-make] Error 2
>
> Fix this by renaming the i40evf version of this structure from
> i40e_ptype_lookup to i40evf_ptype_lookup.
>
> This build failure was introduced in:
> commit 206812b5fccb808d1194344eaa942f68f59b2630
> Author: Jesse Brandeburg <jesse.brandeburg@...el.com>
> Date: Wed Feb 12 01:45:33 2014 +0000
>
> i40e/i40evf: i40e implementation for skb_set_hash
>
> Original comment from Tom Herbert <therbert@...gle.com>
>
> Drivers should call skb_set_hash to set the hash and its type
> in an skbuff.
>
> This patch builds upon Tom's original implementation and adds
> the L4 type return when we know it is an L4 hash.
> This requires use of the ptype decoder ring, so enable it.
>
> Change-ID: I2f9fa86d1a6add58cff13386f7f4238b1abcc468
> CC: Tom Herbert <therbert@...gle.com>
> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@...el.com>
> Acked-by: Shannon Nelson <shannon.nelson@...el.com>
> Acked-by: Mitch Williams <mitch.a.williams@...el.com>
> Signed-off-by: Catherine Sullivan <catherine.sullivan@...el.com>
> Tested-by: Kavindya Deegala <kavindya.s.deegala@...el.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
>
> Cc: Jesse Brandeburg <jesse.brandeburg@...el.com>
> Cc: Catherine Sullivan <catherine.sullivan@...el.com>
> Cc: Kavindya Deegala <kavindya.s.deegala@...el.com>
> Cc: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
> Signed-off-by: "Eric W. Biederman" <ebiederm@...ssion.com>
> ---
> drivers/net/ethernet/intel/i40evf/i40e_common.c | 8 ++++----
> drivers/net/ethernet/intel/i40evf/i40e_prototype.h | 4 ++--
> 2 files changed, 6 insertions(+), 6 deletions(-)
Thanks Eric, I already have a patch in the queue that was to resolve
this which was going to be pushed after this last series I just sent
out.
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists