내가 사용하는 리눅스 서버의 네트웍 카드의 종류를 알고 싶고, zero copy를 지원하는지 확인하는 법

ethtool을 이용
]# ethtool  -i eth0
driver: bnx2
version: 1.9.3
firmware-version: 3.5.12 ipms 1.6.0
bus-info: 0000:03:00.0

# ethtool  -i eth1
driver: bnx2
version: 1.9.3
firmware-version: 3.5.12 ipms 1.6.0
bus-info: 0000:07:00.0


dirver 명이 bnx2 이다.
구글링 검색해서 내용을 찾는다.



http://www.broadcom.com/support/ethernet_nic/faq_drivers.php

 What are the Linux tg3, bnx2, bnx2x and b44 drivers?
To better support users, Broadcom has been actively supporting, maintaining, and testing the in-kernel Linux drivers for the NetXtreme, NetXtreme II, NetLink and 4401 product lines. The following is list of drivers supported for each product line:

NetXtreme and NetLink - tg3
NetXtreme II - bnx2 1G
NetXtreme II - bnx2x 10G
4401 - b44

Broadcom officially releases the Linux drivers as packages. The Linux driver packages released by Broadcom are based on the latest in-kernel drivers with some added compatibility code to make it backwards compatible with most 2.6 kernels and some 2.4 kernels (generally newer than 2.4.24). If you are using the latest upstream kernel from www.kernel.org, you generally do not need to download the Linux driver packages from Broadcom as the latest upstream kernel has the latest Linux driver patches.

For the NetXtreme and NetLink product lines, the tg3 driver is now the only Linux driver that Broadcom supports. Accordingly, Broadcom has discontinued support for the bcm5700 driver and no longer provides updates.




아하. broadcom의 NexXtrem II 였다.


여기서 프로그래밍 문서를 찾으면 zero copy 여부를 확인할 수 있다.

NetXtreme II Programmer's Reference Guide
http://www.broadcom.com/collateral/pg/NetXtremeII-PG203-R.pdf


Single-chip solution for LOM and NIC applications
- Integrated 10BASE-T/100BASE-TX/1000BASE-T transceivers
- 10/100/1000 triple-speed MAC
- Host interfaces
PCI v2.3—32 bit/64 bit, 33 MHz/66 MHz
PCI-X v1.0—64 bit, 66 MHz/100 MHz/133 MHz
- TCP offload engine
- Full fast path TCP offload
- Zero Copy-capable hardware




 


Posted by 김용환 '김용환'