Skip to content

Commit

Permalink
[Mellanox]Enable forwarding of packets with link local SIP/DIP on spe…
Browse files Browse the repository at this point in the history
…cific platforms (#18487)

- Why I did it
Enable forwarding of packets with link local SIP/DIP on specific platforms and SKUs.

- How I did it
Setting SAI key value pair SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1

- How to verify it
Manual test to verify that packets with link local SIP/DIP are not dropped
  • Loading branch information
dgsudharsan committed Apr 16, 2024
1 parent e0f8753 commit 4f99713
Show file tree
Hide file tree
Showing 18 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700_8x50g_28x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700_8x100g_40x50g_8x10g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700_44x50g_10x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700_48x50g_8x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_2x10g_100x50g_12x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_112x50g_8x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_24x50g_52x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_1x10g_28x50g_49x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_28x50g_52x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600C.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600c_100x50g_12x100g_2x10g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600c_112x50g_8x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600c_48x50g_40x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700_8x400g_48x100g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_INDEPENDENT_MODULE_MODE=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700_8x400g_48x200g.xml
SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD=1
SAI_INDEPENDENT_MODULE_MODE=1
SAI_NOT_DROP_SIP_DIP_LINK_LOCAL=1

0 comments on commit 4f99713

Please sign in to comment.