TW540207B - Transmission member handling priority packets supported by single chip buffer structure and virtual area network label - Google Patents

Transmission member handling priority packets supported by single chip buffer structure and virtual area network label Download PDF

Info

Publication number
TW540207B
TW540207B TW90101967A TW90101967A TW540207B TW 540207 B TW540207 B TW 540207B TW 90101967 A TW90101967 A TW 90101967A TW 90101967 A TW90101967 A TW 90101967A TW 540207 B TW540207 B TW 540207B
Authority
TW
Taiwan
Prior art keywords
packet
priority
network
transmission
value
Prior art date
Application number
TW90101967A
Other languages
Chinese (zh)
Inventor
Ying-Chian Lin
Ruei-Yu Wu
Original Assignee
Admtek Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Admtek Inc filed Critical Admtek Inc
Priority to TW90101967A priority Critical patent/TW540207B/en
Application granted granted Critical
Publication of TW540207B publication Critical patent/TW540207B/en

Links

Abstract

The present invention provides a transmission member handling priority packets supported by single chip buffer structure and virtual area network label, wherein the network data packets can be separated as high priority packets and low priority packets. In the member, the high priority packets is transmitted in priority than the low priority packets to be compliant with the actual priority requirement, and by continuously transmitting the packets to maintain the high transmission efficiency. Furthermore, the transmission member according to the present invention is compatible with different kinds of chip structures, so it needs not to replace the hardware when applying to different chip structures.

Description

540207 A7540207 A7

經濟部智慧財產局員工消費合作社印製 發明領域: 本發明係有關於-種在-般電腦系統上處理的網路封 包(netw〇rk packet),4寺収有關於一種連接於連結網路的 個人電腦,其具有處理網路資料封包之傳輸軟體構件。 發明背景: 在-般工作環境中獨立的電腦,比如是個人電腦,^ 是可增加攜帶方便性的膝上型電腦,_由連結網路的王 結’可迅速地改善其卫作效能。此電腦網路允許網路上δ 电&與另。電知为予其資源。例如,在儲存區域的檔案 印表機,數據機,以及其他可分享的資源。 ^ 在電腦之間共享的資料’經由物理性的網路連妹,^ 封包(packet)的形式傳送,並且由接收的電腦讀取。此封: 形式的網路資料可能是用於分享的資源、、資料比如是: 案,或是其他資訊,其必須從一台電腦連結到另一台電腦1 在此所使用的,’網路資料,’為不同電腦間實際上經由連沾缔 路傳送的資料或資訊。 'σ ” 在此網路上的特定電腦或節點,當傳送網路資料封勺 到其他的電腦時,使用網路介面卡(NIC)或是網路卡,監^ -----1---------1 l· I--訂·-------- (請先閱讀背面之注意事項再填寫本頁)Printed by the Consumer Property Cooperative of the Intellectual Property Bureau of the Ministry of Economics Field of the Invention: The present invention relates to a network packet processed on a general computer system. Personal computer with transmission software components that process network data packets. BACKGROUND OF THE INVENTION: A stand-alone computer, such as a personal computer, in a general working environment is a laptop computer that can increase portability, and its performance can be rapidly improved by the king of the Internet. This computer network allows δ power & and another on the network. Teleportation is for its resources. For example, printers, modems, and other shareable resources in the storage area. ^ Data shared between computers ’is transmitted through a physical network. ^ Packets are transmitted and read by the receiving computer. This: The form of network data may be a resource for sharing, data such as: files, or other information, which must be connected from one computer to another computer. 1 used here, 'Internet Data, 'is the data or information that is actually transmitted between different computers through the connection. 'σ' A specific computer or node on this network, when sending network data to other computers, use a network interface card (NIC) or a network card to monitor ^ ----- 1-- ------- 1 l · I--Order · -------- (Please read the notes on the back before filling in this page)

540207 A7 五、發明說明() 封包的連結通道。透過作業系統(〇perating System)的運 作,在節點電腦上所跑的軟體構件,可以管理及控制網路 介面卡的彳呆作。還有,其他的軟體構件進一步虛擬網路連 結通道,並且提供更多的用於高層的網路介面。由於‘‘層 (Layer)觀念的提出進一步幫助網路應用的發展。其中以 iso七層通訊協定最為人所熟知。實際上IS〇模組的實行 並不需要硬性地隔離每一層,使分離的構件暴露出其對上 下層的介面,此模組的觀念通常都可應用。IS〇模組的下 層為資料連結層,以及輸送與網路層。其中,資料連結層 藉由網路連結卡實打,且輸送與網路層作為輸送協定驅動 層。 低階層的網路功能,比如控制網路卡以及網路封包處 理’係藉由特定的系統軟體構件控制,稱為驅動程式,其 依照一特定的架構與主機的作業系統結合,並且具有存取 系統資源的權限。其可參照由Microsoft c〇rp〇rati〇n所提 供的Windows NT®或Windows 98®作業系統。 經濟部智慧財產局員工消費合作社印製 因為各種不同理由’經過長時間發展出各種不同的輸 送協定。不同的輸送協定驅動程式在單一主機系統上執> 作為軟體構件,提供必須的網路功能。某些常見的輸送協 定包括TCP/IP、IPX、AppleTalk®,以及其他。每一個輸 送協定驅動程式與個別的網路卡元件驅動程式連結,藉由 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) 540207540207 A7 V. Description of the invention () The connection channel of the packet. Through the operation of the operating system, the software components running on the node computer can manage and control the daze of the network interface card. In addition, other software components further virtualize the network connection channels and provide more network interfaces for higher layers. Because the concept of ‘Layer’ is proposed to further help the development of web applications. Among them, the iso seven-layer communication protocol is best known. In fact, the implementation of the IS0 module does not require hard isolation of each layer, so that the separated components expose their interface to the upper and lower layers. The concept of this module can usually be applied. The lower layer of the IS0 module is the data link layer, as well as the transport and network layers. Among them, the data link layer is implemented by a network link card, and the transport and network layers are used as the transport protocol driving layer. Low-level network functions, such as controlling network cards and network packet processing, are controlled by specific system software components, called drivers, which are integrated with the operating system of the host according to a specific architecture and have access System resource permissions. It can be referred to the Windows NT® or Windows 98® operating system provided by Microsoft Corporation. Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs For various reasons', various transmission agreements have been developed over time. Different transport protocol drivers are implemented on a single host system as software components that provide the necessary network functions. Some common transport protocols include TCP / IP, IPX, AppleTalk®, and others. Each transmission protocol driver is connected to an individual network card component driver. This paper size applies the Chinese National Standard (CNS) A4 specification (210 X 297 mm) 540207

