Skip to content

Commit eadf714

Browse files
authored
Update table names and couple of other typos (#30)
Signed-off-by: Sabeel Ansari <[email protected]>
1 parent d862a0a commit eadf714

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

docs/apps/lnw/es2k/es2k-linux-networking.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,18 @@ This topology breakdown and configuration assumes all VMs are spawned on HOST VF
3636

3737
To enable slow path mode:
3838

39-
- Start the infrap4d process with the Kernel Monitor disabled. Command: `infrap4d -disable-krnlmon`
39+
- Start the infrap4d process with the Kernel Monitor disabled. Command: `infrap4d -disable_krnlmon`
4040
- Set environment variable `OVS_P4_OFFLOAD=false` before starting the `ovs-vswitchd` process.
4141

4242
In this mode, VMs are spawned on top of VFs and associated with their port representors. Also, physical ports are associated with their port representors. Configure the following tables to map these in IPU:
4343

4444
```text
4545
- rx_source_port
46-
- tx_source_port_v4/tx_source_port_v6
46+
- rx_phy_port_to_pr_map
47+
- tx_source_port
4748
- tx_acc_vsi
4849
- vsi_to_vsi_loopback
4950
- source_port_to_pr_map
50-
- rx_phy_port_to_pr_map
5151
```
5252

5353
All port representors (PRs) in ACC should be associated with an OvS bridge. Configure table below to program the mapping between PRs and bridges in IPU:
@@ -154,11 +154,11 @@ Configure tables:
154154

155155
```text
156156
- rx_source_port
157-
- tx_source_port_v4/tx_source_port_v6
157+
- rx_phy_port_to_pr_map
158+
- tx_source_port
158159
- tx_acc_vsi
159160
- vsi_to_vsi_loopback
160161
- source_port_to_pr_map
161-
- rx_phy_port_to_pr_map
162162
- tx_lag_table ## This is a dummy LAG entry when we have underlay as Non LAG case.
163163
```
164164

docs/apps/lnw/es2k/es2k-lnw-overlay-ipv6.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ Example:
215215
```bash
216216
# Create a source port for an overlay VF (VSI-27). Source port action can be any value.
217217
# For simplicity add 16 to VSI ID.
218-
p4rt-ctl add-entry br0 linux_networking_control.tx_source_port_v6 \
218+
p4rt-ctl add-entry br0 linux_networking_control.tx_source_port \
219219
"vmeta.common.vsi=27,zero_padding=0,action=linux_networking_control.set_source_port(43)"
220220

221221
# Create a mapping between overlay VF (VSI-27/source port-43) and ACC port representor (VSI-9)
@@ -276,7 +276,7 @@ Example:
276276
```bash
277277
# Create a source port for an overlay VF (VSI-24). Source port action can be any value.
278278
# For simplicity add 16 to VSI ID.
279-
p4rt-ctl add-entry br0 linux_networking_control.tx_source_port_v6 \
279+
p4rt-ctl add-entry br0 linux_networking_control.tx_source_port \
280280
"vmeta.common.vsi=24,zero_padding=0,action=linux_networking_control.set_source_port(40)"
281281

282282
# Create a mapping between overlay VF (VSI-24/source port-40) and ACC port representor (VSI-18)

docs/apps/lnw/es2k/es2k-lnw-overlay-vms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ Example:
221221

222222
```bash
223223
# Create a source port for an overlay VF (VSI-27). Source port value should be VSI ID + 16.
224-
p4rt-ctl add-entry br0 linux_networking_control.tx_source_port_v4 \
224+
p4rt-ctl add-entry br0 linux_networking_control.tx_source_port \
225225
"vmeta.common.vsi=27/2047,priority=1,action=linux_networking_control.set_source_port(43)"
226226
```
227227

@@ -287,7 +287,7 @@ Example:
287287

288288
```bash
289289
# Create a source port for an APF netdev (VSI-24). Source port value should be VSI ID + 16.
290-
p4rt-ctl add-entry br0 linux_networking_control.tx_source_port_v4 \
290+
p4rt-ctl add-entry br0 linux_networking_control.tx_source_port \
291291
"vmeta.common.vsi=24/2047,priority=1,action=linux_networking_control.set_source_port(40)"
292292
```
293293

docs/apps/lnw/es2k/es2k-lnw-underlay-ecmp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ Example:
217217

218218
```bash
219219
# Create a source port for an overlay VF (VSI-27). Source port value should be VSI ID + 16.
220-
p4rt-ctl add-entry br0 linux_networking_control.tx_source_port_v4 \
220+
p4rt-ctl add-entry br0 linux_networking_control.tx_source_port \
221221
"vmeta.common.vsi=27/2047,priority=1,action=linux_networking_control.set_source_port(43)"
222222
```
223223

@@ -284,7 +284,7 @@ Example:
284284

285285
```bash
286286
# Create a source port for an APF netdev (VSI-24). Source port value should be VSI ID + 16.
287-
p4rt-ctl add-entry br0 linux_networking_control.tx_source_port_v4 \
287+
p4rt-ctl add-entry br0 linux_networking_control.tx_source_port \
288288
"vmeta.common.vsi=24/2047,priority=1,action=linux_networking_control.set_source_port(40)"
289289
```
290290

docs/apps/lnw/es2k/es2k-lnw-underlay-frr.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Example:
214214

215215
```bash
216216
# Create a source port for an overlay VF (VSI-27). Source port value should be VSI ID + 16.
217-
p4rt-ctl add-entry br0 linux_networking_control.tx_source_port_v4 \
217+
p4rt-ctl add-entry br0 linux_networking_control.tx_source_port \
218218
"vmeta.common.vsi=27/2047,priority=1,action=linux_networking_control.set_source_port(43)"
219219
```
220220

@@ -279,7 +279,7 @@ Example:
279279

280280
```bash
281281
# Create a source port for an APF netdev (VSI-24). Source port value should be VSI ID + 16.
282-
p4rt-ctl add-entry br0 linux_networking_control.tx_source_port_v4 \
282+
p4rt-ctl add-entry br0 linux_networking_control.tx_source_port \
283283
"vmeta.common.vsi=24/2047,priority=1,action=linux_networking_control.set_source_port(40)"
284284
```
285285

docs/apps/lnw/es2k/es2k-lnw-underlay-lag.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ Example:
219219

220220
```bash
221221
# Create a source port for an overlay VF (VSI-27). Source port value should be VSI ID + 16.
222-
p4rt-ctl add-entry br0 linux_networking_control.tx_source_port_v4 \
222+
p4rt-ctl add-entry br0 linux_networking_control.tx_source_port \
223223
"vmeta.common.vsi=27/2047,priority=1,action=linux_networking_control.set_source_port(43)"
224224
```
225225

@@ -284,7 +284,7 @@ Example:
284284

285285
```bash
286286
# Create a source port for an APF netdev (VSI-24). Source port value should be VSI ID + 16.
287-
p4rt-ctl add-entry br0 linux_networking_control.tx_source_port_v4 \
287+
p4rt-ctl add-entry br0 linux_networking_control.tx_source_port \
288288
"vmeta.common.vsi=24/2047,priority=1,action=linux_networking_control.set_source_port(40)"
289289
```
290290

0 commit comments

Comments
 (0)