Chelsio Communications Chelsio T5 Guia do Utilizador Página 87

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 86
Chapter V. WD-UDP
Chelsio T5/T4 Unified Wire For Linux Page 87
# e.g.
# endpoint {
# interface=eth2.5
# port = 8000 vlan = 5 priority=1
# }
# endpoint { interface=eth2 port=9999}
#
# endpoints that bind to port 0 (requesting the host allocate a port)
# can be accelerated with port=0:
#
# endpoint {interface=eth1 port=0}
#
Assume your T5/T4 interface is eth2. To accelerate all applications that preload libcxgb4_sock
using eth2, you only need one entry in /etc/libcxgb4_sock.conf:
endpoint {interface=eth2 port=0}
If you have eth2 and eth3 configured for example, you can define certain endpoints to eth2 and
others to eth3:
endpoint {interface=eth2 port=9999}
endpoint {interface=eth3 port=8888}
For VLAN support, create your VLANs using the normal OS service (like vconfig, for example),
then add entries to define the VLAN and priority for each endpoint to be accelerated:
endpoint {interface = eth2.5 port=10000}
endpoint {interface = eth2.7 priority=3 port=9000}
Now, preload libcxgb4_sock:
[root@host]# CXGB4_SOCK_CFG=<path to config file>
LD_PRELOAD=libcxgb4_sock.so <pathto>/your_application
In order to offload IPv6 UDP sockets, please select “low latency networking” as
T5/T4 configuration tuning option during installation.
Note
Vista de página 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 459 460

Comentários a estes Manuais

Sem comentários