All of lore.kernel.org
 help / color / mirror / Atom feed
* [OpenFCoE] [PATCH] Don't deliver BLS frames to the fast path.
@ 2007-11-30 18:37 Joe Eykholt
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Eykholt @ 2007-11-30 18:37 UTC (permalink / raw)
  To: linux-scsi

Don't deliver BLS frames to the fast path.

---
 drivers/scsi/ofc/libfc/fc_local_port.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/ofc/libfc/fc_local_port.c b/drivers/scsi/ofc/libfc/fc_local_port.c
index 55de5d3..66a1d47 100644
--- a/drivers/scsi/ofc/libfc/fc_local_port.c
+++ b/drivers/scsi/ofc/libfc/fc_local_port.c
@@ -1607,7 +1607,8 @@ void fc_local_port_recv(struct fc_local_port *lp, struct fc_frame *fp)
                /* fall through */
        case FC_EOF_N:
                mp = lp->fl_vf->vf_exch_mgr;
-               if ((f_ctl & (FC_FC_EX_CTX | FC_FC_SEQ_CTX)) == FC_FC_EX_CTX) {
+               if ((f_ctl & (FC_FC_EX_CTX | FC_FC_SEQ_CTX)) == FC_FC_EX_CTX &&
+                   fh->fh_type != FC_TYPE_BLS) {
                        fc_exch_recv_seq_resp(mp, fp);
                } else if (f_ctl & FC_FC_SEQ_CTX) {
                        fc_exch_recv_resp(mp, fp);
--
1.5.3.6


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

* [OpenFCoE PATCH] Don't deliver BLS frames to the fast path.
@ 2007-12-05  0:51 Joe Eykholt
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Eykholt @ 2007-12-05  0:51 UTC (permalink / raw)
  To: linux-scsi

Don't deliver BLS frames to the fast path.



Signed-off-by: Joe Eykholt <fcoe@eykholt.com>

---
 drivers/scsi/ofc/libfc/fc_local_port.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/ofc/libfc/fc_local_port.c b/drivers/scsi/ofc/libfc/fc_local_port.c
index 55de5d3..66a1d47 100644
--- a/drivers/scsi/ofc/libfc/fc_local_port.c
+++ b/drivers/scsi/ofc/libfc/fc_local_port.c
@@ -1607,7 +1607,8 @@ void fc_local_port_recv(struct fc_local_port *lp, struct fc_frame *fp)
 		/* fall through */
 	case FC_EOF_N:
 		mp = lp->fl_vf->vf_exch_mgr;
-		if ((f_ctl & (FC_FC_EX_CTX | FC_FC_SEQ_CTX)) == FC_FC_EX_CTX) {
+		if ((f_ctl & (FC_FC_EX_CTX | FC_FC_SEQ_CTX)) == FC_FC_EX_CTX &&
+		    fh->fh_type != FC_TYPE_BLS) {
 			fc_exch_recv_seq_resp(mp, fp);
 		} else if (f_ctl & FC_FC_SEQ_CTX) {
 			fc_exch_recv_resp(mp, fp);



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

end of thread, other threads:[~2007-12-05  0:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-30 18:37 [OpenFCoE] [PATCH] Don't deliver BLS frames to the fast path Joe Eykholt
  -- strict thread matches above, loose matches on Subject: below --
2007-12-05  0:51 [OpenFCoE PATCH] " Joe Eykholt

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.