五、發明說明() 經濟部智慧財產局員工消費合作社印製 连結網路傳送網路資料,以及接收來 牧队水目連結網路封包。 而且,因為各家廠商提供多稀姻玫上 夕禋、萄路卡,相對地有各種 不同的網路驅動程式用於不同網路卡申 j汾下τ的晶片結構,比如 DC21140,DC21142,DC21143 算不因細狄 μ 寻不冋網路卡。為了對輸送 協定驅動程式提更完整的連結支援,备一 又傻母個網路卡驅動程 式必須支援對各種不同形式的輸送協定程式之連結能力。 此外,在輸送協定驅動程式與網路卡元件驅動程式之 間的資訊必須連結,藉以在傳送資料到網路之前,或是在 接收來自網路的資料之後,能夠適當地處理網路資料。一 般用於傳送或接收資料的方法會準備兩個序列通道。例如 高優先性封包會經由高優先序列通道傳送,同樣地,低優 先性封包會經由低優先序列通道傳送。因此,至少需要提 供兩條硬體FIFO序列通道,用於連結網路資料。所以,需 要一種有效且高相容性的傳送構件來處理封包的網路資 料。 發明目的及概述: 因此’本發明提供一種處理由單晶片緩衝結構支援之 優先性封包與虛擬區域網路標籤的傳輸構件。本發明之傳 輸構件傳送高優先性封包優先於低優先性封包,以符合實V. Description of the Invention () Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs, the network is used to transmit network data, and to receive network packets from the pastoral team to connect to the network. In addition, because various manufacturers provide a variety of marriage cards, grape cards, relatively different network drivers for different network card application chip structure, such as DC21140, DC21142, DC21143 Can't find the network card due to the details. In order to provide more complete link support for the transport protocol driver, the network driver must be capable of supporting various forms of transport protocol programs. In addition, the information between the transport protocol driver and the network card component driver must be linked so that the network data can be processed appropriately before sending data to the network or after receiving data from the network. The general method for transmitting or receiving data prepares two serial channels. For example, high-priority packets are transmitted over high-priority sequence channels. Similarly, low-priority packets are transmitted over low-priority sequence channels. Therefore, at least two hardware FIFO sequence channels need to be provided for linking network data. Therefore, an effective and highly compatible transmission component is needed to process packet network data. OBJECTS AND SUMMARY OF THE INVENTION Therefore, the present invention provides a transmission component for processing priority packets and virtual area network tags supported by a single-chip buffer structure. The transmission component of the present invention has priority to transmit high-priority packets over low-priority packets in order to comply with actual requirements.

請 先 閱 讀 背 之 注 意 事 項 再f裝 本· 頁 IPlease read the notes of the memorandum before reloading this page

II

