From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: David Miller <davem@davemloft.net>,
netdev@vger.kernel.org,
Jesse Brandeburg <jesse.brandeburg@intel.com>,
Catherine Sullivan <catherine.sullivan@intel.com>,
Kavindya Deegala <kavindya.s.deegala@intel.com>
Subject: Re: [PATCH net-next ] i40evf: Rename i40e_ptype_lookup i40evf_ptype_lookup
Date: Sat, 15 Mar 2014 00:36:44 -0700 [thread overview]
Message-ID: <1394869004.2167.124.camel@jtkirshe-mobl> (raw)
In-Reply-To: <87k3bw2xjp.fsf@xmission.com>
[-- Attachment #1: Type: text/plain, Size: 2421 bytes --]
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@intel.com>
> Date: Wed Feb 12 01:45:33 2014 +0000
>
> i40e/i40evf: i40e implementation for skb_set_hash
>
> Original comment from Tom Herbert <therbert@google.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@google.com>
> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
> Acked-by: Shannon Nelson <shannon.nelson@intel.com>
> Acked-by: Mitch Williams <mitch.a.williams@intel.com>
> Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
> Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
>
> Cc: Jesse Brandeburg <jesse.brandeburg@intel.com>
> Cc: Catherine Sullivan <catherine.sullivan@intel.com>
> Cc: Kavindya Deegala <kavindya.s.deegala@intel.com>
> Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.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(-)
Correction, I guess I did not already have a fix for this in my queue,
so I have added this patch to my queue. Thanks Eric!
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2014-03-15 7:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-14 23:03 [PATCH net-next ] i40evf: Rename i40e_ptype_lookup i40evf_ptype_lookup Eric W. Biederman
2014-03-14 23:13 ` Jeff Kirsher
2014-03-15 7:36 ` Jeff Kirsher [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1394869004.2167.124.camel@jtkirshe-mobl \
--to=jeffrey.t.kirsher@intel.com \
--cc=catherine.sullivan@intel.com \
--cc=davem@davemloft.net \
--cc=ebiederm@xmission.com \
--cc=jesse.brandeburg@intel.com \
--cc=kavindya.s.deegala@intel.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).