From: Chad Dupuis <chad.dupuis@cavium.com>
To: Hannes Reinecke <hare@suse.de>
Cc: <martin.petersen@oracle.com>, <fcoe-devel@open-fcoe.org>,
<netdev@vger.kernel.org>, <QLogic-Storage-Upstream@cavium.com>,
<linux-scsi@vger.kernel.org>, <yuval.mintz@cavium.com>
Subject: Re: [Open-FCoE] [PATCH RFC 5/5] qedf: Add FIP request handling
Date: Mon, 9 Jan 2017 11:47:23 -0500 [thread overview]
Message-ID: <alpine.OSX.2.00.1701091147040.1044@administrators-macbook-pro.local> (raw)
In-Reply-To: <a076b54b-966b-d652-7a0f-6b84aacb0ded@suse.de>
On Wed, 28 Dec 2016, 9:11am -0000, Hannes Reinecke wrote:
> On 12/23/2016 08:17 PM, Dupuis, Chad wrote:
> > From: "Dupuis, Chad" <chad.dupuis@cavium.com>
> >
> > This patch adds handling for FIP requests and responses that are handled by
> > the driver itself and not by libfcoe.
> >
> > Signed-off-by: Nilesh Javali <nilesh.javali@cavium.com>
> > Signed-off-by: Manish Rangankar <manish.rangankar@cavium.com>
> > Signed-off-by: Saurav Kashyap <saurav.kashyap@cavium.com>
> > Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com>
> > ---
> > drivers/scsi/qedf/qedf_fip.c | 267 +++++++++++++++++++++++++++++++++++++++++++
> > 1 file changed, 267 insertions(+)
> > create mode 100644 drivers/scsi/qedf/qedf_fip.c
> >
> > diff --git a/drivers/scsi/qedf/qedf_fip.c b/drivers/scsi/qedf/qedf_fip.c
> > new file mode 100644
> > index 0000000..4f185c6
> > --- /dev/null
> > +++ b/drivers/scsi/qedf/qedf_fip.c
> > @@ -0,0 +1,267 @@
> > +/*
> > + * QLogic FCoE Offload Driver
> > + * Copyright (c) 2016 Cavium Inc.
> > + *
> > + * This software is available under the terms of the GNU General Public License
> > + * (GPL) Version 2, available from the file COPYING in the main directory of
> > + * this source tree.
> > + */
> > +#include <linux/if_ether.h>
> > +#include <linux/if_vlan.h>
> > +#include "qedf.h"
> > +
> > +extern const struct qed_fcoe_ops *qed_ops;
> > +/*
> > + * FIP VLAN functions that will eventually move to libfcoe.
> > + */
> > +
> > +void qedf_fcoe_send_vlan_req(struct qedf_ctx *qedf)
> > +{
> > + struct sk_buff *skb;
> > + char *eth_fr;
> > + int fr_len;
> > + struct fip_vlan *vlan;
> > +#define MY_FIP_ALL_FCF_MACS ((__u8[6]) { 1, 0x10, 0x18, 1, 0, 2 })
> > + static u8 my_fcoe_all_fcfs[ETH_ALEN] = MY_FIP_ALL_FCF_MACS;
>
> Do you support VN2VN, too?
Not currently, no.
>
> Cheers,
>
> Hannes
>
next prev parent reply other threads:[~2017-01-09 16:47 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-23 19:17 [PATCH RFC 0/5] Add QLogic FastLinQ FCoE (qedf) driver Dupuis, Chad
2016-12-23 19:17 ` [PATCH RFC 3/5] qedf: Add offloaded I/O request functions Dupuis, Chad
[not found] ` <1482520628-24207-4-git-send-email-chad.dupuis-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
2016-12-28 9:08 ` Hannes Reinecke
2017-01-09 16:46 ` [Open-FCoE] " Chad Dupuis
2016-12-23 19:17 ` [PATCH RFC 4/5] qedf: Add offload ELS request handling Dupuis, Chad
2016-12-28 9:10 ` [Open-FCoE] " Hannes Reinecke
[not found] ` <1482520628-24207-1-git-send-email-chad.dupuis-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
2016-12-23 19:17 ` [PATCH RFC net-next 1/5] qed: Add support for hardware offloaded FCoE Dupuis, Chad
[not found] ` <1482520628-24207-2-git-send-email-chad.dupuis-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
2016-12-28 8:41 ` Hannes Reinecke
2016-12-29 17:28 ` [Open-FCoE] " Mintz, Yuval
2017-01-10 16:49 ` Arun Easi
2016-12-23 19:17 ` [PATCH RFC 2/5] qedf: Add QLogic FastLinQ offload FCoE driver framework Dupuis, Chad
2016-12-28 9:00 ` [Open-FCoE] " Hannes Reinecke
2017-01-09 16:45 ` Chad Dupuis
2017-01-10 6:56 ` Hannes Reinecke
2016-12-23 19:17 ` [PATCH RFC 5/5] qedf: Add FIP request handling Dupuis, Chad
[not found] ` <1482520628-24207-6-git-send-email-chad.dupuis-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
2016-12-28 9:11 ` Hannes Reinecke
2017-01-09 16:47 ` Chad Dupuis [this message]
[not found] ` <alpine.OSX.2.00.1701091147040.1044-nVgGmETfwnIFUnR/tdpssI0aTaFgKE92ACYyPGjX6YU@public.gmane.org>
2017-01-10 6:58 ` Hannes Reinecke
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=alpine.OSX.2.00.1701091147040.1044@administrators-macbook-pro.local \
--to=chad.dupuis@cavium.com \
--cc=QLogic-Storage-Upstream@cavium.com \
--cc=fcoe-devel@open-fcoe.org \
--cc=hare@suse.de \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=netdev@vger.kernel.org \
--cc=yuval.mintz@cavium.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).