Add helper for enabling or disabling tx offloading