On Tue, Apr 02, 2019 at 09:34:36AM +0100, Konstantin Ananyev wrote: > Operations to set/update bit-fields often cause compilers > to generate suboptimal code. > To help avoid such situation for tx_offload fields: > introduce new enum for tx_offload bit-fields lengths and offsets, > and new function to generate raw tx_offload value. > Add new test-case into UT for introduced function. > > Signed-off-by: Konstantin Ananyev <[email protected]> > Acked-by: Akhil Goyal <[email protected]>
Acked-by: Olivier Matz <[email protected]> Thanks