Itr i I 本紙張尺度適用中國國家標準(CNS)A4規格(210 χ 297公釐) 540207 A7 五、發明說明( 際的優先性需求。並且,持續地傳輸封包以維持高傳輸效 率。而且,本發明之傳輪構件可相容於各種不同的晶片結 構,因此本發明之傳送構件可應用至不同的晶片結構,不 需要更換硬體。 經濟部智慧財產局員工消費合作社印製 卡元件層之 包的傳輸構 少一個網路 件,從網路 送協定層。 來自該輸送 路資料封包 檢查器中具 列,允許來 包通過;一 之網路資料 優先值之網 列,接收來 介面卡元件 自網路介面 構,從主動 先值之網路 (請先閱讀背面之注意事項再填寫本頁) 本發明k供一種在輸送協定層與網路介面 間’處理由單晶片緩衝結構支援之優先性封 件,包括·一傳送部件,從輸送協定層傳送至 資料封包到網路介面卡元件層,以及一接收部 介面卡元件層傳送至少一個網路資料封包到輪 其中,傳送部件包括:一優先性檢查器,接收 協定層之至少一個網路資料封包,並且檢查網 之一優先值,一高優先序列,允許來自優先性 有高優先值之網路資料封包通過;一低優先序 自優先性檢查器中具有低優先值之網路資料封 優先性控制器’控制通過南優先值與低優先值 封包的傳送速率;一標籤插入結構,在具有高 路資料封包中插入一標籤;以及一主動傳輸序 自標籤插入結構之網路資料封包且傳送到網路 層。接收部件包括··一主動接收序列,接收來 卡元件層之網路資料封包;以及一標籤移除結 接收序列接收網路資料封包,且移除具有高優 資料封包之一標籤。 ‘紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) 540207Itr i I This paper size applies the Chinese National Standard (CNS) A4 specification (210 x 297 mm) 540207 A7 V. Description of the invention (international priority requirements. And, it continuously transmits packets to maintain high transmission efficiency. Moreover, this paper The transmission member of the invention can be compatible with various different chip structures, so the transmission member of the invention can be applied to different chip structures without hardware replacement. The transmission structure has one less network piece, and the protocol layer is sent from the network. The data packet checker from the transmission line is listed to allow the packets to pass; the one with the network data priority value is received from the interface card component. Network interface structure, starting from the active network (please read the notes on the back before filling this page) The present invention provides a priority between the transport protocol layer and the network interface to handle the support of the single-chip buffer structure The envelope includes a transmission unit, which transmits from the transmission protocol layer to the data packet to the network interface card component layer, and a receiving unit interface card component layer transmission At least one network data packet arrives. The transmitting component includes: a priority checker that receives at least one network data packet at the protocol layer, and checks one of the network priority values. A high priority sequence allows high priority. Priority network data packets pass; a low-priority self-priority checker with a low-priority network data packet priority controller 'controls the transmission rate of packets passing south-priority and low-priority packets; a tag is inserted Structure, inserting a label in a data packet with a high way; and an active transmission sequence from the label insertion structure of the network data packet and transmitting it to the network layer. The receiving part includes an active receiving sequence that receives the incoming card component layer. A network data packet; and a tag removal node receiving sequence to receive the network data packet and remove one of the tags with a high-quality data packet. 'The paper size applies the Chinese National Standard (CNS) A4 specification (210 X 297 mm) 540207

五、發明說明( 本發明亦祖W ^ 敌ί、一種從輪送協定層傳送網路資料封包到 罔路”面卡元件層的方法,包括下列步驟··從輸送協定層 接收個封包。接著檢查封包之優先值,並且依照封包之 良先值將封包分配至一高優先序列或一低優先序列。然後 在〃有同優先值之封包中插入一標籤。具有高優先值與低 封匕以Ν: 1之速率傳送到網路介面卡元件層。 本發明亦提供一種從網路介面卡元件層接收網路資料 封包到輸运協定層的方法,包括下列步驟:從網路介面卡 元件層接收一封包。接著從具有高優先值之封包移除一標 鐵。然後傳送封包到輸送協定層,並且指定封包之優先值 至輸送協定層。 圖式簡單說明: 本發明的較佳實施例將於往後之說明文字中輔以下列 圖形做更詳細的闡述,其中: 經濟部智慧財產局員工消費合作社印製 面塊 介區 路的 網係 示關 顯接 ,連 例與 施面 實介 佳的 較間 一 之 之層 明定 發協 本送 昭£ 輸 依與 為卡 圖 11 第 述 描 包 封 明 說 例 施 實 佳 較 1 之 明 發 本 照 〇 依 圖為 圖 2 第 S N (C 準 標 家 國 國 中 用 適 度 尺 張 紙 本 t 公 97 2 X 10 (2 格 規 540207 A7 B7 五、 經濟部智慧財產局員工消費合作社印製 發明說明( 器資料結構的區塊圖。 第3圖顯示如何將來自輸送協定層的資料封包處理、 且傳送到網路介面卡的流程圖。 第4圖是說明當不需要插入優先值時之一輸出封包 輸的區塊圖。 ^ 第5圖是說明當需要插入優先值時,關於封包傳輪以 及在輸出封包中插入VLAN標籤的區塊圖/ 第6圖疋顯不在ISR中,如何處理在高優先序列與低 優先序列之封包的流程圖。 第7圖是顯示如何將接收來自網路介面卡的資料封 包,並且傳送到輸送協定層的流程圖。 第8圖是關於VLAN標籤的移除技巧。 圖號對照說明: 100 輸送協定層 200 傳輸構件 210 傳送部件 212 優先性檢查器 214 高優先性序列 216 低優先性序列 218 優先性控制器 220 標籤插入結構 222 主動傳送序列 230 接收部分 232 主動接收序列 234 標籤移除結構 300 網路介面卡 發明詳細說明: 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) 540207V. Description of the Invention The present invention also refers to a method for transmitting network data packets from a round robin protocol layer to a Kushiro "face card component layer", including the following steps: · receiving a packet from the transport protocol layer. Check the priority value of the packet, and assign the packet to a high-priority sequence or a low-priority sequence according to the good prior value of the packet. Then insert a tag in the packet with the same priority value. The rate of N: 1 is transmitted to the network interface card component layer. The present invention also provides a method for receiving network data packets from the network interface card component layer to the transport protocol layer, including the following steps: from the network interface card component layer Receive a packet. Then remove a token from a packet with a high priority. Then send the packet to the transport protocol layer and specify the priority of the packet to the transport protocol layer. The diagram simply illustrates: The preferred embodiment of the present invention will In the following explanatory texts, the following figures are supplemented to make a more detailed explanation, of which: The network system of the noodles road printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economy The obvious connection between the consecutive example and the actual application of the face and the actual application is to send a clear copy of the order. The loser and the card are as shown in Figure 11. The encapsulation of the example shows that the actual example is better than the original one. The figure is shown in Figure 2. The SN (C quasi-standard home country and middle school uses a moderate rule of paper t public 97 2 X 10 (2 standard 540207 A7 B7. V. Printed invention description printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs.) Block diagram of the structure. Figure 3 shows the flow chart of how to process the data packets from the transport protocol layer and send them to the network interface card. Figure 4 shows one of the output packets when the priority value does not need to be inserted. Block diagram. ^ Figure 5 is a block diagram illustrating the packet transfer wheel and inserting a VLAN tag in the output packet when the priority value needs to be inserted. / Figure 6 shows how the high priority sequence is not included in the ISR. Low-priority sequence packet flow chart. Figure 7 is a flowchart showing how to receive data packets from the network interface card and send them to the transport protocol layer. Figure 8 is about VLAN tag removal techniques. No. comparison description: 100 transport agreement layer 200 transmission component 210 transmission component 212 priority checker 214 high priority sequence 216 low priority sequence 218 priority controller 220 tag insertion structure 222 active transmission sequence 230 receiving part 232 active reception sequence 234 Label removal structure 300 Network interface card Detailed description of the invention: This paper size applies to China National Standard (CNS) A4 (210 X 297 mm) 540207

經濟部智慧財產局員工消費合作杜印製 堉歹照罘 丨圖,t仂Η刀丄心 “依知本發明之一較佳實施 網路介面卡(NIC)與傳误+Α ^ ”、、貝^ 廷協定層之間的介面與連接關係的 區塊圖。本發明之傳輸軟俨 係的 别祆體構件200位於輸送協定屉 與網路介面卡元件驅動程式300之間,以傳送網路^ 且連結單獨的電腦到料上其他的《,此傳輪構件^ 由數個軟體構件所組成。右後认m Μ 丄 冰 在傳輸構件2 0 0中的軟體構件可 簡單分為兩個部分,分別用來傳送以及接收網路封包。在 傳送部件21(3中的軟體構件包括優純檢查H 212、高優 ^生序列2"、低優先性序列216叫憂先性控制器21二票 籤(tag)插入結構220以及主動傳輸序列222。在接收部分 230中的軟體構件包括主動接收序列232以及標籤移除結 構2 3 4。在傳送部件2 1 〇中的優先性檢查器2丨2必須向協 疋層100洵問封包(packet)的優先性(pri〇rity),並且決定哪 些封包必須送入高優先性序列2 1 4,哪些必須送入低優先 性序列2 1 6。優先性控制器2 18必須決定何時、多少個封 包以及其從高與低優先性序列2 1 4、2 1 6中的優先性,送往 主動傳送序列222。然而,在實際的執行中,協定層10( 會不定時送封包到驅動程式。因此優先的控制必須分為兩 個程序’傳送封包程序以及中斷服務步驟(ISr)。在這兩個 觀點中,適當處理在主動傳送序列222停留的封包數量, 避免堵塞。基於傳送效能的考量,優先性控制器2 1 8必須 持續地處理封包。 本紙張尺度顯T關家標準(CNS)A4規格(21Q x 297公釐^ -----------«裳--------訂-丨 (請先閱讀背面之注咅?事項再填寫本頁) 540207 A7 B7 五、發明說明() 請參照第2圖,其為繪示直接記憶存取(Dma)描述器 (descriptor)中封包的資料結構的區塊圖。首先定義每一個 封包的描述器。為了在每一個封包中插入虛擬區域網路 (VLAN)標籤,定義DMA描述器具有略過長度(skip length)32位元組(bytes)。在略過長度最後16個位元組 中,第一個4位元組的内容為VLAN標籤,且第二個4位 元組為VLAN標籤的實際位址。其中,VLAN標籤位址會 在網路介面卡(NIC)初始化階段指定。 本發明將在下列敘述中說明從輸送協定層傳送網路封 包到網路介面卡(NIC)的方法。請參照第3圖,其顯示如何 將來自輸送協定層的資料封包傳送到網路介面卡的流程 圖。在此使用一種網路驅動程式介面規格(NDIS)技術,用 來整合網路介面卡驅動程式與輪送協定層,其在wind〇ws NT或是Window 98作業系統上執行,稱為NDIS包裝元件 驅動程式。N DIS技術管理系統内各層的服務與硬體間的交 互作用。 請參照第1圖與第3圖,在傳送封包程序中,傳輸構 件200的傳送部件210從NDIS接收封包,並且處理將其 分配到適當的序列中。首先,在傳送部件2丨〇中的驅動程 式從N DIS接收一個封包。此驅動程式會依吗資源是否足 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) (請先閱讀背面之注意事項再填寫本頁) n ϋ— n n n an n 訂-------- 經濟部智慧財產局員工消費合作社印製 540207 經濟部智慧財產局員工消費合作社印製 A7 B7 五、發明說明() 夠’分配封包到適當的序列中。若資源足夠,驅動程式會 藉 由 NDIS 提供 的函式 (NDIS—PER — PACKET —INFO —FROM —PACKET),接收每一個 進入封包的優先值。若封包的優先值為高,比如約從4至 7 ’驅動程式會分配封包到高優先性序列2丨4,同樣地,此 驅動程式會分配低優先性封包到低優先序列2 1 6,低優先 性封包比如具有優先值約為〇至3。然後,看Νοπ是否有 封包,若有,驅動程式再次從NDIS接收一個封包,若無, 接著進行下個步驟。之後看NIC是否剛完成初始化或DMA 描述器是空的,若是’在高與低優先性序列2丨4,2丨6中的 封包將會被送到主動傳送序列中。在送封包到DMA描述器 之前,先在高優先性封包中插入VLAN標籤。為了在每一 個封包中插入VLAN標籤,如前所定義,每個描述器具有 略過長度32位元組。在略過長度最後ι6位元組之範圍中, 第一個4位元組為VLAN標籤,並且第二個4位元組為 VLAN標籤的實際位址。若封包無優先值,驅動程式會直 接將封包放進主動傳送序列中。若封包具有優先值,驅動 程式會將第一緩衝區分為兩個部分。第一部份具有長度i 2 位元組。第一描述器會指到第一緩衝區的第一部份與VLAN 標籤區域。第二DMA描述器將會指向第一缓衝區的剩餘部 分,如此便能將VLAN標籤插入該封包。然後在第一緩衝 區具有優先值的封包將會經由網路線傳送。當NIC初始化 後或是描述器中的所有封包送出,驅動程式必須將部分封 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) ------------裝-----r---訂--------h (請先閱讀背面之注意事項再填寫本頁) 經濟部智慧財產局員工消費合作社印製 540207 A7 B7 五、發明說明() 包放進DMA描述器中。其中,高優先性封包與低優先性封 包會以N: 1的速率送出,比如是5 : 1。然而,若高優先性封 包與低優先性封包無法維持N: 1的傳送比例時,驅動程式 會保持送出Μ個封包,但是會修正其送出速率。在此情況 下’高優先性封包與低優先性封包的傳送比例可以是Μ: 0, Μ-1:1? Μ-2:2, Μ-3:3,……,Hi 或 0:Μ〇 在下列的敘述中,本發明將敘述處理具有或不具有優 先值封包之步驟,以及在送出的封包中插入指定優先值之 VLAN標籤的技巧。 請參照第4圖,若封包不具有優先值,第一描述器中 的第二標籤描述器(TDES 2)必須指到第一緩衝區,且第一描 述器中的第三標籤描述器(丁DES3)必須指到第二緩衝區。因 此’驅動程式如同其他在一般網路環境中的驅動程式。 晴參照第5圖’若封包具有優先值,驅動程式將第一 緩衝區分為兩個部分。第一緩衝區的第一部份具有12位元 組長度’第二部分具有第一緩衝區的剩餘部分。第一描述 器的第一標戚描述器(丁 DES2)指到第一緩衝區的第一部 份,且第一描述器的第三標籤描述器(丁dES3)變成指到 VLAN標籤區域,然後第二描述器的第二標籤描述器 (TDES2)變成指到第二緩衝區。此封包的其他緩衝區將由其 11 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) ------------·裝-----r (請先閱讀背面之注意事項再填寫本頁) I I 訂 540207 A7 B7 經濟部智慧財產局員工消費合作社印製 五、發明說明( 他的描述為指定 當封包使用本發明的方法译山 J々泛运出時,重要的是要達成服 務品質(QoS)的目標。因此,借 便用中斷服務步驟(ISR)的程 序。下面將描述ISR中在高優春从 愛先*性序列與低優先性序列中 封包的處理方法。先前,我們p站 双已經排序許多的封包。當驅 動程式處理排序的封㈣,高優先性的封包優先處理。並 且,高優先性封包與低優先性封包的送出 卜 請參照第6圖,驅動程式首先處理排序的封包。然後 看高優先性序列與低優先性序列是否是空的。若.高優先性 序列與低優先性序列皆是空的,#著看資源是否足夠。若 資源足夠,然後看高優先性封包與低優先性封包的送出速 率是否為N:l。若送出速率為N:卜在高優先性封包中插入 VLAN標籤,並且以N個高優先性封包搭配丨個低優先性 封包的比例送出。然後流程回到考慮高優先性序列與低優 先性序列是否是空的’再繼續流程步驟。若送出速率不為 N: 1 ’則驅動程式仍然會送出M個封包,比如是6個封包。 在此情況下,高優先性封包與低優先性封包的傳送比例可 以是 M:0,M-l:l,M-2:2,M-3:3,......,1 : Μ-1 或是 Ο: M。此 方式可以使NIC維持忙碌,並且加強其效能。 接著在下列敘述中’本發明將敘述從NIC接收網路封 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) ----------I I ---I l·---^--------- (請先閱讀背面之注意事項再填寫本頁) 540207 五 經濟部智慧財產局員工消費合作社印製 A7 發明說明() 包到輸送協定層的方法。請參照第7 _,其繪示如何接收 來自NK:綱的資料封包,並且處理傳送到輸送協定層 1〇〇。請同時參照第i圖與第7圖’傳輸構件2〇〇的接收部 分230將會處理接收自NIC 3〇〇的封包,並且檢查其優先 性。百先,在接收部分230中的驅動程式從NIC 3〇〇接收 封包。此驅動程式會考慮資源是否足夠。若資源足夠,驅 動程式會藉由驗證封包前16位元組中是否有vlan標籤存 在,檢查封包的優先值。VLAN #藏實際上會存在:每個 封包第12至第15位元組的範圍中。若此封包中存在有 VLAN標籤,驅動程式會將前12位元組(包括目的位址與來 源位址)向右位移4位元組長度,並且覆蓋籤區域 的位址。最後’再次使用NDIS提供的函式 (NDIS_PER_PACKET_INFO_FROM_PACKET)以指定或告 §斥N DIS進入封包的優先值。 在下列敘述中’本發明將敘述指定優先值之VLAN標 籤的移除技巧。請參照第8圖,當驅動程式辨識到原始的 第一緩衝區中有VLAN標籤存在時,驅動程式會將前1 2位 元組向右位移,並且覆蓋VLAN標籤區域,該位移值為4 位元組。然後,驅動程式再次分配第二標籤描述器(TDES2) 指到後來的第一缓衝區(已經更動過的第一緩衝區)。因 而,完成一個上傳的封包。本發明的驅動程式使用 NDIS一PER一PACKE丁一INFO一FROM— PACKET 函式(NDIS 所 13 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) -------- - ---^ · I I I l· I 1 I ^---------. (請先閱讀背面之注咅?事項再填寫本頁) 540207 五、發明說明() 提供的函式之一)記錄優 程式 母 封包結構中。在驅妻 飞通知NDIS有關上傳封包的優弈 優先值處理…w 後,咖賴 ίο我們可用此技巧移除VLAN標籤。 綜上所述,本發明提供一種處理由單晶片緩衝結構支 美之優先性封包與虛擬區域網路標籤的傳輸構件。本發明 之傳輸構件傳送高優先性封包優先於低優先性封包,以符 合實際的優先性需求。並且,持續地傳輸封包以維持高傳 輪效率。而且,本發明之傳輸構件可相容於各種不同的晶 片結構,因此本發明之傳輸構件可應用於不同的晶片結 構,不需要更換硬體。 如熟悉此技術之人員所瞭解的,以上所述僅為本發取 之較佳實施例而已,並非用以限定本發明之申請專利黨 圍;凡其它未脫離本發明所揭示之精神下所完成之等效鼓 變或修飾’均應包含在下述之申請專利範圍内。 經濟部智慧財產局員工消費合作社印製The consumer cooperation of the Intellectual Property Bureau of the Ministry of Economic Affairs prints a photo of the customer, “The best implementation of the network interface card (NIC) and misinformation + Α ^”, A block diagram of the interfaces and connections between the protocol layers. The transmission unit 200 of the present invention is located between the transmission protocol drawer and the network interface card component driver 300 to transmit the network ^ and connect a separate computer to other materials on the material. This transmission unit ^ Consists of several software components. The right rear view m Μ 丄 ice The software component in the transmission component 200 can be simply divided into two parts, which are used to send and receive network packets, respectively. The software components in the transmission unit 21 (3) include a high-quality inspection H 212, a high-quality health sequence 2 ", a low-priority sequence 216 called the antecedent controller 21, a two-tag insertion structure 220, and an active transmission sequence. 222. The software components in the receiving part 230 include an active receiving sequence 232 and a label removing structure 2 3 4. The priority checker 2 in the transmitting part 2 10 must ask the cooperation layer 100 for a packet. ) And determine which packets must be sent to the high-priority sequence 2 1 4 and which packets must be sent to the low-priority sequence 2 1 6. The priority controller 2 18 must decide when and how many packets And its priority from the high and low priority sequences 2 1 4 and 2 16 is sent to the active transmission sequence 222. However, in actual implementation, the protocol layer 10 (will send packets to the driver from time to time. Therefore Priority control must be divided into two procedures: the transmission packet procedure and the interrupt service step (ISr). In these two perspectives, the number of packets staying in the active transmission sequence 222 is appropriately handled to avoid congestion. Based on the consideration of transmission efficiency, Priority controller 2 1 8 must continuously process packets. This paper size shows T-household standard (CNS) A4 specifications (21Q x 297 mm ^) ----------- «Shang ---- ---- Order- 丨 (Please read the note on the back? Matters before filling out this page) 540207 A7 B7 V. Description of the invention () Please refer to Figure 2, which shows the direct memory access (Dma) descriptor (descriptor) A block diagram of the data structure of the packet. First define the descriptor of each packet. In order to insert a virtual area network (VLAN) tag into each packet, define the DMA descriptor to have a skip length 32 bytes. In the last 16 bytes of skipped length, the content of the first 4 bytes is the VLAN tag, and the second 4 bytes is the actual address of the VLAN tag. The VLAN tag address will be specified during the initialization phase of the network interface card (NIC). The present invention will explain the method of transmitting network packets from the transport protocol layer to the network interface card (NIC) in the following description. Please refer to FIG. 3 , Which shows a flowchart of how to send data packets from the transport protocol layer to the network interface card. A network driver interface specification (NDIS) technology is used to integrate network interface card driver and carousel protocol layer. It runs on Windows NT or Window 98 operating system and is called NDIS package component driver. The interaction between the services and hardware of each layer in the N DIS technology management system. Please refer to Figure 1 and Figure 3. In the transmission packet program, the transmission component 210 of the transmission component 200 receives the packet from the NDIS, and processes and distributes it. Into the proper sequence. First, the driver in the transmitting unit 2 receives a packet from the N DIS. Does this driver depend on whether the resources are based on the paper size and apply the Chinese National Standard (CNS) A4 specification (210 X 297 mm) (Please read the precautions on the back before filling this page) n ϋ— nnn an n Order- ------ Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs 540207 Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs A7 B7 V. Description of the invention () Enough to distribute packets to the appropriate sequence. If the resources are sufficient, the driver will receive the priority value of each incoming packet through the function provided by NDIS (NDIS_PER — PACKET —INFO —FROM —PACKET). If the priority value of the packet is high, for example, from about 4 to 7 ', the driver will assign the packet to the high-priority sequence 2 丨 4. Similarly, the driver will assign the low-priority packet to the low-priority sequence 2 1 6, low The priority packet has a priority value of about 0 to 3, for example. Then, see if there is a packet. If so, the driver receives a packet from NDIS again. If not, then proceed to the next step. Then check to see if the NIC has just finished initializing or the DMA descriptor is empty. If it is ’, the packets in the high and low priority sequences 2 丨 4, 2 丨 6 will be sent to the active transmission sequence. Before sending the packet to the DMA descriptor, insert a VLAN tag in the high-priority packet. In order to insert a VLAN tag into each packet, as previously defined, each descriptor has a skip length of 32 bytes. In the range of the last 6 bytes of the skipped length, the first 4-byte is the VLAN tag, and the second 4-byte is the actual address of the VLAN tag. If the packet has no priority value, the driver will directly put the packet into the active transmission sequence. If the packet has a priority value, the driver divides the first buffer into two parts. The first part has a length i 2 bytes. The first descriptor refers to the first part of the first buffer and the VLAN tag area. The second DMA descriptor will point to the remainder of the first buffer so that a VLAN tag can be inserted into the packet. Packets with a priority value in the first buffer will then be transmitted via the network line. When the NIC is initialized or all the packets in the descriptor are sent, the driver must apply part of the paper size to the Chinese National Standard (CNS) A4 specification (210 X 297 mm) ----------- -Install ----- r --- Order -------- h (Please read the notes on the back before filling out this page) Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs 540207 A7 B7 V. Invention Explanation () The packet is put into the DMA descriptor. Among them, high-priority packets and low-priority packets will be sent out at a rate of N: 1, such as 5: 1. However, if high priority packets and low priority packets cannot maintain the N: 1 transmission ratio, the driver will keep sending M packets, but will modify the sending rate. In this case, the transmission ratio of the high-priority packet to the low-priority packet may be M: 0, M-1: 1? M-2: 2, M-3: 3, ..., Hi, or 0: Μ〇. In the following description, the present invention will describe the steps for processing packets with or without a priority value, and the technique of inserting a VLAN tag with a specified priority value in the sent packet. Please refer to Figure 4. If the packet does not have a priority value, the second tag descriptor (TDES 2) in the first descriptor must point to the first buffer, and the third tag descriptor (D) in the first descriptor DES3) must point to the second buffer. Therefore, the 'driver is like other drivers in a normal network environment. See Figure 5 'If the packet has a priority value, the driver divides the first buffer into two parts. A first portion of the first buffer has a length of 12 bytes' and a second portion has the remainder of the first buffer. The first descriptor of the first descriptor (DDES2) points to the first part of the first buffer, and the third tag descriptor of the first descriptor (DES3) changes to the VLAN tag area, and then The second tag descriptor (TDES2) of the second descriptor becomes a pointer to the second buffer. The other buffers of this packet will be based on its 11 paper sizes, which are applicable to the Chinese National Standard (CNS) A4 specification (210 X 297 mm) ------------ · pack ----- r (please Read the precautions on the back before filling this page) II Order 540207 A7 B7 Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs 5. Description of the invention (his description is to designate when the package uses the method of the present invention At this time, it is important to achieve the quality of service (QoS) goal. Therefore, the interrupt service step (ISR) procedure is used. The following will describe the ISR in the high priority and the low priority sequence Packet processing method. Previously, we have sequenced many packets. When the driver processes the sorted packets, the high-priority packets are processed first. Also, for the sending of high-priority packets and low-priority packets, please refer to In Figure 6, the driver first processes the sorted packets. Then it checks whether the high-priority sequence and the low-priority sequence are empty. If the high-priority sequence and the low-priority sequence are both empty, # 着 看 Resources are sufficient .If resources are sufficient , And then see if the sending rate of high-priority packets and low-priority packets is N: 1. If the sending rate is N: Bu insert a VLAN tag in a high-priority packet, and use N high-priority packets with 丨 low The proportion of priority packets is sent. Then the process returns to the consideration of whether the high-priority sequence and the low-priority sequence are empty. Then continue the process. If the sending rate is not N: 1, the driver will still send M packets. For example, there are 6 packets. In this case, the transmission ratio of the high-priority packet to the low-priority packet may be M: 0, Ml: l, M-2: 2, M-3: 3, ... ., 1: M-1 or 0: M. This method can keep the NIC busy and enhance its performance. Then in the following description, 'The present invention will describe receiving the network cover from the NIC. The paper size applies the Chinese national standard ( CNS) A4 specification (210 X 297 mm) ---------- II --- I l · --- ^ --------- (Please read the precautions on the back first (Fill in this page) 540207 A7 printed by the Consumers ’Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs (5) Method of packing to the transport agreement layer. Please refer to 7 _, which shows how to receive data packets from NK: Gang, and the processing is transmitted to the transport protocol layer 100. Please refer to Figure i and Figure 7 at the same time. The receiving part 230 of the transmission component 200 will process Receive the packet from NIC 300 and check its priority. Baixian, the driver in the receiving section 230 receives the packet from NIC 300. This driver will consider whether the resource is sufficient. If the resource is sufficient, the driver will By verifying the presence of a vlan tag in the first 16 bytes of the packet, the priority value of the packet is checked. VLAN #zang actually exists: in the range of 12th to 15th byte of each packet. If there is a VLAN tag in this packet, the driver will shift the first 12 bytes (including the destination address and the source address) to the right by 4 bytes and cover the address in the signed area. Finally, the function provided by NDIS (NDIS_PER_PACKET_INFO_FROM_PACKET) is used again to specify or report the priority value of N DIS entering the packet. In the following description, the present invention will describe a technique for removing a VLAN tag with a specified priority. Please refer to Figure 8. When the driver recognizes that a VLAN tag exists in the original first buffer, the driver will shift the first 12 bytes to the right and cover the VLAN tag area. The displacement value is 4 bits. Tuple. The driver then allocates the second tag descriptor (TDES2) to the subsequent first buffer (the first buffer that has been changed). Therefore, an uploaded packet is completed. The driver of the present invention uses the NDIS-PER-PACKE-Ding-INFO-PACKET function (13 paper sizes of NDIS apply Chinese National Standard (CNS) A4 specification (210 X 297 mm) ------- ----- ^ · III l · I 1 I ^ ---------. (Please read the note on the back? Matters before filling out this page) 540207 V. Description of the invention () (1) Record in the structure of the superior packet. After driving the wife to notify NDIS about the superior value processing of the uploaded packet ... w, Ka Lai, we can use this technique to remove the VLAN tag. In summary, the present invention provides a transmission component for processing priority packets and virtual area network tags supported by a single-chip buffer structure. The transmission component of the present invention transmits high-priority packets over low-priority packets to meet actual priority requirements. In addition, packets are continuously transmitted to maintain high rounding efficiency. Moreover, the transmission member of the present invention is compatible with various different wafer structures, so the transmission member of the present invention can be applied to different wafer structures without the need to change hardware. As understood by those familiar with this technology, the above description is only the preferred embodiment of the present invention, and is not intended to limit the scope of the patent application of the present invention; all others are completed without departing from the spirit disclosed by the present invention Equivalent drum changes or modifications should be included in the scope of patent applications described below. Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs

ΜΜ

Claims (1)

540207 六、申請專利範圍 申請專利範圍: 1 *種處理由單晶片緩衝έ士姐+ V ,5 ^ 衡、、、Q構支後之優先性封包蛊泠艇 域網路標籤的傳輸構件 一虛擬區 適用於輸送協定層與網路介面士 疋件層之間,該傳輪構件包括: 路面卡 :傳送部# ’從該輸送協定層傳送至 封包到該網路介面卡元件層,其包括: ㈣貝抖 優先!·生檢查器,接收來自該輸送協定 一個該網路資料封魚,* ^ • ^ 並且檢查該網路資料封包之一優先 值, 南k先序列,允許來自該優先性檢查器中具有 高優先值之該網路資料封包通過; 一 σ八 低優先序列’允許來自該優先性檢查器中且有 低優先值之該網路資料封包通過; 一 β八 一優先性控制器,控制通過高優先值與低優先值 之該網路資料封包的比例; 才不鐵插入結構,在具有高優先值之該網路資料 封包中插入一標籤;以及 (請先閱讀背面之注意事項再頁) Ί裝. :^!^本 訂 經濟部智慧財產局員工消費合作社印製 該網層 之個件 構 一 元 結 少 卡 入至面 插;送 介 籤層傳 路 標件層 網 該元件:該 自卡 元括自 來面卡包來 收介面其收 接路介,接 , 網路層, 列該網定列 序到該協序 送送從送收 傳傳,輸接 動且件該動 主包部到主 一 封收包 | 料接封 資 一 料 路 資 網 路 本紙張尺度適用中國國家標準(CNS ) Α4規格(210Χ297公釐) 5 07 02 4 六 A8 B8 C8540207 VI. Scope of patent application Scope of patent application: 1 * A kind of processing is carried out by a single chip buffering + +, 5, ^ Q, Q, Q priority support package, a transmission component of the virtual network tag-a virtual The zone is applicable between the transport protocol layer and the network interface software layer. The transfer wheel components include: Pavement card: transmission section # 'Transfer from the transport protocol layer to the packet to the network interface card component layer, which includes: ㈣ Bayer priority! · Health checker, receives a packet of the network data from the transport protocol, * ^ • ^ and checks one of the network data packet's priority values, the first sequence is allowed, from the priority check The network data packet with a high priority value in the router passes; a σ eight low priority sequence 'allows the network data packet from the priority checker and a low priority value to pass; a β-eight priority controller , To control the proportion of the network data packets that pass the high priority value to the low priority value; only to insert a tag into the network data packet with the high priority value without iron insertion structure; and (please read the back first (Notes on the next page) Outfitting.: ^! ^ This order printed by the Intellectual Property Bureau of the Ministry of Economic Affairs, the employee consumer cooperative printed a single piece of the network layer and stuck it into the face plug; Components: The self-card element includes a tap card package to receive the interface, and the receiving interface, the network layer, and the network sequence are listed to the co-sequence. The transmission is from transmission to transmission, input and transmission. This move the main contract department to the main one to receive the package | Material is to be sealed and the material is to be used. The paper size is applicable to the Chinese National Standard (CNS) A4 specification (210 × 297 mm) 5 07 02 4 six A8 B8 C8 之該網路資料封包;以及 籤移除結構’ ^該主動接收序列接收該網路 資料封包,且移除具有高優先值 籤。 之該網路資料封包之一標 2·如申月專利乾圍帛"員之傳輸構件,其中該高優先 為 4 1 7 0 值約 3·如中請專利範圍帛丨項之傳輸構件,其中 為〇至3。 、 該低優先值約 經濟部智慧財產局員工消費合作社印製 =申請專利範圍第!項之傳輸構件,其中在該優先性 制器中傳送具为而優先值與低優先值之該網路資料封 的速率為N : 1。 5. 如申請專利範圍帛4項之傳輸構件,其中n值可為任 整數。 6. 如申請專利範圍第1項之傳輪構件,其中當具有高優 值與低優先值之該網路資料封包不夠時,藉由固定傳送 個封包,在該優先性控制器中具有高優先值與低優先值 該網路資料封包的傳送比例可修正為M:〇,n M-3:3,……,1 :M-1 或 0:M。 16 本紙張尺度適用中國國家標準(CNS ) A4規格(21〇 X 297公釐)The network data packet; and the signature removal structure '^ The active receiving sequence receives the network data packet and removes the signature with a high priority. One of the network data packets is labeled as the transmission component of the "Shenyue Patent Confinement" member, where the high priority is 4 1 7 0 with a value of about 3. If you request the transmission component of the scope of the patent, Among them, 0 to 3. The low priority value is printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs. The transmission component of the item, wherein the rate of transmitting the network data packet in the priority controller with the priority value and the low priority value is N: 1. 5. For the transmission component of the scope of application for item 4, the value of n can be any integer. 6. For example, the transmission component of the first scope of the patent application, wherein when the network data packets with high value and low priority are not enough, by sending a fixed packet, it has high priority in the priority controller. Value and low priority value The transmission ratio of the network data packet can be modified to M: 〇, n M-3: 3, ..., 1: M-1 or 0: M. 16 This paper size applies to China National Standard (CNS) A4 (21 × 297 mm) 540207 A8 B8 C8540207 A8 B8 C8 :如申請專利範圍“項之傳輪構件,其中M可為任何整 (請先閱讀背面之注意事項再^^本頁) 8·—種從輸送協定層傳送網路資料封包到網 "面卡元件 層的方法,包括下列步驟: 從該輸送協定層接收一個封包; 接收該封包之一優先值,並且依照該封包之優先值將 該封包分配至一高優先序列或一低優先序列; : 在具有咼優先值之該封包中插入一標籤;以及 具有兩優先值與低優先值之該封包以N: 1之仏&丨你」 、把例傅送 到該網路介面卡元件層。 訂 經濟部智慧財產局員工消費合作社印製 9·如申請專利範圍第8項之方法,其中當驅動程式傳輸一 南優先值的封包,該高優先值的封包之第一緩衝區將分為 兩部分,並且藉由重新分配各緩衝區的實際位址給dma描 述器,使DMA描述&能依序指向:第一緩衝區的第一部 份、VLAN標籤、第一缓衝區的第二部分、以及其他緩衝 區的高優先值封包,因此可避免一冗長的記憶體複製。 10.如申請專利範圍第9項之方法,其中該VLAN標籤及 其位置不限制該DMA描述器之位置,該VLAN標籤及其位 置可在任何位置被宣告。 17 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) 540207 A8 B8 C8 ____ D8六、申請專利範圍 1 1 ·如申請專利範圍第8項之方法,其中高優先值約為4至 12.如申請專利範圍第8項之方法,其中低優先值約為〇至 經濟部智慧財產局員工消費合作社印製 13.如申請專利範圍第8項之方法,其中高優先值與低優先 值網路資料封包的傳送比例可為能夠獲得良好效能之任何 值。 14·如申請專利範圍第8項之方法,其中當具有高優先值與 低優先值之網路資料封包不夠以比例N : 1傳送時,將固定 傳送Μ個封包,因此在該優先性控制器中具有高優先值與 低優先值之該網路資料封包的傳送比例可修正為Μ:〇,Μ· 1:1,Μ-2:2, Μ-3:3,.......1:Μ-1 或 〇··Μ。 15·如申請專利範圍第μ項之方法,其中Μ為能夠獲得良 好效能之任何整數值。 1 6. —種從網路介面卡元件層接收網路資料封包到輸送協 定層的方法,包括下列步驟: 從一網路介面卡元件層接收一封包; 18 本紙張尺度適用中國國家標準(CNS ) Α4規格(210X297公釐) (請先閱讀背面之注意事項再本頁) —裝 、一-5 線 540207 A8 B8 C8 D8 六、申請專利範圍 從具有高優先值之封包移除一標籤;以及 傳送該封包到該輸送協定層,並且指定該封包之優先 值至輸送協定層。 17·如申請專利範圍第16項之方法,其中當一驅動程式辨 別出由一網路線傳入之封包的第一緩衝區中存在有一 VLAN標籤時,則該驅動程式會將前1 2位元組向右移4個 位元組長度並覆蓋該VLAN標籤區域位置。 (請先閱讀背面之注意事項再本頁) -裝· 、tT 線 經濟部智慧財產局員工消費合作社印製 本紙張尺度適用中國國家橾準(CNS ) A4規格(210X297公釐): If the scope of the patent application is "the transmission wheel component of the item, where M can be any integer (please read the precautions on the back before ^^ this page) 8 · —A kind of network packet transmission from the transport protocol layer to the network " The method of the card element layer includes the following steps: receiving a packet from the transport protocol layer; receiving a priority value of the packet, and assigning the packet to a high priority sequence or a low priority sequence according to the priority value of the packet; A label is inserted into the packet having a priority value; and the packet having two priority values and a low priority value is sent to the network interface card component layer with N: 1 & you. Ordered by the Consumer Property Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs.9. If the method of applying for the scope of patent No. 8 is used, when the driver transmits a packet with a priority value of South, the first buffer of the packet with high priority value will be divided into two. Part, and by reallocating the actual address of each buffer to the dma descriptor, the DMA description & can be sequentially pointed to: the first part of the first buffer, the VLAN tag, the second of the first buffer High priority packets for some and other buffers, thus avoiding a lengthy memory copy. 10. The method according to item 9 of the patent application scope, wherein the VLAN tag and its position do not limit the position of the DMA descriptor, and the VLAN tag and its position can be announced at any position. 17 This paper size applies the Chinese National Standard (CNS) A4 specification (210X297 mm) 540207 A8 B8 C8 ____ D8 VI. Application scope of patent 1 1 · If the method of item 8 of the scope of patent application, the high priority value is about 4 to 12. If the method of applying for the scope of the patent, the low priority value is about 0 to about 0 printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs. 13. If the method of applying for the scope of the patent, the high priority value and the low priority value. The transmission ratio of network data packets can be any value that can achieve good performance. 14. The method according to item 8 of the scope of patent application, wherein when the network data packets with high priority and low priority are not enough to be transmitted with the ratio N: 1, M packets will be fixedly transmitted. Therefore, in the priority controller, The transmission ratio of the network data packets with high priority and low priority can be modified as M: 0, M · 1: 1, M-2: 2, M-3: 3, ... 1: M-1 or 〇 · Μ. 15. A method as claimed in claim μ, wherein M is any integer value capable of obtaining good performance. 1 6. —A method for receiving network data packets from the network interface card component layer to the transport protocol layer, including the following steps: receiving a packet from a network interface card component layer; 18 This paper standard applies the Chinese National Standard (CNS ) Α4 size (210X297 mm) (please read the precautions on the back first, then this page) —Packing, 1-5 line 540207 A8 B8 C8 D8 6. Patent application scope Remove a label from a packet with high priority; and Send the packet to the transport protocol layer, and specify the priority value of the packet to the transport protocol layer. 17. If the method of claim 16 is applied, when a driver recognizes that there is a VLAN tag in the first buffer of a packet transmitted by a network line, the driver will send the first 12 bits The group is shifted to the right by 4 bytes and covers the position of the VLAN tag area. (Please read the precautions on the back first, and then this page)-Installed · Printed on tT line Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs This paper size applies to China National Standard (CNS) A4 (210X297 mm)
TW90101967A 2001-01-31 2001-01-31 Transmission member handling priority packets supported by single chip buffer structure and virtual area network label TW540207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW90101967A TW540207B (en) 2001-01-31 2001-01-31 Transmission member handling priority packets supported by single chip buffer structure and virtual area network label

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW90101967A TW540207B (en) 2001-01-31 2001-01-31 Transmission member handling priority packets supported by single chip buffer structure and virtual area network label

Publications (1)

Publication Number Publication Date
TW540207B true TW540207B (en) 2003-07-01

Family

ID=29580315

Family Applications (1)

Application Number Title Priority Date Filing Date
TW90101967A TW540207B (en) 2001-01-31 2001-01-31 Transmission member handling priority packets supported by single chip buffer structure and virtual area network label

Country Status (1)

Country Link
TW (1) TW540207B (en)

Similar Documents

Publication Publication Date Title
US7609718B2 (en) Packet data service over hyper transport link(s)
US7136355B2 (en) Transmission components for processing VLAN tag and priority packets supported by using single chip's buffer structure
JP4150336B2 (en) Configuration to create multiple virtual queue pairs from compressed queue pairs based on shared attributes
CN101340574B (en) Method and system realizing zero-copy transmission of stream media data
US6757746B2 (en) Obtaining a destination address so that a network interface device can write network data without headers directly into host memory
US5983274A (en) Creation and use of control information associated with packetized network data by protocol drivers and device drivers
KR101219910B1 (en) Unified multi-transport medium connector architecture
EP2312807B1 (en) Method and system for enabling zero-copy transmission of streaming media data
US7403525B2 (en) Efficient routing of packet data in a scalable processing resource
US7499457B1 (en) Method and apparatus for enforcing packet destination specific priority using threads
US7499463B1 (en) Method and apparatus for enforcing bandwidth utilization of a virtual serialization queue
JP2004297773A (en) Data communication method and data communication apparatus
US8539112B2 (en) TCP/IP offload device
US7596148B2 (en) Receiving data from virtual channels
TW200826594A (en) Network interface techniques
WO2003029998A1 (en) Bus system and bus interface for connection to a bus
WO2006073541A1 (en) Distributed graphics processing apparatus and method
US20040024833A1 (en) Key reuse for RDMA virtual address space
TW540207B (en) Transmission member handling priority packets supported by single chip buffer structure and virtual area network label
US6826634B2 (en) Extended message block for network device drivers
JP2000235536A (en) Data communication system and device
US7672299B2 (en) Network interface card virtualization based on hardware resources and software rings
TWI235921B (en) System and method for effectively performing physical direct memory access operations
US20090182927A1 (en) Direct Memory Move of Multiple Buffers Between Logical Partitions
US6735649B2 (en) Multiple buffers for removing unwanted header information from received data packets

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees