Skip to content

Commit 6ff5a88

Browse files
mkbalanilguohan
authored andcommitted
[barefoot]: Add carrier change (oper state) for bf_tun tap intf (#2218)
1 parent d3c9c0f commit 6ff5a88

File tree

1 file changed

+1
-0
lines changed
  • platform/barefoot/bfn-modules/modules

1 file changed

+1
-0
lines changed

platform/barefoot/bfn-modules/modules/bf_tun.c

+1
Original file line numberDiff line numberDiff line change
@@ -1073,6 +1073,7 @@ static const struct net_device_ops tap_netdev_ops = {
10731073
.ndo_features_check = passthru_features_check,
10741074
.ndo_set_rx_headroom = tun_set_headroom,
10751075
.ndo_get_stats64 = tun_net_get_stats64,
1076+
.ndo_change_carrier = tun_change_carrier,
10761077
};
10771078

10781079
static void tun_flow_init(struct tun_struct *tun)

0 commit comments

Comments
 (0)