On 6/2/2020 4:31 AM, Danielle Ratson wrote:
> Test port split configuration using previously added number of port lanes
> attribute.
> 
> Check that all the splittable ports are successfully split to their maximum
> number of lanes and below, and that those which are not splittable fail to
> be split.
> 
> Test output example:
> 
> TEST: swp4 is unsplittable                                         [ OK ]
> TEST: split port swp53 into 4                                      [ OK ]
> TEST: Unsplit port pci/0000:03:00.0/25                             [ OK ]
> TEST: split port swp53 into 2                                      [ OK ]
> TEST: Unsplit port pci/0000:03:00.0/25                             [ OK ]
> 
> Signed-off-by: Danielle Ratson <daniel...@mellanox.com>
> Reviewed-by: Petr Machata <pe...@mellanox.com>
> ---
>  tools/testing/selftests/net/Makefile          |   1 +
>  .../selftests/net/devlink_port_split.py       | 259 ++++++++++++++++++

Any reason why this is written in python versus shell?
-- 
Florian

Reply via email to