[ip: 12bytes: 916 bits time][pramble:7][1B] [dst[src][vlan type: 2][
[pri: 3bits][ 1bit:][ vlan id: 12 bits: 0-4095][ TYPE: 2B=0x80][
[tcp][ip][payload---crc]
ip tos/dscp:3/diff6bits --> ipv6 class of sevice 1Bytes====> mapping --> vlan
end to end of qos
(2) APA:
groups multiple physical nic into one logical one fat pipe:
called link aggregation. (one MAC and one IP)
physical port can add tothis group if bandwidth..similar.
can failover..high availability.
load balance. QOS scheduling--> algo distribution across the ports. in a link
aggregate.
(3)
ip------------> dlpi------------driver
dl_ioc---req/dl_iocack
----------------------------
nic initialization phase:
dl_unitdata_req--> ok, build link layer header + extra space for
options.
ip_rput_dlpi()<-------------
dl_ok-ack:b_rptr
ill = (ill_t *)q->ptr;
ire_ll_hdr_mp = link header
(4) socket-->setsockopt(IP_TOS)--->ip layer---> vlan tagging
(5) ipv6 primary address: is always link local address. it is an
address automaticaly generated bt the node by combining the link local
prefix: fe80:: to a 64 bit interface identifier derived from MAC address.
duplicate address detection mechanism (rfc2462) is used to determine the
unique of the address in a link.
-----------
10g driver
-----------
iscsi--10g
control path:
dlpi: ilan_ioctl()-->ilan_ioctl()--hdm_ctl()--post request to card.
|
|
wakeup_queue(queuing pending non-acked req)
|
|
<---ilan_wakes up requester <--ilan-callback process_reqponse<--
ilan_invokes ilan_callback
tx path:
dlpi: ilan_send(->ilan)send() map buffers-> ilan_send call hdm_send()
hdm_send post descriptors to card
call send compilete.
rx:
attah-init
reset(isgbe driver)
No comments:
Post a Comment