Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c796 struct fm10k_l2_accel *l2_accel = interface->l2_accel; in fm10k_update_vid() local
867 if (l2_accel) { in fm10k_update_vid()
868 for (i = 0; i < l2_accel->size; i++) { in fm10k_update_vid()
869 struct net_device *sdev = l2_accel->macvlan[i]; in fm10k_update_vid()
874 glort = l2_accel->dglort + 1 + i; in fm10k_update_vid()
1083 struct fm10k_l2_accel *l2_accel = interface->l2_accel; in fm10k_restore_rx_state() local
1123 if (l2_accel) { in fm10k_restore_rx_state()
1124 for (i = 0; i < l2_accel->size; i++) { in fm10k_restore_rx_state()
1125 struct net_device *sdev = l2_accel->macvlan[i]; in fm10k_restore_rx_state()
1130 glort = l2_accel->dglort + 1 + i; in fm10k_restore_rx_state()
[all …]
Dfm10k_main.c421 struct fm10k_l2_accel *l2_accel = rcu_dereference_bh(rx_ring->l2_accel); in fm10k_type_trans() local
424 if (l2_accel) { in fm10k_type_trans()
427 idx -= l2_accel->dglort; in fm10k_type_trans()
428 if (idx < l2_accel->size && l2_accel->macvlan[idx]) in fm10k_type_trans()
429 dev = l2_accel->macvlan[idx]; in fm10k_type_trans()
431 l2_accel = NULL; in fm10k_type_trans()
435 if (!l2_accel) in fm10k_type_trans()
1662 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
287 struct fm10k_l2_accel *l2_accel; /* pointer to L2 acceleration list */ member
Dfm10k_pci.c1145 if (interface->l2_accel) in fm10k_configure_dglort()
1146 dglort.shared_l = fls(interface->l2_accel->size); in fm10k_configure_dglort()