Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/plugins/dpdk/device/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -771,13 +771,15 @@ dpdk_lib_init (dpdk_main_t * dm)
format_dpdk_device_name, i,
format_dpdk_device_errors, xd);

#if 0
if (devconf->hqos_enabled)
{
clib_error_t *rv;
rv = dpdk_port_setup_hqos (xd, &devconf->hqos);
if (rv)
return rv;
}
#endif

/*
* A note on Cisco VIC (PMD_ENIC) and VLAN:
Expand Down
12 changes: 12 additions & 0 deletions src/plugins/nat/nat_ha.c
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,18 @@ nat_ha_flush (u8 is_resync)
nat_ha_event_add (0, 1, 0, is_resync);
}

int
nat_ha_resync (u32 client_index, u32 pid,
nat_ha_resync_event_cb_t event_callback)
{
nat_ha_main_t *ha = &nat_ha_main;

ha->client_index = client_index;
ha->pid = pid;
ha->event_callback = event_callback;
return ha->in_resync;
}

void
nat_ha_sadd (ip4_address_t * in_addr, u16 in_port, ip4_address_t * out_addr,
u16 out_port, ip4_address_t * eh_addr, u16 eh_port,
Expand Down