Skip to content

Commit

Permalink
[Nokia][Platform] Update the BCM config file to disable Dos attack wh…
Browse files Browse the repository at this point in the history
…en the MAC_SA=MAC_DA (#18446)

The SAI code was modified to trap and drop the packets if the MAC_SA==MAC_DA and soc variable sai_disable_srcmacqedstmac_ctrl=1 needs to be set in bcm config. There was a PR #13346 which added updated bcm config in 202205, but never merged to master.

Signed-off-by: saksarav <[email protected]>
  • Loading branch information
saksarav-nokia authored Mar 27, 2024
1 parent 7e1a09f commit d5e2f64
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2094,4 +2094,5 @@ cmic_dma_abort_in_cold_boot=0
sai_pfc_dlr_init_capability=0
trunk_group_max_members=16
sai_default_cpu_tx_tc=7
sai_postinit_cmd_file=/usr/share/sonic/hwsku/sai_postinit_cmd.soc
sai_postinit_cmd_file=/usr/share/sonic/hwsku/sai_postinit_cmd.soc
sai_disable_srcmacqedstmac_ctrl=1
Original file line number Diff line number Diff line change
Expand Up @@ -2095,4 +2095,5 @@ cmic_dma_abort_in_cold_boot=0
sai_pfc_dlr_init_capability=0
trunk_group_max_members=16
sai_default_cpu_tx_tc=7
sai_postinit_cmd_file=/usr/share/sonic/hwsku/sai_postinit_cmd.soc
sai_postinit_cmd_file=/usr/share/sonic/hwsku/sai_postinit_cmd.soc
sai_disable_srcmacqedstmac_ctrl=1
Original file line number Diff line number Diff line change
Expand Up @@ -2096,3 +2096,4 @@ cmic_dma_abort_in_cold_boot=0
sai_pfc_dlr_init_capability=0
trunk_group_max_members=16
sai_default_cpu_tx_tc=7
sai_disable_srcmacqedstmac_ctrl=1
Original file line number Diff line number Diff line change
Expand Up @@ -2098,3 +2098,4 @@ cmic_dma_abort_in_cold_boot=0
sai_pfc_dlr_init_capability=0
trunk_group_max_members=16
sai_default_cpu_tx_tc=7
sai_disable_srcmacqedstmac_ctrl=1

0 comments on commit d5e2f64

Please sign in to comment.