Quantcast
Channel: Network – Benjr.tw
Viewing all articles
Browse latest Browse all 56

Virtual Ethernet over NTB

$
0
0

感謝同事 Stan 提供的資訊.

關於 NTB 的介紹可以先看這一篇 http://benjr.tw/87842

NTB 可以透過模擬的方式當作一個 Ethernet 裝置?答案是可以的 https://github.com/jonmason/ntb/wiki/Linux-NTB-HOWTO

Virtual Ethernet over NTB 需要兩個模組,在 Linux Kernel 下

  • Notice that NTB is listed under
    “-> Device Drivers"
    as “< > Intel Non-Transparent Bridge support"
  • Notice that NTB virtual Ethernet is listed under
    “-> Device Drivers -> Network device support -> Network core driver support"
    as “< > Virtual Ethernet over NTB"

檢查一下 ntb , ntb_netdev 的模組是否有啟動

# lsmod | grep ntb
# lsmod | ntb_netdev

設定就如同一般網路裝置

# ifconfig ntb0 192.168.0.123

但問題來了這樣速度會支援到多少?

透過 #ethtool ntb0 ,可以看到目前 speed 是顯示為 PCI-E bus 速度 (NTB 是由 CPU PCI-E Bus 拉出來的線路,速度應該與 PCI-E bus 一樣)

至於 NTB 如何虛擬成 Network device 請參考 IDT_AN-571_APN_20080925.pdf


Viewing all articles
Browse latest Browse all 56

Latest Images

Trending Articles


Vimeo 10.7.0 by Vimeo.com, Inc.


Vimeo 11.6.0 by Vimeo.com, Inc.


Long Distance Relationship Tagalog Love Quotes


Love with Heart Breaking Quotes


RE: Mutton Pies (frankie241)


Hato lada ym dei namar ka jingpyrshah jong U JJM Nichols Roy (Bah Joy) ngin...


Vimeo 11.8.1 by Vimeo.com, Inc.


Doodle Jump 3.11.35 by Lima Sky LLC


UPDATE SC IDOL: TWO BECOME ONE


KASAMBAHAY BILL IN THE HOUSE


Vimeo Create - Video Maker & Editor 1.5.2 by Vimeo Inc


Presence Quotes – Positive Quotes


Letting Go Quotes


Re:Mutton Pies (lleechef)


FORECLOSURE OF REAL ESTATE MORTGAGE


Vimeo 10.7.1 by Vimeo.com, Inc.


Doodle Jump 3.11.34 by Lima Sky LLC


Ka longiing longsem kaba skhem bad kaba khlain ka pynlong kein ia ka...


FORTUITOUS EVENT


Pokemon para colorear



Latest Images