Vous êtes sur la page 1sur 3

UCSC Extension 22177: IO Concepts and Protocols

Fall 2009

Homework 4 – November 15, 2009
H4.2

Name:  ____________________________ Total score:  _____

The score for each question is indicated in brackets [ ] next to the question.  Multiple choice 
questions have one correct answer unless indicated otherwise.  Please submit the homework 
at the start of class on November 23.

1. A device driver needs to read 1 byte of data from a register at address 0x3123 0007. 
What address should be set in the corresponding MRd? [1]

2. A packet with implicit routing to root can be received: [1]
[  ] (a) at a switch downstream port
[  ] (b) by an endpoint function
[  ] (c) at any switch port
[  ] (d) None of the above

3. PCI­X mode 2 transfer rates are specified in MT/s as opposed to MHz.  This is 
because PCI­X mode 2 uses: [1]
[  ] (a) 8b/10b encoding
[  ] (b) 64b/66b encoding
[  ] (c) the rising and falling edges of the clock
[  ] (d) None of the above

4. PCIe Gen­1 and Gen­2 transfer rates are specified in GT/s as opposed to Gb/s.  This is 
because they: [1]
[  ] (a) use 8b/10b encoding
[  ] (b) use 64b/66b encoding
[  ] (c) utilize the rising and falling edges of the clock
[  ] (d) None of the above

1 of 3
5. Data transfer occurs in PCI: [1]
[  ] (a) When IRDY# is asserted
[  ] (b) When IRDY# and TRDY# are both asserted
[  ] (c) When TRDY# is asserted
[  ] (d) At the falling edge of the clock

6. An Ethernet driver is responsible for the following indexes (mark all that apply):
[  ] (a) Receive ring producer index [1]
[  ] (b) Replenish ring producer index
[  ] (c) Transmit ring producer index
[  ] (d) Transmit ring consumer index
[  ] (e) All of the above
[  ] (f) None of the above

7. An Ethernet switch is configured with two VLANs, V1 and V2.  Hosts B is in V1 
while host C is in V2.  B wants to send an IP packet to C.  How would you overcome 
the fact that B and C are on different VLANs? [2]

8. A TCP offload engine (TOE) card implements the TCP/IP protocol in the card itself. 
Being a reliable protocol, TCP implements end to end acknowledgments.  One 
vendor's TOE card sends TCP acknowledgments as required by the protocol when it 
successfully receives TCP segments.  It then DMAs the received segments into 
system memory.  The advantage of this model is that acknowledgments are sent 
quickly.  Is there a disadvantage? [1]
[  ] Yes
[  ] No

Explain: [2]

9. PCIe:  (Mark all that apply.) [1]
[  ] (a) Derives clock from the data lines
[  ] (b) Tolerates skew between lanes
[  ] (c) Requires all lanes to be in sync
[  ] (d) Stripes the bits corresponding to each byte across lanes
[  ] (e) Stripes the bytes in the packet across lanes

2 of 3
10. A configuration read transaction can request: [1]
[  ] (a) Upto Max_Payload_Size bytes of data
[  ] (b) At most 1DW of data
[  ] (c) Upto Max_Read_Request_Size bytes of data
[  ] (d) At most 1 byte of data

11. Is the type field in the Fibre Channel frame equivalent to the Ethertype field in the 
TCP/IP packet or the TCP port number? [1]
[  ] (a) Ethertype
[  ] (b) TCP port number

Explain: [1]

3 of 3

Vous aimerez peut-être aussi