Searched refs:raw_packet (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c47 * @raw_packet: the pre-allocated packet buffer for FDir
51 int i40e_program_fdir_filter(struct i40e_fdir_filter *fdir_data, u8 *raw_packet, i40e_program_fdir_filter() argument
88 dma = dma_map_single(dev, raw_packet, i40e_program_fdir_filter()
163 tx_buf->raw_buf = (void *)raw_packet; i40e_program_fdir_filter()
204 u8 *raw_packet; i40e_add_del_fdir_udpv4() local
210 raw_packet = kzalloc(I40E_FDIR_MAX_RAW_PACKET_SIZE, GFP_KERNEL); i40e_add_del_fdir_udpv4()
211 if (!raw_packet) i40e_add_del_fdir_udpv4()
213 memcpy(raw_packet, packet, I40E_UDPIP_DUMMY_PACKET_LEN); i40e_add_del_fdir_udpv4()
215 ip = (struct iphdr *)(raw_packet + IP_HEADER_OFFSET); i40e_add_del_fdir_udpv4()
216 udp = (struct udphdr *)(raw_packet + IP_HEADER_OFFSET i40e_add_del_fdir_udpv4()
225 ret = i40e_program_fdir_filter(fd_data, raw_packet, pf, add); i40e_add_del_fdir_udpv4()
261 u8 *raw_packet; i40e_add_del_fdir_tcpv4() local
269 raw_packet = kzalloc(I40E_FDIR_MAX_RAW_PACKET_SIZE, GFP_KERNEL); i40e_add_del_fdir_tcpv4()
270 if (!raw_packet) i40e_add_del_fdir_tcpv4()
272 memcpy(raw_packet, packet, I40E_TCPIP_DUMMY_PACKET_LEN); i40e_add_del_fdir_tcpv4()
274 ip = (struct iphdr *)(raw_packet + IP_HEADER_OFFSET); i40e_add_del_fdir_tcpv4()
275 tcp = (struct tcphdr *)(raw_packet + IP_HEADER_OFFSET i40e_add_del_fdir_tcpv4()
299 ret = i40e_program_fdir_filter(fd_data, raw_packet, pf, add); i40e_add_del_fdir_tcpv4()
352 u8 *raw_packet; i40e_add_del_fdir_ipv4() local
361 raw_packet = kzalloc(I40E_FDIR_MAX_RAW_PACKET_SIZE, GFP_KERNEL); i40e_add_del_fdir_ipv4()
362 if (!raw_packet) i40e_add_del_fdir_ipv4()
364 memcpy(raw_packet, packet, I40E_IP_DUMMY_PACKET_LEN); i40e_add_del_fdir_ipv4()
365 ip = (struct iphdr *)(raw_packet + IP_HEADER_OFFSET); i40e_add_del_fdir_ipv4()
372 ret = i40e_program_fdir_filter(fd_data, raw_packet, pf, add); i40e_add_del_fdir_ipv4()
H A Di40e_debugfs.c1676 u8 *raw_packet; i40e_dbg_command_write() local
1694 raw_packet = kzalloc(I40E_FDIR_MAX_RAW_PACKET_SIZE, i40e_dbg_command_write()
1697 if (!raw_packet) { i40e_dbg_command_write()
1716 kfree(raw_packet); i40e_dbg_command_write()
1730 &raw_packet[i]); i40e_dbg_command_write()
1736 raw_packet, packet_len, true); i40e_dbg_command_write()
1737 ret = i40e_program_fdir_filter(&fd_data, raw_packet, pf, add); i40e_dbg_command_write()
1744 kfree(raw_packet); i40e_dbg_command_write()
1745 raw_packet = NULL; i40e_dbg_command_write()
H A Di40e.h639 int i40e_program_fdir_filter(struct i40e_fdir_filter *fdir_data, u8 *raw_packet,

Completed in 133 milliseconds