Re: [PATCH net-next v5 2/8] net: pktgen: enable 'param=value' parsing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 13, 2025 at 12:00:19PM +0100, Peter Seiderer wrote:
> Enable more flexible parameters syntax, allowing 'param=value' in
> addition to the already supported 'param value' pattern (additional
> this gives the skipping '=' in count_trail_chars() a purpose).
> 
> Tested with:
> 
> 	$ echo "min_pkt_size 999" > /proc/net/pktgen/lo\@0
> 	$ echo "min_pkt_size=999" > /proc/net/pktgen/lo\@0
> 	$ echo "min_pkt_size =999" > /proc/net/pktgen/lo\@0
> 	$ echo "min_pkt_size= 999" > /proc/net/pktgen/lo\@0
> 	$ echo "min_pkt_size = 999" > /proc/net/pktgen/lo\@0
> 
> Signed-off-by: Peter Seiderer <ps.report@xxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux