Searched refs:l2_accel (Results 1 – 4 of 4) sorted by relevance
910 struct fm10k_l2_accel *l2_accel = interface->l2_accel; in fm10k_update_vid() local981 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() local1237 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 …]
417 struct fm10k_l2_accel *l2_accel = rcu_dereference_bh(rx_ring->l2_accel); in fm10k_type_trans() local420 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()
107 struct fm10k_l2_accel __rcu *l2_accel; /* L2 acceleration list */ member297 struct fm10k_l2_accel *l2_accel; /* pointer to L2 acceleration list */ member
1141 if (interface->l2_accel) in fm10k_configure_dglort()1142 dglort.shared_l = fls(interface->l2_accel->size); in fm10k_configure_dglort()