Lines Matching refs:fsp
97 struct ethtool_rx_flow_spec *fsp = &cmd->fs;
104 rule = tsnep_get_rule(adapter, fsp->location);
111 fsp->flow_type = ETHER_FLOW;
112 fsp->ring_cookie = rule->queue_index;
115 fsp->h_u.ether_spec.h_proto = htons(rule->filter.ether_type);
116 fsp->m_u.ether_spec.h_proto = ETHER_TYPE_FULL_MASK;
172 const struct ethtool_rx_flow_spec *fsp)
176 rule->queue_index = fsp->ring_cookie;
177 rule->location = fsp->location;
180 rule->filter.ether_type = ntohs(fsp->h_u.ether_spec.h_proto);
205 struct ethtool_rx_flow_spec *fsp =
211 if (fsp->flow_type != ETHER_FLOW ||
212 !is_zero_ether_addr(fsp->m_u.ether_spec.h_dest) ||
213 !is_zero_ether_addr(fsp->m_u.ether_spec.h_source) ||
214 fsp->m_u.ether_spec.h_proto != ETHER_TYPE_FULL_MASK) {
220 if (fsp->ring_cookie >
227 if (fsp->location != RX_CLS_LOC_ANY &&
228 fsp->location >= adapter->rxnfc_max) {
240 if (fsp->location == RX_CLS_LOC_ANY) {
244 fsp->location = retval;
247 tsnep_rxnfc_init_rule(rule, fsp);
253 old_rule = tsnep_get_rule(adapter, fsp->location);
272 struct ethtool_rx_flow_spec *fsp =
278 rule = tsnep_get_rule(adapter, fsp->location);