mirror_frr/zebra
Donald Sharp 8f08b1cc31 zebra: Modify way we query for inteface speed
Initial commit of understanding interface speed changes
on startup was this commit:

dc7b3caefb

Effectively we had encountered situations on system startup
where the interface speed for a device was not properly setup
when zebra learns about the interface ( Imagine a bond being
brought up and the controlling software creating the bond
is not fast given system load, the bond's speed changes
upwards for each interface added ).

The initial workup on this was to allow a 15 second window
and then just reread the interface speed.  We've since noticed
that under heavy system load on startup this is not always sufficient.

So modify the code to wait the 15 seconds and then check the interfaces
speed.  If the interfaces speed is still MAX_UINT32T or it has changed
let's wait a bit longer and try again.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-07-13 15:42:41 -04:00
..
.gitignore *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
connected.c Revert "Ospf missing interface handling 2" 2019-06-23 19:46:39 -04:00
connected.h add cplusplus guards to all zebra headers 2019-03-25 16:05:27 +01:00
debug.c zebra: Add detailed debugging command for NHT tracking 2019-03-27 16:22:22 -04:00
debug.h zebra: Add detailed debugging command for NHT tracking 2019-03-27 16:22:22 -04:00
if_ioctl_solaris.c Revert "Ospf missing interface handling 2" 2019-06-23 19:46:39 -04:00
if_ioctl.c Revert "Ospf missing interface handling 2" 2019-06-23 19:46:39 -04:00
if_netlink.c Revert "Ospf missing interface handling 2" 2019-06-23 19:46:39 -04:00
if_netlink.h vrrpd: protodown macvlan in backup state 2019-05-17 00:27:08 +00:00
if_sysctl.c *: spelchek 2018-10-25 20:10:57 +02:00
interface.c zebra: Modify way we query for inteface speed 2019-07-13 15:42:41 -04:00
interface.h *: s/TRUE/true/, s/FALSE/false/ 2019-07-01 17:26:05 +00:00
ioctl_solaris.c lib, zebra: remove uses of strncpy 2019-05-29 18:03:26 +00:00
ioctl_solaris.h add cplusplus guards to all zebra headers 2019-03-25 16:05:27 +01:00
ioctl.c Revert "Ospf missing interface handling 2" 2019-06-23 19:46:39 -04:00
ioctl.h zebra: removing old intf address code 2019-04-22 13:49:27 -04:00
ipforward_proc.c zebra: fix includes 2018-09-06 20:56:41 +00:00
ipforward_solaris.c *: LIB_[ERR|WARN] -> EC_LIB 2018-09-13 19:34:28 +00:00
ipforward_sysctl.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
ipforward.h add cplusplus guards to all zebra headers 2019-03-25 16:05:27 +01:00
irdp_interface.c *: s/TRUE/true/, s/FALSE/false/ 2019-07-01 17:26:05 +00:00
irdp_main.c *: remove trailing newlines from zlog messages 2019-03-14 18:41:15 +00:00
irdp_packet.c zebra: remove bs irdp error code 2019-07-03 00:27:14 +00:00
irdp.h *: s/TRUE/true/, s/FALSE/false/ 2019-07-01 17:26:05 +00:00
kernel_netlink.c Merge pull request #4546 from donaldsharp/better_debugs 2019-06-18 10:06:54 -04:00
kernel_netlink.h add cplusplus guards to all zebra headers 2019-03-25 16:05:27 +01:00
kernel_socket.c Revert "Ospf missing interface handling 2" 2019-06-23 19:46:39 -04:00
kernel_socket.h add cplusplus guards to all zebra headers 2019-03-25 16:05:27 +01:00
label_manager.c zebra: label manager refactor 2019-07-10 15:20:27 +02:00
label_manager.h zebra: label manager refactor 2019-07-10 15:20:27 +02:00
main.c zebra: label manager refactor 2019-07-10 15:20:27 +02:00
Makefile build: convert zebra/ to non-recursive build 2017-07-31 23:03:30 +02:00
redistribute.c zebra: import table entries are not showing up in the right table 2019-06-25 17:49:19 -04:00
redistribute.h zebra: Push VRF_DEFAULT outside of import table code 2019-06-25 17:47:41 -04:00
rib.h *: s/TRUE/true/, s/FALSE/false/ 2019-07-01 17:26:05 +00:00
router-id.c Revert "Ospf missing interface handling 2" 2019-06-23 19:46:39 -04:00
router-id.h add cplusplus guards to all zebra headers 2019-03-25 16:05:27 +01:00
rt_netlink.c zebra: Add a conditional guard if zvrf lookup fail 2019-07-09 11:30:49 -04:00
rt_netlink.h add cplusplus guards to all zebra headers 2019-03-25 16:05:27 +01:00
rt_socket.c zebra: Modify code so that dplane is responsible for indicating success/fail of install 2019-03-27 16:19:28 -04:00
rt.h zebra: Share route type checking macros 2019-05-13 16:47:18 -07:00
rtadv.c Revert "Ospf missing interface handling 2" 2019-06-23 19:46:39 -04:00
rtadv.h zebra: move rtadv service from zrouter to zvrf 2019-06-04 18:33:53 +02:00
rtread_getmsg.c zebra: evpn remote delete fetch local entry 2018-12-31 14:40:31 -08:00
rtread_netlink.c zebra: evpn remote delete fetch local entry 2018-12-31 14:40:31 -08:00
rtread_sysctl.c zebra: evpn remote delete fetch local entry 2018-12-31 14:40:31 -08:00
rule_netlink.c zebra: Fix late memset of pbr rule in rule_netlink 2019-04-09 10:35:11 -04:00
rule_netlink.h add cplusplus guards to all zebra headers 2019-03-25 16:05:27 +01:00
rule_socket.c zebra: Create zebra_dplane.c and .h 2018-09-19 18:29:55 -04:00
subdir.am zebra: Move nexthop_active_XXX functions to zebra_nhg.c 2019-05-28 17:41:38 -04:00
table_manager.c *: list_delete_and_null() -> list_delete() 2018-10-02 11:40:52 +02:00
table_manager.h add cplusplus guards to all zebra headers 2019-03-25 16:05:27 +01:00
testrib.conf
zapi_msg.c Merge pull request #4660 from manuhalo/label_manager_fixes 2019-07-12 17:09:33 -03:00
zapi_msg.h zebra: label manager refactor 2019-07-10 15:20:27 +02:00
zebra_dplane.c Revert "Ospf missing interface handling 2" 2019-06-23 19:46:39 -04:00
zebra_dplane.h zebra: add setters for distance, instance 2019-05-29 11:47:58 -04:00
zebra_errors.c zebra: remove bs irdp error code 2019-07-03 00:27:14 +00:00
zebra_errors.h zebra: remove bs irdp error code 2019-07-03 00:27:14 +00:00
zebra_fpm_dt.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_fpm_netlink.c *: s/TRUE/true/, s/FALSE/false/ 2019-07-01 17:26:05 +00:00
zebra_fpm_private.h Zebra: Build nelink message for RMAC updates 2019-06-17 12:05:38 -07:00
zebra_fpm_protobuf.c zebra: fix missed multipath_num change 2019-05-16 11:53:33 -04:00
zebra_fpm.c *: s/TRUE/true/, s/FALSE/false/ 2019-07-01 17:26:05 +00:00
zebra_l2.c zebra: process mcast-grp rxed in the vxlan-device 2019-04-20 08:33:19 -07:00
zebra_l2.h zebra: header changes for l2 vni bum-mcast-grp handling 2019-04-20 08:33:19 -07:00
zebra_memory.c zebra: use MTYPE_STATIC 2019-06-21 08:54:25 +02:00
zebra_memory.h zebra: use MTYPE_STATIC 2019-06-21 08:54:25 +02:00
zebra_mlag.c zebra: Add ability to send to all clients updated capability information 2019-01-31 09:28:39 -05:00
zebra_mlag.h add cplusplus guards to all zebra headers 2019-03-25 16:05:27 +01:00
zebra_mpls_netlink.c zebra: convert PW updates to async dataplane 2019-01-25 10:45:57 -05:00
zebra_mpls_null.c zebra: convert PW updates to async dataplane 2019-01-25 10:45:57 -05:00
zebra_mpls_openbsd.c zebra: Move multipath_num into zrouter 2019-05-14 14:15:18 -07:00
zebra_mpls_vty.c bgpd, ospfd, pimd, zebra: Convert more use_json locations to bool 2018-09-04 17:39:04 +00:00
zebra_mpls.c zebra: strcat -> strlcat 2019-05-29 18:03:26 +00:00
zebra_mpls.h zebra: mpls lsp async notifications 2019-05-28 08:35:01 -04:00
zebra_mroute.c zebra: Add some additional vrf debug for retrieving mroute info 2018-09-17 09:22:31 -04:00
zebra_mroute.h add cplusplus guards to all zebra headers 2019-03-25 16:05:27 +01:00
zebra_netns_id.c zebra: dead code (Coverity 1465497) 2018-10-02 15:45:44 +02:00
zebra_netns_id.h add cplusplus guards to all zebra headers 2019-03-25 16:05:27 +01:00
zebra_netns_notify.c zebra: Move the master thread handler to the zrouter structure 2019-01-31 09:20:46 -05:00
zebra_netns_notify.h add cplusplus guards to all zebra headers 2019-03-25 16:05:27 +01:00
zebra_nhg.c lib: Private api for nexthop_group manipulation 2019-06-25 22:58:48 -04:00
zebra_nhg.h zebra: Move nexthop_active_XXX functions to zebra_nhg.c 2019-05-28 17:41:38 -04:00
zebra_ns.c zebra: move rtadv service from zrouter to zvrf 2019-06-04 18:33:53 +02:00
zebra_ns.h add cplusplus guards to all zebra headers 2019-03-25 16:05:27 +01:00
zebra_pbr.c bgp, zebra, lib: add protocol support for iptables 2019-07-08 08:36:45 +02:00
zebra_pbr.h bgp, zebra, lib: add protocol support for iptables 2019-07-08 08:36:45 +02:00
zebra_ptm_redistribute.c zebra: Remove zclient->idinfo restrictions 2019-02-05 09:13:30 -05:00
zebra_ptm_redistribute.h add cplusplus guards to all zebra headers 2019-03-25 16:05:27 +01:00
zebra_ptm.c Revert "Ospf missing interface handling 2" 2019-06-23 19:46:39 -04:00
zebra_ptm.h add cplusplus guards to all zebra headers 2019-03-25 16:05:27 +01:00
zebra_pw.c zebra: pseudowire event recovery (DoS fix) 2019-04-10 19:17:49 +02:00
zebra_pw.h add cplusplus guards to all zebra headers 2019-03-25 16:05:27 +01:00
zebra_rib.c zebra: Modify zebra to order nexthops received 2019-07-09 10:44:41 -04:00
zebra_rnh.c zebra: Fix rnh old -vs- new comparison 2019-06-24 09:50:55 -04:00
zebra_rnh.h zebra: Display a bit better debugging for rnh tracking 2019-06-18 15:47:10 -04:00
zebra_routemap.c rmap: Add hooks into zebra,ospf,rip for match ip next-hop type blackhole 2019-06-22 00:07:20 +03:00
zebra_routemap.h add cplusplus guards to all zebra headers 2019-03-25 16:05:27 +01:00
zebra_router.c zebra: use MTYPE_STATIC 2019-06-21 08:54:25 +02:00
zebra_router.h zebra: keep rtadv_sock field in zrouter for optimisation 2019-06-04 18:33:57 +02:00
zebra_snmp.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_vrf.c zebra: use MTYPE_STATIC 2019-06-21 08:54:25 +02:00
zebra_vrf.h Revert "Ospf missing interface handling 2" 2019-06-23 19:46:39 -04:00
zebra_vty.c zebra: Push VRF_DEFAULT outside of import table code 2019-06-25 17:47:41 -04:00
zebra_vxlan_private.h Zebra: Handle RMAC add/delete operation and add fpm_mac_info_t 2019-06-17 12:05:38 -07:00
zebra_vxlan.c lib,zebra: avoid use of ctime in monotime api 2019-07-10 10:16:59 -04:00
zebra_vxlan.h zebra: Clean up BGP EVPN configuration when the client, BGPD, goes down 2019-06-19 14:45:21 -07:00
zebra.conf.sample *: Remove cvs control points 2017-12-05 17:28:12 -05:00
zserv.c zebra: label manager refactor 2019-07-10 15:20:27 +02:00
zserv.h zebra: label manager refactor 2019-07-10 15:20:27 +02:00