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

Function mp_alloc_to_str

dpdk/app/test-pmd/config.c:5073–5090  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5071}
5072
5073static const char *
5074mp_alloc_to_str(uint8_t mode)
5075{
5076 switch (mode) {
5077 case MP_ALLOC_NATIVE:
5078 return "native";
5079 case MP_ALLOC_ANON:
5080 return "anon";
5081 case MP_ALLOC_XMEM:
5082 return "xmem";
5083 case MP_ALLOC_XMEM_HUGE:
5084 return "xmemhuge";
5085 case MP_ALLOC_XBUF:
5086 return "xbuf";
5087 default:
5088 return "invalid";
5089 }
5090}
5091
5092void
5093pkt_fwd_config_display(struct fwd_config *cfg)

Callers 1

pkt_fwd_config_displayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected