summaryrefslogtreecommitdiffstats
path: root/src/plugins/lacp
AgeCommit message (Expand)AuthorFilesLines
2019-08-17bonding lacp: deleting virtual interface which was enslaved may cause crashSteven Luong2-20/+27
2019-07-22bonding: fix create bond CLIZhiyong Yang1-1/+1
2019-07-09vat: unload unused vat pluginsDave Barach1-2/+4
2019-06-27lacp: custom dump for sw_interface_lacp_dumpSteven Luong1-3/+30
2019-06-22lacp: convert clib_warning to event loggerSteven Luong4-20/+78
2019-06-12lacp: cleanup unnecessary pointer castZhiyong Yang5-46/+38
2019-06-11lacp: remove duplicated codeZhiyong Yang1-1/+0
2019-06-07build: add -Wall and -fno-common, fix reported issuesBenoƮt Ganne1-1/+1
2019-06-07lacp: create lacp-process on demandSteven Luong4-26/+86
2019-05-16init / exit function orderingDave Barach1-6/+6
2019-05-03plugins: clean up plugin descriptionsDave Wallace1-1/+1
2019-04-03lacp: passive mode support [VPP-1551]Steven Luong7-56/+124
2019-03-07Remove local REPLY_MACRO so that socket transport works.Ole Troan1-36/+2
2018-11-27cmake: Add protocol.h to lacp plugin .h includesAlexander Chernavin1-0/+1
2018-11-14Remove c-11 memcpy checks from perf-critical codeDave Barach1-1/+1
2018-10-23c11 safe string handling supportDave Barach3-4/+4
2018-08-27cmake: Fix plugins .h includesMohsin Kazmi1-0/+10
2018-08-25cmake: handle api_test_plugins in add_vpp_plugin macroDamjan Marion1-3/+1
2018-08-25cmake: improve add_vpp_plugin macroDamjan Marion1-3/+6
2018-08-17CMake as an alternative to autotools (experimental)Damjan Marion1-0/+32
2018-08-17lacp: issue with slave interface admin up after it is added to the bond groupSteven1-2/+2
2018-05-25bond: performance harvestingSteven1-7/+7
2018-04-24lacp: deleting the bond subinterface may cause lacp to lose the partner [VPP-...Steven2-15/+8
2018-04-23lacp: partner may time us out if fast-rate is configured [VPP-1247]Steven5-8/+14
2018-04-04Doc updates prior to branchChris Luke1-9/+21
2018-03-30lacp: faster convergence for slow-rate config optionSteven6-18/+29
2018-03-21bond: Add bonding driver and LACP protocolSteven22-0/+3943
class="cm">/* SIDs (key) */ mpls_label_t *segments; /* SID list weight (wECMP / UCMP) */ u32 weight; } mpls_sr_sl_t; typedef struct { u32 *segments_lists; /**< Pool of SID lists indexes */ mpls_label_t bsid; /**< BindingSID (key) */ u8 type; /**< Type (default is 0) */ /* SR Policy specific DPO */ /* IF Type = DEFAULT Then Load Balancer DPO among SID lists */ /* IF Type = SPRAY then Spray DPO with all SID lists */ ip46_address_t endpoint; /**< Optional NH for SR TE */ u8 endpoint_type; u32 color; /**< Optional color for SR TE */ } mpls_sr_policy_t; /** * @brief Steering db key * * L3 is IPv4/IPv6 + mask */ typedef struct { ip46_address_t prefix; /**< IP address of the prefix */ u32 mask_width; /**< Mask width of the prefix */ u32 fib_table; /**< VRF of the prefix */ u8 traffic_type; /**< Traffic type (IPv4, IPv6, L2) */ u8 padding[3]; } sr_mpls_steering_key_t; typedef struct { sr_mpls_steering_key_t classify; /**< Traffic classification */ mpls_label_t bsid; /**< SR Policy index */ ip46_address_t next_hop; /**< SR TE NH */ char nh_type; u32 *color; /**< Vector of SR TE colors */ char co_bits; /**< Color-Only bits */ mpls_label_t vpn_label; } mpls_sr_steering_policy_t; /** * @brief Segment Routing main datastructure */ typedef struct { /* SR SID lists */ mpls_sr_sl_t *sid_lists; /* SR MPLS policies */ mpls_sr_policy_t *sr_policies; /* Hash table mapping BindingSID to SR MPLS policy */ uword *sr_policies_index_hash; /* Pool of SR steer policies instances */ mpls_sr_steering_policy_t *steer_policies; /* MHash table mapping steering rules to SR steer instance */ mhash_t sr_steer_policies_hash; /** SR TE **/ /* Hash table mapping (Color->Endpoint->BSID) for SR policies */ mhash_t sr_policies_c2e2eclabel_hash; /* SR TE (internal) fib table (Endpoint, Color) */ u32 fib_table_EC; /* Pool of (Endpoint, Color) hidden labels */ u32 *ec_labels; /* convenience */ vlib_main_t *vlib_main; vnet_main_t *vnet_main; } mpls_sr_main_t; extern mpls_sr_main_t sr_mpls_main; extern int sr_mpls_policy_add (mpls_label_t bsid, mpls_label_t * segments, u8 behavior, u32 weight); extern int sr_mpls_policy_mod (mpls_label_t bsid, u8 operation, mpls_label_t * segments, u32 sl_index, u32 weight); extern int sr_mpls_policy_del (mpls_label_t bsid); extern int sr_mpls_policy_assign_endpoint_color (mpls_label_t bsid, ip46_address_t * endpoint, u8 endpoint_type, u32 color); extern int sr_mpls_steering_policy_add (mpls_label_t bsid, u32 table_id, ip46_address_t * prefix, u32 mask_width, u8 traffic_type, ip46_address_t * next_hop, u8 nh_type, u32 color, char co_bits, mpls_label_t vpn_label); extern int sr_mpls_steering_policy_del (ip46_address_t * prefix, u32 mask_width, u8 traffic_type, u32 table_id, u32 color); extern u32 find_or_create_internal_label (ip46_address_t endpoint, u32 color); extern void internal_label_lock (ip46_address_t endpoint, u32 color); extern void internal_label_unlock (ip46_address_t endpoint, u32 color); #endif /* included_vnet_sr_mpls_h */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: eval: (c-set-style "gnu") End: */