Lines Matching refs:net_dev

73 int efx_tc_setup_block(struct net_device *net_dev, struct efx_nic *efx,  in efx_tc_setup_block()  argument
88 binding = efx_tc_create_binding(efx, efv, net_dev, tcb->block); in efx_tc_setup_block()
94 netif_dbg(efx, drv, efx->net_dev, in efx_tc_setup_block()
96 net_dev == efx->net_dev ? "" : in efx_tc_setup_block()
98 net_dev ? net_dev->name : NULL, rc); in efx_tc_setup_block()
107 binding = efx_tc_find_binding(efx, net_dev); in efx_tc_setup_block()
114 netif_dbg(efx, drv, efx->net_dev, in efx_tc_setup_block()
116 net_dev == efx->net_dev ? "" : in efx_tc_setup_block()
118 net_dev ? net_dev->name : NULL); in efx_tc_setup_block()
127 netif_cond_dbg(efx, drv, efx->net_dev, in efx_tc_setup_block()
130 net_dev == efx->net_dev ? "" : "in", in efx_tc_setup_block()
131 net_dev ? net_dev->name : NULL); in efx_tc_setup_block()
138 int efx_tc_indr_setup_cb(struct net_device *net_dev, struct Qdisc *sch, in efx_tc_indr_setup_cb() argument
150 if (!net_dev) in efx_tc_indr_setup_cb()
157 is_ovs_int_port = netif_is_ovs_master(net_dev); in efx_tc_indr_setup_cb()
169 binding = efx_tc_create_binding(efx, NULL, net_dev, tcb->block); in efx_tc_indr_setup_cb()
174 tcb, net_dev, sch, data, binding, in efx_tc_indr_setup_cb()
177 netif_dbg(efx, drv, efx->net_dev, in efx_tc_indr_setup_cb()
179 net_dev ? net_dev->name : NULL, rc); in efx_tc_indr_setup_cb()
188 binding = efx_tc_find_binding(efx, net_dev); in efx_tc_indr_setup_cb()
197 netif_dbg(efx, drv, efx->net_dev, in efx_tc_indr_setup_cb()
199 net_dev ? net_dev->name : NULL); in efx_tc_indr_setup_cb()
212 int efx_tc_setup(struct net_device *net_dev, enum tc_setup_type type, in efx_tc_setup() argument
215 struct efx_nic *efx = efx_netdev_priv(net_dev); in efx_tc_setup()
223 return efx_tc_flower(efx, net_dev, type_data, NULL); in efx_tc_setup()
225 return efx_tc_setup_block(net_dev, efx, type_data, NULL); in efx_tc_setup()