event/cnxk: add option to configure getwork mode