diff options
author | Danielle Ratson <danieller@mellanox.com> | 2020-07-09 16:18:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-09 13:15:30 -0700 |
commit | f3348a82e72795ce218264fd00ef5cf5137836a9 (patch) | |
tree | 2b29fc5bcaa3787987243f649c682c642839bdaf /mm/cma.h | |
parent | 82901ad16905832b7a79ff4316302bb59ec4b4ba (diff) |
selftests: net: Add port split test
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 <danieller@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/cma.h')
0 files changed, 0 insertions, 0 deletions