Change-Id: I7597de2820d2cd162ccab61b7191e7d4d7fb211e
Signed-off-by: Hongjun Ni <[email protected]>
if(PREDICT_FALSE(map0->nsh_action == NSH_ACTION_POP))
{
+ vnet_buffer(b0)->sw_if_index[VLIB_RX] = map0->nsh_sw_if;
+
/* Manipulate MD2 */
if(PREDICT_FALSE(hdr0->md_type == 2))
{
if(PREDICT_FALSE(map1->nsh_action == NSH_ACTION_POP))
{
+ vnet_buffer(b1)->sw_if_index[VLIB_RX] = map1->nsh_sw_if;
+
/* Manipulate MD2 */
if(PREDICT_FALSE(hdr1->md_type == 2))
{
if(PREDICT_FALSE(map0->nsh_action == NSH_ACTION_POP))
{
+ vnet_buffer(b0)->sw_if_index[VLIB_RX] = map0->nsh_sw_if;
+
/* Manipulate MD2 */
if(PREDICT_FALSE(hdr0->md_type == 2))
{