commit | f0b81195381f0fd9ec84009a0e5a4bb12ccc9637 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Fri May 26 01:03:35 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri May 26 11:01:49 2017 -0400 |
tree | e81bba8457b7003540512d00ad847e5e1cbac82c | |
parent | 53e7a08f0da16eb67daf616405b0579e98565cdc [diff] |
nfp: calculate total port lanes for split For port splitting we will need to know the total number of lanes in a port. Calculate that based on eth_table information. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>