Repository navigation
Introduce Mellanox platform support for FBOSS agent and qsfp_service - #67
Closed
stepanblyschak wants to merge 7 commits into
Closed
stepanblyschak wants to merge 7 commits into
stepanblyschak wants to merge 7 commits into
Conversation
added 7 commits
May 7, 2018 15:52
…nent For agent and qsfp_service split CMakeLists.txt per platform to perpare FBOSS build system for adding Mellanox HW support. Add BUILD_PLATFORM option to chose platform to build FBOSS for. Signed-off-by: Stepan Blyschak <[email protected]>
… FBOSS agent 1. Agent init/deinit using SDK-like XML for ports configuration 2. Physical port configuration/state: admin/operative state and speed 3. Port vlan membership configuration via JSON configuration file 4. Basic L2 traffic (LLDP) Signed-off-by: Stepan Blyschak <[email protected]>
In order to trigger L3 forwarding in HW the following method was used in FBOSS: packet is sent with source MAC equals destination MAC equals platform MAC, so HW is expected to lookup where to send packet based on IP header. This approach doesn't work for Spectrum ASIC, instead the hardware drops packets with source MAC equals destination MAC. To sent L3 packet from Spectrum switch we use source MAC = 0 (don't care what is the source MAC, source MAC is replaced with interface MAC), destination MAC = L3 interface MAC, vlan = L3 interface vlan. As a workaround for this issue - getEtherInfoForL3Packet() was added to SwSwitch, untill better solution would be found that works on both platforms. Depending on which platform we build FBOSS getEtherInfoForL3Packet will use BCM or Spectrum approach. Signed-off-by: Stepan Blyschak <[email protected]>
1. Vlan L3 interface (add/edit/delete) 2. IPv4/IPv6 Route table programming (add/edit/delete) 3. Neighbor table programming (add/edit/delete) 4. L3 traffic (ping, NDP, DHCP, etc.) 5. Reactive ARP/ICMPv6 NDP neighbors resolution triggered by the HW Signed-off-by: Stepan Blyschak <[email protected]>
Make qsfpMain() to be able to support differnt QSFP managers for different platforms Using the same way as in FBOSS agent. To add new platform: - Provide TransceiverImpl and TransceiverManager implementation under fboss/qsfp_service/platforms - Provide implementation for std::unique_ptr<TransceiverManager> createTransceiverManager() - Provide main.cpp under same directory which calls qsfpMain with createTransceiverManager function as parameter - Modify CMakeLists.txt to add rules to build qsfp_service for new platform Signed-off-by: Stepan Blyschak <[email protected]>
…e in use In wedge_agent there are 4 software port objects created for each physical port, one per each lane. So the QsfpModule determines how many SW ports are associated with current transceiver to get the number of lanes and determine if customization is needed. Change it to count channels that are used from SW ports. Signed-off-by: Stepan Blyschak <[email protected]>
Add platform code to sync ports between fboss agent and qsfp_service NOTE: current implementation requires mlnx_agent running before qsfp_service starts. Also, to be able to gracefully release resources qsfp_service should be closed before mlnx_agent. Signed-off-by: Stepan Blyschak <[email protected]>
facebook-github-bot
pushed a commit
that referenced
this pull request
Oct 16, 2020
…ps.py build (#67) Summary: Pull Request resolved: meta/sapling#67 With this change it will be possible to build dependencies of and run integration tests using getdeps.py. This is the first goal of Q4 as per https://fb.quip.com/v8YzAYNSYgot: "Get Open Source version of integration tests running on Legocastle". Before this diff: The OSS integration tests run now on GitHub by: - Building some test dependencies with getdeps.py - Building some test dependencies with homebrew/apt-get - Running tests via python script The OSS integration tests were not running on Sandcastle. After this diff: The OSS integration tests run on Github by: - Building and executing tests via getdeps.py (execution of tests happens by getdeps.py calling Make calling python script) The OSS integration tests run on Sandcastle using the same getdeps.py setup as Github. Reviewed By: krallin Differential Revision: D24253268 fbshipit-source-id: cae249b72d076222673b8bbe4ec21866dcdbb253
facebook-github-bot
pushed a commit
that referenced
this pull request
Mar 3, 2022
Summary: X-link: facebookincubator/hsthrift#67 Updating `googletest` from `1.8.0` to `1.10.0` Reviewed By: mzlee, igorsugak, luciang, meyering, r-barnes Differential Revision: D34351084 fbshipit-source-id: 939b3985ab63a06b6d511ec8711c2d5863bdfea8
arajeev-ARISTA
pushed a commit
to arajeev-ARISTA/fboss
that referenced
this pull request
Sep 26, 2023
meru800bia udev rules: update SMB FPGA subsystem device ID to 0x3
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(One is XML with port mapping configuration, second one - FBOSS JSON configuration file)