{"id":49341394,"url":"https://github.com/redborder/bpctl_ng","last_synced_at":"2026-04-27T04:04:05.966Z","repository":{"id":143877117,"uuid":"481225255","full_name":"redBorder/bpctl_ng","owner":"redBorder","description":"About Silicom bypass control with redborder patches for redborder-ng","archived":false,"fork":false,"pushed_at":"2024-12-11T14:02:47.000Z","size":232,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-11T15:20:14.130Z","etag":null,"topics":["redborder-ng","rpm","tool"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redBorder.png","metadata":{"files":{"readme":"README.TXT","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-13T13:21:17.000Z","updated_at":"2024-03-03T04:07:22.000Z","dependencies_parsed_at":"2023-10-04T15:20:43.117Z","dependency_job_id":"b80e17a4-5404-4b0b-94fd-e7ab4959c7e7","html_url":"https://github.com/redBorder/bpctl_ng","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/redBorder/bpctl_ng","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redBorder%2Fbpctl_ng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redBorder%2Fbpctl_ng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redBorder%2Fbpctl_ng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redBorder%2Fbpctl_ng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redBorder","download_url":"https://codeload.github.com/redBorder/bpctl_ng/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redBorder%2Fbpctl_ng/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32321945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["redborder-ng","rpm","tool"],"created_at":"2026-04-27T04:04:04.910Z","updated_at":"2026-04-27T04:04:05.946Z","avatar_url":"https://github.com/redBorder.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":" \t Silicom Linux Bypass-SD Control Utility\n\t\t  \n1. Compiling, installing and loading the software.\n              \n   Compiling and installing the software in the system directory:\n\t# make install\n\t\n2. Software loading:\n\t# bpctl_start \n\t      \n3. Using the software.\n\n3.1 Utility.\n\nUsage: bpctl_util \u003cif_index|bus:slot.function\u003e \u003ccommand\u003e [parameters]\n       bpctl_util \u003cinfo|help\u003e\n\u003cif_index\u003e   - interface name, for example, eth0, or all for all Bypass-SD/TAP-SD Control devices\n\u003ccommand\u003e    - bypass control command (see Commands List).\n[parameters] - set_bypass_wd command:\n                   WDT timeout interval, msec (0 for disabling WDT).\n               set_bypass/set_bypass_pwoff/set_bypass_pwup/set_dis_bypass commands:\n                   on/off for enable/disable Bypass\n               set_std_nic command:\n                   on/off for enable/disable Standard NIC mode\n               set_tx command:\n                   on/off for enable/disable transmit\n               set_tpl command:\n                   on/off for enable/disable TPL\n               set_hw_reset command:\n                   on/off for enable/disable hw_reset\n               set_tap/set_tap_pwup/set_dis_tap commands:\n                   on/off for enable/disable TAP\n               set_disc/set_disc_pwup/set_dis_disc commands:\n                   on/off for enable/disable Disc\n               set_wd_exp_mode command:\n                   bypass/tap/disc for bypass/tap/disc mode\n               set_wd_autoreset command:\n                   WDT autoreset interval, msec (0 for disabling WDT autoreset).\nif_scan      - refresh the list of network interfaces.\ninfo         - print Program Information.\nhelp         - print this message.\n   Commands List:\nis_bypass        - check if device is a Bypass/TAP controlling device\nget_bypass_slave - get the second port participate in the Bypass/TAP pair\nget_bypass_caps  - obtain Bypass/TAP capabilities information\nget_wd_set_caps  - obtain watchdog timer settings capabilities\nget_bypass_info  - get bypass/TAP info\nset_bypass       - set Bypass mode state\nget_bypass       - get Bypass mode state\nget_bypass_change - get change of Bypass mode state from last status check\nset_dis_bypass   - set Disable Bypass mode\nget_dis_bypass   - get Disable Bypass mode state\nset_bypass_pwoff - set Bypass mode at power-off state\nget_bypass_pwoff - get Bypass mode at power-off state\nset_bypass_pwup  - set Bypass mode at power-up state\nget_bypass_pwup  - get Bypass mode at power-up state\nset_std_nic      - set Standard NIC mode of operation\nget_std_nic      - get Standard NIC mode settings\nset_bypass_wd    - set watchdog state\nget_bypass_wd    - get watchdog state\nget_wd_time_expire - get watchdog expired time\nreset_bypass_wd - reset watchdog timer\nset_tx      - set transmit enable / disable\nget_tx      - get transmitter state (enabled / disabled)\nset_tpl      - set TPL enable / disable\nget_tpl      - get TPL state (enabled / disabled)\nset_hw_reset          - set hw_reset enable / disable\nget_hw_reset          - get hw_reset (enabled / disabled)\nset_tap       - set TAP mode state\nget_tap       - get TAP mode state\nget_tap_change - get change of TAP mode state from last status check\nset_dis_tap   - set Disable TAP mode\nget_dis_tap   - get Disable TAP mode state\nset_tap_pwup  - set TAP mode at power-up state\nget_tap_pwup  - get TAP mode at power-up state\nset_disc       - set Disc mode state\nget_disc       - get Disc mode state\nget_disc_change - get change of Disc mode state from last status check\nset_dis_disc   - set Disable Disc mode\nget_dis_disc   - get Disable Disc mode state\nset_disc_pwup  - set Disc mode at power-up state\nget_disc_pwup  - get Disc mode at power-up state\nset_wd_exp_mode - set adapter state when WDT expired\nget_wd_exp_mode - get adapter state when WDT expired\nset_wd_autoreset - set WDT autoreset mode\nget_wd_autoreset - get WDT autoreset mode\n\nExample: bpctl_util eth0 set_bypass_wd 5000\n         bpctl_util all set_bypass on\n         bpctl_util eth0 set_wd_exp_mode tap\n         bpctl_util 0b:00.0 get_bypass_info\n         \n         \n3.2 PROC interface.\n\nInteraction with bypass functionality is done also through Linux proc interface.\nAfter Ethernet driver installation, bypass control commands can be found at folder:\n\n\t/proc/net/bypass/bypass_eth# \n\t\n\t\n  All the commands are listed below.\n  \nbypass_slave\n    Get the second port participate of the Bypass pair:\n\tcat bypass_slave\n    \nbypass_caps\n    Obtain Bypass capabilities information:\n\tcat bypass_caps\n\nwd_set_caps\n    Obtain watchdog timer setting capabilities:\n\tcat wd_set_caps\n \nbypass\n    Set or get Bypass state.\n    Disable Bypass:\n\techo \"off\" \u003e bypass\n    Enable Bypass:\t\t\n\techo \"on\" \u003e bypass\n    Get Bypass state:\n\tcat bypass    \n\t\nbypass_change\n    Get change of Bypass state from last status check:\n\tcat bypass_change\n    \nbypass_wd\n    Set watchdog state.\n    For enable \u0026 activate WDT feature please retype:\n        echo \"\u003cwdt_timeout(msec)\u003e\" \u003e bypass_wd\n    Get watchdog state:\n\tcat bypass_wd    \n    \nreset_bypass_wd\n    Reset watchdog timer:\n\tcat reset_bypass_wd\n\t\nwd_expire_time\n    Get watchdog expired time:\n\tcat wd_expire_time\n         \ndis_bypass\n    Set or get Disable Bypass mode.\n    Set Disable Bypass mode off:\n\techo \"off\" \u003e dis_bypass\n    Set Disable Bypass mode on:\n\techo \"on\" \u003e dis_bypass\n    Get Disable Bypass mode state:\n\tcat dis_bypass\n\nbypass_pwup\n     Set or get Bypass state on power up.\n     Set Enable Bypass on power up:\n\techo \"on\" \u003e bypass_pwup\n     Set Disable Bypass on power up:\n\techo \"off\" \u003e bypass_pwup\n     Get Bypass state on power up:\n\tcat bypass_pwup \n\t  \nbypass_pwoff\n     Set or get Bypass state on power off.\n     Set Enable Bypass on power off:\n\techo \"on\" \u003e bypass_pwoff\n     Set Disable Bypass on power off:\n\techo \"off\" \u003e bypass_pwoff\n     Get Bypass state on power off:\n\tcat bypass_pwoff \n\t\nstd_nic\n     Set or get Standard NIC mode.\n     Set Standard NIC mode on:\n\techo \"on\" \u003e std_nic\n     Set Standard NIC mode off:\n\techo \"off\" \u003e std_nic\n     Get Standard NIC mode:\n\tcat std_nic   \n\ntap\n    Set or get TAP state.\n    Disable TAP:\n\techo \"off\" \u003e tap\n    Enable TAP:\t\t\n\techo \"on\" \u003e tap\n    Get TAP state:\n\tcat tap    \n\t\ntap_change\n    Get change of TAP state from last tap_change status check:\n\tcat tap_change\n    \ndis_tap\n    Set or get Disable TAP mode.\n    Set Disable TAP mode off:\n\techo \"off\" \u003e dis_tap\n    Set Disable TAP mode on:\n\techo \"on\" \u003e dis_tap\n    Get Disable TAP mode state:\n\tcat dis_tap\n\ntap_pwup\n     Set or get TAP state on power up.\n     Set Enable TAP on power up:\n\techo \"on\" \u003e tap_pwup\n     Set Disable TAP on power up:\n\techo \"off\" \u003e tap_pwup\n     Get TAP state on power up:\n\tcat tap_pwup   \n\t\nwd_exp_mode\n     Set or get adapter state when WDT expired.\n     Set TAP when WDT expired:\n\techo \"tap\" \u003e wd_exp_mode\n     Set Bypass when WDT expired:\n\techo \"bypass\" \u003e wd_exp_mode\n     Set Disconnect when WDT expired:\n\techo \"disc\" \u003e wd_exp_mode\n\n     Get adapter state when WDT expired:\n\tcat wd_exp_mode\n\nwd_autoreset\n     Set or get WDT autoreset mode.   \n     For setting WDT autoreset mode please retype:\n        echo \"\u003crst_period(msec)\u003e\" \u003e wd_autoreset\n    Get WDT autoreset mode state:\n\tcat wd_autoreset \n\t\ntpl\n    Set or get TPL state.\n    Disable TPL:\n\techo \"off\" \u003e tpl\n    Enable TPL:\t\t\n\techo \"on\" \u003e tpl\n    Get TPL state:\n\tcat tpl \n\t\ndisc\n    Set or get Disconnect state.\n    Disable Disconnect:\n\techo \"off\" \u003e disc\n    Enable Disconnect:\t\t\n\techo \"on\" \u003e disc\n    Get Disconnect state:\n\tcat disc \n\t\ndis_disc\n    Set or get Disable Disconnect mode.\n    Set Disable Disconnect mode off:\n\techo \"off\" \u003e dis_disc\n    Set Disable Disconnect mode on:\n\techo \"on\" \u003e dis_disc\n    Get Disable Disconnect mode state:\n\tcat dis_disc\n\n\t\ndisc_pwup\n     Set or get Disconnect state on power up.\n     Set Enable Disconnect on power up:\n\techo \"on\" \u003e disc_pwup\n     Set Disable Disconnect on power up:\n\techo \"off\" \u003e disc_pwup\n     Get Disconnect state on power up:\n\tcat disc_pwup \n\t\ndisc_change\n    Get change of Disconnect state from last disc_change status check:\n\tcat disc_change   \n\t\nbypass_info\n     Get detailed info about Bypass device.\n\tcat bypass_info   \n\n\n4. Software unloading.\n\n    # bpctl_stop\n \n5. Uninstall.\n\n    # make uninstall\n   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredborder%2Fbpctl_ng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredborder%2Fbpctl_ng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredborder%2Fbpctl_ng/lists"}