| 3048 | } |
| 3049 | |
| 3050 | static void |
| 3051 | sfc_register_dp(void) |
| 3052 | { |
| 3053 | /* Register once */ |
| 3054 | if (TAILQ_EMPTY(&sfc_dp_head)) { |
| 3055 | /* Prefer EF10 datapath */ |
| 3056 | sfc_dp_register(&sfc_dp_head, &sfc_ef100_rx.dp); |
| 3057 | sfc_dp_register(&sfc_dp_head, &sfc_ef10_essb_rx.dp); |
| 3058 | sfc_dp_register(&sfc_dp_head, &sfc_ef10_rx.dp); |
| 3059 | sfc_dp_register(&sfc_dp_head, &sfc_efx_rx.dp); |
| 3060 | |
| 3061 | sfc_dp_register(&sfc_dp_head, &sfc_ef100_tx.dp); |
| 3062 | sfc_dp_register(&sfc_dp_head, &sfc_ef10_tx.dp); |
| 3063 | sfc_dp_register(&sfc_dp_head, &sfc_efx_tx.dp); |
| 3064 | sfc_dp_register(&sfc_dp_head, &sfc_ef10_simple_tx.dp); |
| 3065 | } |
| 3066 | } |
| 3067 | |
| 3068 | static int |
| 3069 | sfc_parse_switch_mode(struct sfc_adapter *sa, bool has_representors) |
no test coverage detected