Claims
- 1. An apparatus coupled to a first network interface, comprising:
a first network interface coupled to a network device on a first network in accordance with a first protocol; a second network interface to be coupled to a network processor on a second network having a second protocol; and, a processor coupled to the first network interface and the second network interface, said processor to translate said first protocol to said second protocol, wherein said apparatus receives network transfers on behalf of the network processor while operating in a first mode, and initiates network transfers on behalf of the network processor while operating in a second mode.
- 2. The apparatus of claim 1, wherein the apparatus is a protocol bridge, the first protocol is Fibre Channel and said network device is a Fibre Channel device.
- 3. The apparatus of claim 2, wherein the second protocol is Small Computer System Interface (SCSI) and the second network is a packet-over-SONET (POS) network.
- 4. The apparatus of claim 1, wherein said network processor is a storage processor and the second network is a POS network.
- 5. The apparatus of claim 1, wherein said first mode is a target mode, said apparatus to perform at least one of a target mode read operation and a target mode write operation while in said target mode.
- 6. The apparatus of claim 5, wherein said apparatus performs the target mode read operation by,
providing a command frame to the network processor over the second network interface in accordance with the second protocol, receiving a data frame from the network processor that is sent in response to said command frame, and transmitting, over the first network interface, a payload of the data frame to the network device in accordance with the first protocol.
- 7. The apparatus of claim 6, wherein said apparatus performs said target mode operation by further,
receiving a status frame from the network processor that includes a response command, transmitting said response command to the network device in accordance with the first protocol, and transmitting an acknowledgement frame to the network processor in accordance with the second protocol indicating that the target read operation is complete.
- 8. The apparatus of claim 5, wherein said apparatus performs the target mode write operation by,
providing a command frame to the network processor over the second network interface in accordance with the second protocol, receiving a ready frame from the network processor that is sent in response to said command frame, said ready frame to contain a transfer command and to indicate that said network processor is ready to receive data, and transmitting, over the first network interface, the transfer command to the network device in accordance with the first protocol.
- 9. The apparatus of claim 8, wherein said apparatus performs the target mode write operation by further,
receiving, from the network device in accordance with the first protocol, a data frame sent in response to said transfer command, terminating the first protocol of the data frame, and transmitting the data frame to the network processor in accordance with the second protocol.
- 10. The apparatus of claim 9, wherein said apparatus performs the target mode write operation by further
receiving a status frame from the network processor that includes a response command, transmitting said response command to the network device in accordance with the first protocol, and transmitting an acknowledgement frame to the network processor in accordance with the second protocol indicating that the target write operation is complete.
- 11. The apparatus of claim 1, wherein said second mode is an initiator mode, said apparatus to perform at least one of an initiator mode read operation and an initiator mode write operation while in said initiator mode.
- 12. The apparatus of claim 11, wherein said apparatus performs the initiator mode read operation by,
receiving a command frame from the network processor over the second network interface in accordance with the second protocol, said command frame to contain a data request command, transmitting the data request command to the network device in accordance with the first protocol, receiving, from the network device over the first network interface, a data frame in accordance with the first protocol, and terminating said first protocol for said data frame.
- 13. The apparatus of claim 12, wherein said apparatus performs said initiator mode read operation by further,
transmitting said data frame to the network processor in accordance with the second protocol, receiving a response command from the network device in accordance with the first protocol, and transmitting a status frame containing the response command to the network processor in accordance with the second protocol.
- 14. The apparatus of claim 11, wherein said apparatus performs the initiator mode write operation by,
receiving a command frame containing a transfer command from the network processor over the second network interface in accordance with the second protocol, transmitting the transfer command to the network device in accordance with the first protocol, receiving a transfer ready command from the network device that is sent in response to said command, said transfer ready command to indicate that said network device is ready to receive data, and transmitting, over the second network interface, a ready frame to the network processor in accordance with the second protocol, said ready frame to contain the transfer ready command.
- 15. The apparatus of claim 14, wherein said apparatus performs the target mode write operation by further,
receiving, from the network processor in accordance with the second protocol, a data frame sent in response to said transfer ready command, transmitting the data frame to the network device in accordance with the first protocol, receiving a response command from the network device according to the first protocol, and providing a status frame to the network processor containing the response command, said status frame to indicate that the initiator write operation is complete.
- 16. The apparatus of claim 1, wherein said apparatus determines which of said target mode operation and initiator mode operation to perform based on one or more frame header fields.
- 17. The apparatus of claim 16, wherein said one or more frame header fields includes a protocol field that is used to determine a frame type for frames received by said apparatus.
- 18. The apparatus of claim 17, wherein said frame type is one of a target mode frame, initiator mode frame, raw frame, control mode frame and event reporting frame.
- 19. The apparatus of claim 18, upon receiving a raw frame, enters a raw frame mode in which frames received over said first network interface according to said first protocol are encapsulated into a second protocol frame and sent to said network processor over the second network interface.
- 20. The apparatus of claim 18, upon receiving a control mode frame, routes the control mode frame to a predetermined hardware queue that is different than a memory queue used for data frames, wherein said control mode frame to cause the apparatus to perform a control operation.
- 21. The apparatus of claim 18, to communicate an asynchronous event to said network processor, provides an event reporting frame to said network processor over the second network interface.
- 22. A protocol bridge for bridging a first protocol to a second protocol, comprising:
a first network interface coupled to a network device on a first network having the first protocol; a second network interface coupled to a network processor over a second network having the second protocol; and, wherein said protocol bridge receives network transfers on behalf of the network processor when a field in a received frame indicates that the protocol bridge should operate in a first mode, and initiates network transfers on behalf of the network processor when the field in the received frame indicates that the protocol bridge should operate in a second mode.
- 23. The protocol bridge of claim 22, the first protocol is Fibre Channel and said network device is a Fibre Channel device, and wherein said second protocol is Small Computer System Interface (SCSI) and the second network is a packet-over-SONET (POS) network.
- 24. The protocol bridge of claim 22, wherein said network processor is a storage processor and the second network is a POS network.
- 25. The protocol bridge of claim 22, wherein said protocol bridge operates in the first mode based on information from a received frame header field, and wherein when said received frame header field further indicates that the first mode is a target mode and that the protocol bridge is to perform a target mode read operation, said protocol bridge to,
provide a command frame to the network processor over the second network interface in accordance with the second protocol, receive a data frame from the network processor that is sent in response to said command frame, and transmit, over the first network interface, a payload of the data frame to the network device in accordance with the first protocol.
- 26. The protocol bridge of claim 25, wherein said protocol bridge, in performing said target mode read operation, is further to,
receive a status frame from the network processor that includes a response command, transmit said response command to the network device in accordance with the first protocol, and transmit an acknowledgement frame to the network processor in accordance with the second protocol indicating that the target read operation is complete.
- 27. The protocol bridge of claim 22, wherein said protocol bridge operates in the first mode based on information from a received frame header field, and wherein when said received frame header field further indicates that the first mode is a target mode and that the protocol bridge is to perform a target mode write operation, said protocol bridge to,
provide a command frame to the network processor over the second network interface in accordance with the second protocol, receive a ready frame from the network processor that is sent in response to said command frame, said ready frame to contain a transfer command and to indicate that said network processor is ready to receive data, and transmit, over the first network interface, the transfer command to the network device in accordance with the first protocol.
- 28. The protocol bridge of claim 27, wherein said protocol bridge, in performing said target mode write operation, is further to,
receive, from the network device in accordance with the first protocol, a data frame sent in response to said transfer command, terminate the first protocol of the data frame, transmit the data frame to the network processor in accordance with the second protocol receive a status frame from the network processor that includes a response command, transmit said response command to the network device in accordance with the first protocol, and transmit an acknowledgement frame to the network processor in accordance with the second protocol indicating that the target write operation is complete.
- 29. The protocol bridge of claim 22, wherein said protocol bridge operates in the second mode based on information from a received frame header field, and wherein when said received frame header field further indicates that the second mode is an initiator mode and that the protocol bridge is to perform an initiator mode read operation, said protocol bridge to,
receive a command frame from the network processor over the second network interface in accordance with the second protocol, said command frame to contain a data request command, transmit the data request command to the network device in accordance with the first protocol, receive, from the network device over the first network interface, a data frame in accordance with the first protocol, and terminate said first protocol for said data frame.
- 30. The apparatus of claim 29, wherein said protocol bridge, in performing said initiator mode read operation, is further to,
transmit said data frame to the network processor in accordance with the second protocol, receive a response command from the network device in accordance with the first protocol, and transmit a status frame containing the response command to the network processor in accordance with the second protocol.
- 31. The protocol bridge of claim 22, wherein said protocol bridge operates in the second mode based on information from a received frame header field, and wherein when said received frame header field further indicates that the second mode is an initiator mode and that the protocol bridge is to perform an initiator mode write operation, said protocol bridge to,
receive a command frame containing a transfer command from the network processor over the second network interface in accordance with the second protocol, transmit the transfer command to the network device in accordance with the first protocol, receive a transfer ready command from the network device that is sent in response to said command, said transfer ready command to indicate that said network device is ready to receive data, and transmit, over the second network interface, a ready frame to the network processor in accordance with the second protocol, said ready frame to contain the transfer ready command.
- 32. The protocol bridge of claim 31, wherein said protocol bridge, in performing said initiator mode write operation, is further to,
receive, from the network processor in accordance with the second protocol, a data frame sent in response to said transfer ready command, transmit the data frame to the network device in accordance with the first protocol, receive a response command from the network device according to the first protocol, and provide a status frame to the network processor containing the response command, said status frame to indicate that the initiator write operation is complete.
- 33. The protocol bridge of claim 22, wherein said field in the received frame may further indicate that the protocol bridge should enter one of a raw frame mode, a control mode and an event reporting mode.
- 34. The protocol bridge of claim 33, when in said raw frame mode, encapsulates raw frames received over said first network interface according to said first protocol into a second protocol frame having the second protocol and sends said second protocol frame to said network processor over the second network interface.
- 35. The protocol bridge of claim 33, when in said control mode, routes control mode frames to a predetermined hardware queue that is different than a memory queue used for data frames, said control mode frames to cause the protocol bridge to perform a control operation.
- 36. The apparatus of claim 33, when in event reporting mode, communicates asynchronous events to said network processor by sending an event reporting frame to said network processor over the second network interface.
- 37. A method for bridging protocols, comprising:
determining, based on a field of a received frame, that a target read mode operation should be performed; providing a command frame to a network processor over in accordance with a first protocol; receiving a data frame from the network processor that is sent in response to said command frame, and transmitting, over a second network interface, a payload of the data frame to a network device in accordance with a first protocol.
- 38. The method of claim 37, further comprising:
receiving a status frame from the network processor that includes a response command, transmitting said response command to the network device in accordance with the second protocol, and transmitting an acknowledgement frame to the network processor in accordance with the first protocol indicating that the target read operation is complete.
- 39. The method of claim 38, wherein the first protocol is Small Computer System Interface (SCSI) and the second protocol is Fibre Channel, and wherein said network processor is a storage processor and said network device is a Fibre Channel device.
- 40. A method for bridging protocols, comprising:
determining, based on a field of a received frame, that a target write mode operation should be performed; receiving, from the network device in accordance with the first protocol, a data frame sent in response to said transfer command; terminating the first protocol of the data frame; and transmitting the data frame to the network processor in accordance with the second protocol.
- 41. The method of claim 40, further comprising:
receiving a status frame from the network processor that includes a response command, transmitting said response command to the network device in accordance with the first protocol, and transmitting an acknowledgement frame to the network processor in accordance with the second protocol indicating that the target write operation is complete.
- 42. The method of claim 41, wherein the first protocol is Fibre Channel and the second protocol is Small Computer System Interface (SCSI), and wherein said network processor is a storage processor and said network device is a Fibre Channel device.
- 43. A method for bridging protocols, comprising:
determining whether an initiator read mode operation should be performed, and if so, receiving a command frame from a network processor in accordance with a first protocol, said command frame to contain a data request command, transmitting the data request command to a network device in accordance with a second protocol, receiving, from the network device, a data frame in accordance with the second protocol, and terminating said second protocol for said data frame.
- 44. The method of claim 43, further comprising,
transmitting said data frame to the network processor in accordance with the first protocol, receiving a response command from the network device in accordance with the second protocol, and transmitting a status frame containing the response command to the network processor in accordance with the first protocol.
- 45. The method of claim 44, wherein the first protocol is Small Computer System Interface (SCSI) and the second protocol is Fibre Channel, and wherein said network processor is a storage processor and said network device is a Fibre Channel device.
- 46. A method for bridging protocols, comprising:
receiving a command frame containing a transfer command from a network processor in accordance with a first protocol, transmitting the transfer command to a network device in accordance with a second protocol, receiving a transfer ready command from the network device that is sent in response to said command, said transfer ready command to indicate that said network device is ready to receive data, and transmitting a ready frame to the network processor in accordance with the first protocol, said ready frame to contain the transfer ready command.
- 47. The method of claim 46, further comprising:
receiving, from the network processor in accordance with the first protocol, a data frame sent in response to said transfer ready command, transmitting the data frame to the network device in accordance with the second protocol, receiving a response command from the network device according to the second protocol, and providing a status frame to the network processor containing the response command, said status frame to indicate that the initiator write operation is complete.
- 48. An apparatus, comprising:
a first network interface to be coupled to a network device on a first network in accordance with a first protocol that is terminated by said apparatus; a second network interface to be coupled to a network processor on a second network having a second protocol; and, a processor coupled to the first network interface and the second network interface, wherein said apparatus functions as a target for the network processor while performing a target mode operation, and functions as an initiator on behalf of the network processor while performing an initiator mode operation.
- 49. The apparatus of claim 48, wherein said target mode operation is one of a target mode read operation and a target mode write operation.
- 50. The apparatus of claim 49, wherein said apparatus performs the target mode read operation by,
providing a command frame to the network processor over the second network interface in accordance with the second protocol, receiving a data frame from the network processor that is sent in response to said command frame, and transmitting, over the first network interface, a payload of the data frame to the network device in accordance with the first protocol.
- 51. The apparatus of claim 50, wherein said apparatus performs said target mode operation by further,
receiving a status frame from the network processor that includes a response command, transmitting said response command to the network device in accordance with the first protocol, and transmitting an acknowledgement frame to the network processor in accordance with the second protocol indicating that the target read operation is complete.
- 52. The apparatus of claim 49, wherein said apparatus performs the target mode write operation by,
providing a command frame to the network processor over the second network interface in accordance with the second protocol, receiving a ready frame from the network processor that is sent in response to said command frame, said ready frame to contain a transfer command and to indicate that said network processor is ready to receive data, and transmitting, over the first network interface, the transfer command to the network device in accordance with the first protocol.
- 53. The apparatus of claim 52, wherein said apparatus performs the target mode write operation by further,
receiving, from the network device in accordance with the first protocol, a data frame sent in response to said transfer command, terminating the first protocol of the data frame, and transmitting the data frame to the network processor in accordance with the second protocol.
- 54. The apparatus of claim 53, wherein said apparatus performs the target mode write operation by further
receiving a status frame from the network processor that includes a response command, transmitting said response command to the network device in accordance with the first protocol, and transmitting an acknowledgement frame to the network processor in accordance with the second protocol indicating that the target write operation is complete.
- 55. The apparatus of claim 48, wherein said initiator mode operation is one of an initiator mode read operation and an initiator mode write operation.
- 56. The apparatus of claim 55, wherein said apparatus performs the initiator mode read operation by,
receiving a command frame from the network processor over the second network interface in accordance with the second protocol, said command frame to contain a data request command, transmitting the data request command to the network device in accordance with the first protocol, receiving, from the network device over the first network interface, a data frame in accordance with the first protocol, and terminating said first protocol for said data frame.
- 57. The apparatus of claim 56, wherein said apparatus performs said initiator mode read operation by further,
transmitting said data frame to the network processor in accordance with the second protocol, receiving a response command from the network device in accordance with the first protocol, and transmitting a status frame containing the response command to the network processor in accordance with the second protocol.
- 58. The apparatus of claim 55, wherein said apparatus performs the initiator mode write operation by,
receiving a command frame containing a transfer command from the network processor over the second network interface in accordance with the second protocol, transmitting the transfer command to the network device in accordance with the first protocol, receiving a transfer ready command from the network device that is sent in response to said command, said transfer ready command to indicate that said network device is ready to receive data, and transmitting, over the second network interface, a ready frame to the network processor in accordance with the second protocol, said ready frame to contain the transfer ready command.
- 59. The apparatus of claim 58, wherein said apparatus performs the target mode write operation by further,
receiving, from the network processor in accordance with the second protocol, a data frame sent in response to said transfer ready command, transmitting the data frame to the network device in accordance with the first protocol, receiving a response command from the network device according to the first protocol, and providing a status frame to the network processor containing the response command, said status frame to indicate that the initiator write operation is complete.
CROSS REFERENCE TO RELATED APPLICATIONS
[0001] This application is related to and claims priority from provisional application serial number 60/436,218, entitled “Method and Apparatus for Terminating and Bridging Network Protocols,” filed on Dec. 24, 2002.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60436218 |
Dec 2002 |
US |