Searched refs:fd_data (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c191 * @fd_data: the flow director data required for the FDir descriptor
197 struct i40e_fdir_filter *fd_data, i40e_add_del_fdir_udpv4()
219 ip->daddr = fd_data->dst_ip[0]; i40e_add_del_fdir_udpv4()
220 udp->dest = fd_data->dst_port; i40e_add_del_fdir_udpv4()
221 ip->saddr = fd_data->src_ip[0]; i40e_add_del_fdir_udpv4()
222 udp->source = fd_data->src_port; i40e_add_del_fdir_udpv4()
224 fd_data->pctype = I40E_FILTER_PCTYPE_NONF_IPV4_UDP; i40e_add_del_fdir_udpv4()
225 ret = i40e_program_fdir_filter(fd_data, raw_packet, pf, add); i40e_add_del_fdir_udpv4()
229 fd_data->pctype, fd_data->fd_id, ret); i40e_add_del_fdir_udpv4()
235 fd_data->pctype, fd_data->fd_id); i40e_add_del_fdir_udpv4()
239 fd_data->pctype, fd_data->fd_id); i40e_add_del_fdir_udpv4()
248 * @fd_data: the flow director data required for the FDir descriptor
254 struct i40e_fdir_filter *fd_data, i40e_add_del_fdir_tcpv4()
278 ip->daddr = fd_data->dst_ip[0]; i40e_add_del_fdir_tcpv4()
279 tcp->dest = fd_data->dst_port; i40e_add_del_fdir_tcpv4()
280 ip->saddr = fd_data->src_ip[0]; i40e_add_del_fdir_tcpv4()
281 tcp->source = fd_data->src_port; i40e_add_del_fdir_tcpv4()
298 fd_data->pctype = I40E_FILTER_PCTYPE_NONF_IPV4_TCP; i40e_add_del_fdir_tcpv4()
299 ret = i40e_program_fdir_filter(fd_data, raw_packet, pf, add); i40e_add_del_fdir_tcpv4()
304 fd_data->pctype, fd_data->fd_id, ret); i40e_add_del_fdir_tcpv4()
309 fd_data->pctype, fd_data->fd_id); i40e_add_del_fdir_tcpv4()
313 fd_data->pctype, fd_data->fd_id); i40e_add_del_fdir_tcpv4()
323 * @fd_data: the flow director data required for the FDir descriptor
329 struct i40e_fdir_filter *fd_data, i40e_add_del_fdir_sctpv4()
340 * @fd_data: the flow director data required for the FDir descriptor
346 struct i40e_fdir_filter *fd_data, i40e_add_del_fdir_ipv4()
367 ip->saddr = fd_data->src_ip[0]; i40e_add_del_fdir_ipv4()
368 ip->daddr = fd_data->dst_ip[0]; i40e_add_del_fdir_ipv4()
371 fd_data->pctype = i; i40e_add_del_fdir_ipv4()
372 ret = i40e_program_fdir_filter(fd_data, raw_packet, pf, add); i40e_add_del_fdir_ipv4()
377 fd_data->pctype, fd_data->fd_id, ret); i40e_add_del_fdir_ipv4()
383 fd_data->pctype, fd_data->fd_id); i40e_add_del_fdir_ipv4()
387 fd_data->pctype, fd_data->fd_id); i40e_add_del_fdir_ipv4()
196 i40e_add_del_fdir_udpv4(struct i40e_vsi *vsi, struct i40e_fdir_filter *fd_data, bool add) i40e_add_del_fdir_udpv4() argument
253 i40e_add_del_fdir_tcpv4(struct i40e_vsi *vsi, struct i40e_fdir_filter *fd_data, bool add) i40e_add_del_fdir_tcpv4() argument
328 i40e_add_del_fdir_sctpv4(struct i40e_vsi *vsi, struct i40e_fdir_filter *fd_data, bool add) i40e_add_del_fdir_sctpv4() argument
345 i40e_add_del_fdir_ipv4(struct i40e_vsi *vsi, struct i40e_fdir_filter *fd_data, bool add) i40e_add_del_fdir_ipv4() argument
H A Di40e_debugfs.c1673 struct i40e_fdir_filter fd_data; i40e_dbg_command_write() local
1705 &fd_data.q_index, i40e_dbg_command_write()
1706 &fd_data.flex_off, &fd_data.pctype, i40e_dbg_command_write()
1707 &fd_data.dest_vsi, &fd_data.dest_ctl, i40e_dbg_command_write()
1708 &fd_data.fd_status, &fd_data.cnt_index, i40e_dbg_command_write()
1709 &fd_data.fd_id, &packet_len, asc_packet); i40e_dbg_command_write()
1737 ret = i40e_program_fdir_filter(&fd_data, raw_packet, pf, add); i40e_dbg_command_write()

Completed in 129 milliseconds