이 페이지의 이전 버전을 보고 있습니다. 현재 버전 보기.

현재와 비교 페이지 이력 보기

버전 1 현재 »

인텔 NIC 의 SR-IOV 활성화

Dell PowerEdge 의 PCIe 슬롯에 별도 장착한 NIC의 SR-IOV 활성화

Dell 바이오스에서 SR-IOV를 설정하면, 개별 장비는 별도 작업 없이 SR-IOV 가 설정됨



장치 확인

ifconfig -a | grep -i UP
lspci -v | grep -i  intel | grep -i eth
lspci -v | grep -i  intel -A 30 | grep -i eth -A 30
cat /sys/class/net/enp65s0f0/device/sriov_totalvfs

LINE 26 에서 SR-IOV 기능이 활성화 된 것을 확인할 수 있다.

LINE 28~29 에서 인텔 NIC의 커널 드라이버 모듈이 bnxt_en 임을 확인할 수 있다.

LINE 30-31 에서 VF (Virtual Function) 개수를 확인할 수 있다.

# ifconfig -a | grep -i UP
...
enp65s0f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 9000
enp65s0f1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
...

# lspci -v | grep -i  intel | grep -i eth
41:00.0 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01)
41:00.1 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01)

# lspci -v | grep -i  intel -A 30 | grep -i eth -A 30
41:00.0 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01)
	Subsystem: Intel Corporation Ethernet 10G 2P X540-t Adapter
	Flags: bus master, fast devsel, latency 0, IRQ 148, NUMA node 1, IOMMU group 53
	Memory at cc000000 (64-bit, prefetchable) [size=2M]
	Memory at cc5f8000 (64-bit, prefetchable) [size=16K]
	Expansion ROM at d0000000 [disabled] [size=512K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
	Capabilities: [70] MSI-X: Enable+ Count=64 Masked-
	Capabilities: [a0] Express Endpoint, MSI 00
	Capabilities: [e0] Vital Product Data
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Device Serial Number a0-36-9f-ff-ff-a8-a9-98
	Capabilities: [150] Alternative Routing-ID Interpretation (ARI)
	Capabilities: [160] Single Root I/O Virtualization (SR-IOV)
	Capabilities: [1d0] Access Control Services
	Kernel driver in use: ixgbe
	Kernel modules: ixgbe
...

# cat /sys/class/net/enp65s0f0/device/sriov_totalvfs
63
  • 레이블 없음