- pmd_total_num_mbufs = '--total-num-mbufs={} '.format(
- args['pmd_num_mbufs']) if args.get('pmd_num_mbufs', '') else ''
- # Set the max packet length.
- pmd_max_pkt_len = "--max-pkt-len={0}".format(args["pmd_max_pkt_len"]) \
- if args.get("pmd_max_pkt_len", "") else ""
- # Set the hexadecimal bitmask of the ports for forwarding.
- pmd_portmask = '--portmask={} '.format(args['pmd_portmask'])\
- if args.get('pmd_portmask', '') else ''