279 uint32_t pn, uint8_t *key);
301 uint32_t pn, uint8_t *key);
621 RTE_PMD_IXGBE_BYPASS_MODE_NONE,
622 RTE_PMD_IXGBE_BYPASS_MODE_NORMAL,
623 RTE_PMD_IXGBE_BYPASS_MODE_BYPASS,
624 RTE_PMD_IXGBE_BYPASS_MODE_ISOLATE,
625 RTE_PMD_IXGBE_BYPASS_MODE_NUM,
628 #define RTE_PMD_IXGBE_BYPASS_MODE_VALID(x) \
629 ((x) > RTE_PMD_IXGBE_BYPASS_MODE_NONE && \
630 (x) < RTE_PMD_IXGBE_BYPASS_MODE_NUM)
633 RTE_PMD_IXGBE_BYPASS_EVENT_NONE,
634 RTE_PMD_IXGBE_BYPASS_EVENT_START,
635 RTE_PMD_IXGBE_BYPASS_EVENT_OS_ON = RTE_PMD_IXGBE_BYPASS_EVENT_START,
636 RTE_PMD_IXGBE_BYPASS_EVENT_POWER_ON,
637 RTE_PMD_IXGBE_BYPASS_EVENT_OS_OFF,
638 RTE_PMD_IXGBE_BYPASS_EVENT_POWER_OFF,
639 RTE_PMD_IXGBE_BYPASS_EVENT_TIMEOUT,
640 RTE_PMD_IXGBE_BYPASS_EVENT_NUM
643 #define RTE_PMD_IXGBE_BYPASS_EVENT_VALID(x) \
644 ((x) > RTE_PMD_IXGBE_BYPASS_EVENT_NONE && \
645 (x) < RTE_PMD_IXGBE_BYPASS_MODE_NUM)
648 RTE_PMD_IXGBE_BYPASS_TMT_OFF,
649 RTE_PMD_IXGBE_BYPASS_TMT_1_5_SEC,
650 RTE_PMD_IXGBE_BYPASS_TMT_2_SEC,
651 RTE_PMD_IXGBE_BYPASS_TMT_3_SEC,
652 RTE_PMD_IXGBE_BYPASS_TMT_4_SEC,
653 RTE_PMD_IXGBE_BYPASS_TMT_8_SEC,
654 RTE_PMD_IXGBE_BYPASS_TMT_16_SEC,
655 RTE_PMD_IXGBE_BYPASS_TMT_32_SEC,
656 RTE_PMD_IXGBE_BYPASS_TMT_NUM
659 #define RTE_PMD_IXGBE_BYPASS_TMT_VALID(x) \
660 ((x) == RTE_PMD_IXGBE_BYPASS_TMT_OFF || \
661 ((x) > RTE_PMD_IXGBE_BYPASS_TMT_OFF && \
662 (x) < RTE_PMD_IXGBE_BYPASS_TMT_NUM))