netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
To: Or Gerlitz <or.gerlitz@gmail.com>
Cc: David Miller <davem@davemloft.net>,
	Joseph Gasparakis <joseph.gasparakis@intel.com>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"gospo@redhat.com" <gospo@redhat.com>,
	sassmann@redhat.com,
	Jesse Brandeburg <jesse.brandeburg@intel.com>
Subject: Re: [net-next 06/15] i40e: Rx checksum offload for VXLAN
Date: Thu, 19 Dec 2013 11:17:30 -0800	[thread overview]
Message-ID: <1387480650.2183.40.camel@jtkirshe-mobl> (raw)
In-Reply-To: <CAJZOPZLfQu7vLN0fWEaW-KiKueUBtkRsp=ZqfffSz64FSpvgJA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2495 bytes --]

On Thu, 2013-12-19 at 19:46 +0200, Or Gerlitz wrote:
> On Thu, Dec 19, 2013 at 8:34 AM, Jeff Kirsher
> <jeffrey.t.kirsher@intel.com> wrote:
> > From: Joseph Gasparakis <joseph.gasparakis@intel.com>
> >
> > This implements receive offload for VXLAN for i40e.  The hardware
> > supports checksum offload/verification of the inner/outer header.
> >
> > Change-Id: I450db300af6713f2044fef1191a0d1d294c13369
> > Signed-off-by: Joseph Gasparakis <joseph.gasparakis@intel.com>
> > Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
> > Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
> > Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
> > ---
> >  drivers/net/ethernet/intel/i40e/i40e.h      |  1 +
> >  drivers/net/ethernet/intel/i40e/i40e_main.c |  2 ++
> >  drivers/net/ethernet/intel/i40e/i40e_txrx.c | 56
> ++++++++++++++++++++++++++---
> >  drivers/net/ethernet/intel/i40e/i40e_type.h | 51
> ++++++++++++++------------
> >  4 files changed, 82 insertions(+), 28 deletions(-)
> >
> > diff --git a/drivers/net/ethernet/intel/i40e/i40e.h
> b/drivers/net/ethernet/intel/i40e/i40e.h
> > index 31dd265..3207568 100644
> > --- a/drivers/net/ethernet/intel/i40e/i40e.h
> > +++ b/drivers/net/ethernet/intel/i40e/i40e.h
> > @@ -29,6 +29,7 @@
> >  #define _I40E_H_
> >
> >  #include <net/tcp.h>
> > +#include <net/udp.h>
> >  #include <linux/init.h>
> >  #include <linux/types.h>
> >  #include <linux/errno.h>
> > diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c
> b/drivers/net/ethernet/intel/i40e/i40e_main.c
> > index b0cfb4c..7094ff7 100644
> > --- a/drivers/net/ethernet/intel/i40e/i40e_main.c
> > +++ b/drivers/net/ethernet/intel/i40e/i40e_main.c
> > @@ -27,6 +27,7 @@
> >
> >  /* Local includes */
> >  #include "i40e.h"
> > +#include <net/vxlan.h>
> >
> >  const char i40e_driver_name[] = "i40e";
> >  static const char i40e_driver_string[] =
> > @@ -3993,6 +3994,7 @@ static int i40e_open(struct net_device
> *netdev)
> >                                     "couldn't set broadcast err %d
> aq_err %d\n",
> >                                     err, pf->hw.aq.asq_last_status);
> >         }
> > +       vxlan_get_rx_port(netdev);
> 
> what effect this has if  the driver doesn't implement the
> add_vxlan_port ndo entry?

It appears that there should have been a VXLAN for i40e from Joseph that
got pushed before this one, so I will re-send this series with necessary
patch added to the series.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2013-12-19 19:17 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-19  6:34 [net-next 00/15][pull request] Intel Wired LAN Driver Updates Jeff Kirsher
2013-12-19  6:34 ` [net-next 01/15] i40e: Suppress HMC error to Interrupt message level Jeff Kirsher
2013-12-19  6:34 ` [net-next 02/15] i40e: Populate and check pci bus speed and width Jeff Kirsher
2013-12-19  6:34 ` [net-next 03/15] i40e: add wake-on-lan support Jeff Kirsher
2013-12-19  6:34 ` [net-next 04/15] i40e: fix curly brace use and return type Jeff Kirsher
2013-12-19  6:34 ` [net-next 05/15] i40e: add set settings and pauseparam Jeff Kirsher
2013-12-19 20:42   ` Ben Hutchings
2013-12-20 18:19     ` Nelson, Shannon
2013-12-19  6:34 ` [net-next 06/15] i40e: Rx checksum offload for VXLAN Jeff Kirsher
2013-12-19 17:46   ` Or Gerlitz
2013-12-19 19:17     ` Jeff Kirsher [this message]
2013-12-19  6:34 ` [net-next 07/15] i40e: move i40e_reset_vf Jeff Kirsher
2013-12-19  6:34 ` [net-next 08/15] i40e: refactor VF reset flow Jeff Kirsher
2013-12-19  6:34 ` [net-next 09/15] i40e: remove redundant code Jeff Kirsher
2013-12-19  6:34 ` [net-next 10/15] i40e: remove chatty log messages Jeff Kirsher
2013-12-19  6:34 ` [net-next 11/15] i40e: fix error return Jeff Kirsher
2013-12-19  6:34 ` [net-next 12/15] i40e: be more informative Jeff Kirsher
2013-12-19  6:34 ` [net-next 13/15] i40e: make a define from a large constant Jeff Kirsher
2013-12-19  6:34 ` [net-next 14/15] i40e: update led set args Jeff Kirsher
2013-12-19  6:34 ` [net-next 15/15] i40e: report VF MAC addresses correctly Jeff Kirsher
2013-12-19 19:20 ` [net-next 00/15][pull request] Intel Wired LAN Driver Updates Jeff Kirsher
2013-12-19 19:47   ` David Miller

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=1387480650.2183.40.camel@jtkirshe-mobl \
    --to=jeffrey.t.kirsher@intel.com \
    --cc=davem@davemloft.net \
    --cc=gospo@redhat.com \
    --cc=jesse.brandeburg@intel.com \
    --cc=joseph.gasparakis@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=or.gerlitz@gmail.com \
    --cc=sassmann@redhat.com \
    /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).