Skip to content

Commit

Permalink
[barefoot]: Add carrier change (oper state) for bf_tun tap intf (#2218)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkbalani authored and lguohan committed Oct 31, 2018
1 parent d3c9c0f commit 6ff5a88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platform/barefoot/bfn-modules/modules/bf_tun.c
Original file line number Diff line number Diff line change
Expand Up @@ -1073,6 +1073,7 @@ static const struct net_device_ops tap_netdev_ops = {
.ndo_features_check = passthru_features_check,
.ndo_set_rx_headroom = tun_set_headroom,
.ndo_get_stats64 = tun_net_get_stats64,
.ndo_change_carrier = tun_change_carrier,
};

static void tun_flow_init(struct tun_struct *tun)
Expand Down

0 comments on commit 6ff5a88

Please sign in to comment.