Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netdevsim: allow port objects to be linked with line cards
Line cards contain ports. Allow ports to be places on the line cards. Track the ports that belong under certain line card. Make sure that the line card port carrier is down, as it will be taken up later on during "activation". Signed-off-by: Jiri Pirko <jiri@nvidia.com> --- RFCv2->RFCv3: - rebased on top of dev/drv port_add/dev function rename - rebased on top of rate patchset - rebased on top of Leon's reload protection patch
- Loading branch information
Jiri Pirko
committed
Apr 5, 2022
1 parent
a7b9464
commit dfd22c2
Showing
4 changed files
with
47 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters