| 5071 | } |
| 5072 | |
| 5073 | static const char * |
| 5074 | mp_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 | |
| 5092 | void |
| 5093 | pkt_fwd_config_display(struct fwd_config *cfg) |
no outgoing calls
no test coverage detected