Searched refs:l2_accel (Results 1 – 4 of 4) sorted by relevance
796 struct fm10k_l2_accel *l2_accel = interface->l2_accel; in fm10k_update_vid() local867 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() local1123 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 …]
421 struct fm10k_l2_accel *l2_accel = rcu_dereference_bh(rx_ring->l2_accel); in fm10k_type_trans() local424 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()
107 struct fm10k_l2_accel __rcu *l2_accel; /* L2 acceleration list */ member287 struct fm10k_l2_accel *l2_accel; /* pointer to L2 acceleration list */ member
1145 if (interface->l2_accel) in fm10k_configure_dglort()1146 dglort.shared_l = fls(interface->l2_accel->size); in fm10k_configure_dglort()