[PATCH 4/9] common/sfc_efx/base: define mask for pause mode capabilities
Ivan Malov
ivan.malov at arknetworks.am
Mon Dec 29 22:35:22 CET 2025
Client drivers (DPDK) will leverage it to manipulate flow control settings.
Signed-off-by: Ivan Malov <ivan.malov at arknetworks.am>
Reviewed-by: Andy Moreton <andy.moreton at amd.com>
---
drivers/common/sfc_efx/base/efx.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/common/sfc_efx/base/efx.h b/drivers/common/sfc_efx/base/efx.h
index 8958f1b170..2aa52b401d 100644
--- a/drivers/common/sfc_efx/base/efx.h
+++ b/drivers/common/sfc_efx/base/efx.h
@@ -1242,6 +1242,7 @@ typedef enum efx_phy_cap_type_e {
EFX_PHY_CAP_NTYPES
} efx_phy_cap_type_t;
+#define EFX_PHY_CAP_PAUSE_MASK (EFX_PHY_CAP_PAUSE | EFX_PHY_CAP_ASYM)
#define EFX_PHY_CAP_CURRENT 0x00000000
#define EFX_PHY_CAP_DEFAULT 0x00000001
--
2.47.3
More information about the dev
mailing list