Add some info here. In
this post, I said I have two DELL 13G servers interconnected(direct CAT-6 cable, no switch) with 10Gbps Intel X540-T2 . And sometime is strange.
The good side: Installing FreeNAS 9.3 (20150604) on physical server A, X540 works very well. The ESXi 6.0.0(B) acts as iSCSI client with 10Gbps speed.
The bad side: If I install ESXi 6 on server A and run the same FreeNAS version as a VM inside, PCI passthrough Intel X540 to the VM(a total of two passthrough devices, one for each ethernet port on X540), then, freenas VM recognize the two devices as ix0 and ix1, but the link status is "no carrier" and I cannot ping the other server.
Sigh, don't know how to cope with it. So my only choice now is to have FreeNAS VM use vmxnet3 virtual NIC. The vmxnet3 way exhibits only half IOPS with 64KB block(from iSCSI client's perspective), so its suboptimal.
# ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 00:0c:29:04:df:5a
inet 172.27.222.74 netmask 0xffff0000 broadcast 172.27.255.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vmx3f0: flags=8c02<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO>
ether 00:0c:29:04:df:64
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet 10Gbase-T
status: active
ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO>
ether a0:36:9f:75:1d:98
inet 10.172.27.74 netmask 0xffffff00 broadcast 10.172.27.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect
status: no carrier
ix1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO>
ether a0:36:9f:75:1d:9a
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect
status: no carrier
ipfw0: flags=8800<SIMPLEX,MULTICAST> metric 0 mtu 65536
nd6 options=9<PERFORMNUD,IFDISABLED>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>