Chelsio Communications Chelsio T5 Guia do Utilizador Página 245

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 244
Chapter XVIII. Classification and Filtering
Chelsio T5/T4 Unified Wire For Linux Page 245
ii. Setup ARP entry to reach 102.1.1.1
[root@host]# arp -s 102.1.1.1 00:07:43:04:7D:50
Follow these steps on machine with T5 adapter
i. Update filtermode value with below combination in /lib/firmware/cxgb4/t5-config.txt to enable
matching based on macidx
filterMode = fragmentation, macmatch, mpshittype, protocol, tos, port, fcoe
ii. Unload and re-load the cxgb4 driver.
iii. Enable promiscuous mode on both the interfaces on T5 adapter machine:
[root@host]# ifconfig eth0 up promisc
[root@host]# ifconfig eth1 up promisc
iv. Build and install latest iproute2 package
v. Add fdb entry corresponding to Node-2 on T5's eth0 interface:
[root@host]# bridge fdb add 00:07:43:12:D4:88 dev eth0 self
vi. Add fdb entry corresponding to Node-1 on T5's eth1 interface:
[root@host]# bridge fdb add 00:07:43:04:7D:50 dev eth1 self
vii. Both MAC entries should show up in MPS table. Run the following command to view the
table and note the index (idx field) of the entries:
[root@host]# cat /sys/kernel/debug/cxgb4/0000\:01\:00.4/mps_tcam | more
viii. Create a filter to match incoming packet's dst-mac 00:07:43:12:d4:88 with particular mac-idx
and switch it out via eport 1:
[root@host]# cxgbtool eth0 filter 0 macidx 5 action switch eport 1 hitcnts 1
Vista de página 244
1 2 ... 240 241 242 243 244 245 246 247 248 249 250 ... 459 460

Comentários a estes Manuais

Sem comentários