Re: [PATCH v4 3/6] net/sfc: fix non-constant expression in RTE_BUILD_BUG_ON()

2024-01-18 Thread Andrew Rybchenko
On 1/17/24 21:19, Stephen Hemminger wrote: The macro RTE_MIN has some hidden assignments to provide type safety which means the statement can not be fully evaluated in first pass of compiler. Replace RTE_MIN() with equivalent macro. Fixes: 4f93d790 ("net/sfc: support TSO for EF100 native dat

[PATCH v4 3/6] net/sfc: fix non-constant expression in RTE_BUILD_BUG_ON()

2024-01-17 Thread Stephen Hemminger
The macro RTE_MIN has some hidden assignments to provide type safety which means the statement can not be fully evaluated in first pass of compiler. Replace RTE_MIN() with equivalent macro. Fixes: 4f93d790 ("net/sfc: support TSO for EF100 native datapath") Cc: ivan.ma...@oktetlabs.ru Signed-of