# Set the number of queues in the RX to N.
options.add_equals_from_dict('rxq', 'pmd_rxq', kwargs, 1)
# Set the hexadecimal bitmask of offloads.
- options.add_equals_if_from_dict(
- 'txqflags', '0xf00', 'pmd_tx_offloads', kwargs, True)
+ options.add_equals_from_dict('tx-offloads', 'pmd_tx_offloads', kwargs)
# Set the number of mbufs to be allocated in the mbuf pools.
options.add_equals_from_dict('total-num-mbufs', 'pmd_num_mbufs', kwargs)
# Disable hardware VLAN.
options.add_if_from_dict(
'disable-hw-vlan', 'pmd_disable_hw_vlan', kwargs, True)
# Set the MAC address XX:XX:XX:XX:XX:XX of the peer port N
- options.add_equals_from_dict('eth-peer', 'pmd_eth-peer_0', kwargs)
- options.add_equals_from_dict('eth-peer', 'pmd_eth-peer_1', kwargs)
+ options.add_equals_from_dict('eth-peer', 'pmd_eth_peer_0', kwargs)
+ options.add_equals_from_dict('eth-peer', 'pmd_eth_peer_1', kwargs)
# Set the max packet length.
options.add_equals_from_dict('max-pkt-len', 'pmd_max_pkt_len', kwargs)
# Set the number of forwarding cores based on coremask.