Skip to content

Commit

Permalink
fix supported features
Browse files Browse the repository at this point in the history
Summary:
as titled

PORT_MTU_ERROR_TRAP is not supported for CHENAB
SAI_USER_DEFINED_TRAP is supported for CHENAB

Reviewed By: shri-khare

Differential Revision:
D66853272

Privacy Context Container: L1125642

fbshipit-source-id: fcde19855c0169b419018b3ff94d336921c6f613
  • Loading branch information
Parvez Shaikh authored and facebook-github-bot committed Dec 6, 2024
1 parent 5cbc9cf commit 2f3495b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fboss/agent/hw/switch_asics/ChenabAsic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ bool ChenabAsic::isSupportedNonFabric(Feature feature) const {
case HwAsic::Feature::RESOURCE_USAGE_STATS:
case HwAsic::Feature::SAI_TTL0_PACKET_FORWARD_ENABLE:
case HwAsic::Feature::L3_INTF_MTU:
case HwAsic::Feature::PORT_MTU_ERROR_TRAP:
case HwAsic::Feature::EGRESS_ACL_TABLE:
case HwAsic::Feature::SAI_USER_DEFINED_TRAP:
return true;
case HwAsic::Feature::PORT_MTU_ERROR_TRAP:
case HwAsic::Feature::EVENTOR_PORT_FOR_SFLOW:
case HwAsic::Feature::SAI_ECMP_HASH_ALGORITHM:
case HwAsic::Feature::SWITCH_REACHABILITY_CHANGE_NOTIFY:
Expand Down Expand Up @@ -171,7 +172,6 @@ bool ChenabAsic::isSupportedNonFabric(Feature feature) const {
case HwAsic::Feature::FLOWLET_PORT_ATTRIBUTES:
case HwAsic::Feature::P4_WARMBOOT:
case HwAsic::Feature::SAI_EAPOL_TRAP:
case HwAsic::Feature::SAI_USER_DEFINED_TRAP:
case HwAsic::Feature::CREDIT_WATCHDOG:
case HwAsic::Feature::ECMP_DLB_OFFSET:
case HwAsic::Feature::SAI_FEC_CORRECTED_BITS:
Expand Down

0 comments on commit 2f3495b

Please sign in to comment.