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

Function sfc_tbls_start

dpdk/drivers/net/sfc/sfc_tbls.c:60–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60int
61sfc_tbls_start(struct sfc_adapter *sa)
62{
63 struct sfc_tbls *tables = &sa->hw_tables;
64 int rc;
65
66 if (tables->status == SFC_TBLS_STATUS_UNKNOWN) {
67 rc = sfc_tbls_attach(sa);
68 return rc;
69 }
70
71 return 0;
72}
73
74static uint32_t
75sfc_tbls_field_update(uint32_t in, uint16_t lbn, uint16_t width, uint32_t value)

Callers 1

sfc_try_startFunction · 0.85

Calls 1

sfc_tbls_attachFunction · 0.85

Tested by

no test coverage detected