[ovs-dev] [PATCH V6 1/2] Makefiles: Generate datapath ovs key fields macros

Roi Dayan roid at mellanox.com
Tue Mar 19 06:55:10 UTC 2019



On 18/03/2019 23:58, Ben Pfaff wrote:
> On Sun, Mar 10, 2019 at 05:31:31AM +0000, Eli Britstein wrote:
>> Generate datapath ovs key fields offset and size array macros as a
>> pre-step for bit-wise comparing fields, with no functional change.
>>
>> Signed-off-by: Eli Britstein <elibr at mellanox.com>
>> Reviewed-by: Roi Dayan <roid at mellanox.com>
> 
> Thanks!
> 
> This introduces a script that uses /bin/bash.  I don't think that we
> have other build or runtime  dependencies on bash, so it would be better
> to avoid introducing one here.  I would rewrite it in terms of portable
> Bourne shell constructs.
> 

Hi Ben,

just to clarify, when you see portable Bourne shell constructs,
you mean so it can work with other shells like dash on ubuntu?

There are other scripts depending on bash.
examples are tests in tests/system-traffic.at, the bash auto completion scripts, ovs-sim.
do you still prefer us to be compatible and use /bin/sh shebang ?

Thanks,
Roi


More information about the dev mailing list