Home
last modified time | relevance | path

Searched refs:l2_accel (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c910 struct fm10k_l2_accel *l2_accel = interface->l2_accel; in fm10k_update_vid() local
981 if (l2_accel) { in fm10k_update_vid()
982 for (i = 0; i < l2_accel->size; i++) { in fm10k_update_vid()
983 struct net_device *sdev = l2_accel->macvlan[i]; in fm10k_update_vid()
988 glort = l2_accel->dglort + 1 + i; in fm10k_update_vid()
1197 struct fm10k_l2_accel *l2_accel = interface->l2_accel; in fm10k_restore_rx_state() local
1237 if (l2_accel) { in fm10k_restore_rx_state()
1238 for (i = 0; i < l2_accel->size; i++) { in fm10k_restore_rx_state()
1239 struct net_device *sdev = l2_accel->macvlan[i]; in fm10k_restore_rx_state()
1244 glort = l2_accel->dglort + 1 + i; in fm10k_restore_rx_state()
[all …]
Dfm10k_main.c417 struct fm10k_l2_accel *l2_accel = rcu_dereference_bh(rx_ring->l2_accel); in fm10k_type_trans() local
420 if (l2_accel) { in fm10k_type_trans()
423 idx -= l2_accel->dglort; in fm10k_type_trans()
424 if (idx < l2_accel->size && l2_accel->macvlan[idx]) in fm10k_type_trans()
425 dev = l2_accel->macvlan[idx]; in fm10k_type_trans()
427 l2_accel = NULL; in fm10k_type_trans()
431 if (!l2_accel) in fm10k_type_trans()
1669 rcu_assign_pointer(ring->l2_accel, interface->l2_accel); in fm10k_alloc_q_vector()
Dfm10k.h107 struct fm10k_l2_accel __rcu *l2_accel; /* L2 acceleration list */ member
297 struct fm10k_l2_accel *l2_accel; /* pointer to L2 acceleration list */ member
Dfm10k_pci.c1141 if (interface->l2_accel) in fm10k_configure_dglort()
1142 dglort.shared_l = fls(interface->l2_accel->size); in fm10k_configure_dglort()