ethdev: support flow elements with variable length