MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sfc_fw_variant2str

Function sfc_fw_variant2str

dpdk/drivers/net/sfc/sfc.c:1187–1202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1185}
1186
1187static const char *
1188sfc_fw_variant2str(efx_fw_variant_t efv)
1189{
1190 switch (efv) {
1191 case EFX_RXDP_FULL_FEATURED_FW_ID:
1192 return SFC_KVARG_FW_VARIANT_FULL_FEATURED;
1193 case EFX_RXDP_LOW_LATENCY_FW_ID:
1194 return SFC_KVARG_FW_VARIANT_LOW_LATENCY;
1195 case EFX_RXDP_PACKED_STREAM_FW_ID:
1196 return SFC_KVARG_FW_VARIANT_PACKED_STREAM;
1197 case EFX_RXDP_DPDK_FW_ID:
1198 return SFC_KVARG_FW_VARIANT_DPDK;
1199 default:
1200 return "unknown";
1201 }
1202}
1203
1204static int
1205sfc_kvarg_rxd_wait_timeout_ns(struct sfc_adapter *sa)

Callers 1

sfc_nic_probeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected