Searched refs:l4proto (Results 1 – 9 of 9) sorted by relevance
/drivers/net/ethernet/mediatek/ |
D | mtk_ppe_offload.c | 252 u8 l4proto = 0; in mtk_flow_offload_replace() local 280 l4proto = match.key->ip_proto; in mtk_flow_offload_replace() 359 err = mtk_foe_entry_prepare(eth, &foe, offload_type, l4proto, 0, in mtk_flow_offload_replace()
|
D | mtk_ppe.c | 210 int type, int l4proto, u8 pse_port, u8 *src_mac, in mtk_foe_entry_prepare() argument 221 FIELD_PREP(MTK_FOE_IB1_UDP, l4proto == IPPROTO_UDP) | in mtk_foe_entry_prepare() 232 FIELD_PREP(MTK_FOE_IB1_UDP, l4proto == IPPROTO_UDP) | in mtk_foe_entry_prepare() 244 ports_pad = 0xa5a5a500 | (l4proto & 0xff); in mtk_foe_entry_prepare()
|
D | mtk_ppe.h | 376 int type, int l4proto, u8 pse_port, u8 *src_mac,
|
/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_nic.c | 685 u8 l4proto = 0; in aq_nic_map_skb() local 688 l4proto = ip_hdr(skb)->protocol; in aq_nic_map_skb() 690 l4proto = ipv6_hdr(skb)->nexthdr; in aq_nic_map_skb() 698 if (l4proto == IPPROTO_TCP) { in aq_nic_map_skb() 701 } else if (l4proto == IPPROTO_UDP) { in aq_nic_map_skb() 752 dx_buff->is_tcp_cso = (l4proto == IPPROTO_TCP); in aq_nic_map_skb() 753 dx_buff->is_udp_cso = (l4proto == IPPROTO_UDP); in aq_nic_map_skb()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 462 u8 l4proto, opcode = 0, hdr_len = 0, tag_vlan = 0; in qlcnic_tx_pkt() local 558 l4proto = ip_hdr(skb)->protocol; in qlcnic_tx_pkt() 560 if (l4proto == IPPROTO_TCP) in qlcnic_tx_pkt() 562 else if (l4proto == IPPROTO_UDP) in qlcnic_tx_pkt() 565 l4proto = ipv6_hdr(skb)->nexthdr; in qlcnic_tx_pkt() 567 if (l4proto == IPPROTO_TCP) in qlcnic_tx_pkt() 569 else if (l4proto == IPPROTO_UDP) in qlcnic_tx_pkt()
|
/drivers/infiniband/hw/irdma/ |
D | puda.h | 33 u8 l4proto; member
|
D | puda.c | 307 info->l4proto = (u8)FIELD_GET(IRDMA_UDA_L4PROTO, qword2); in irdma_puda_poll_info()
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_main.c | 1888 u8 l4proto; in netxen_tso_check() local 1891 l4proto = ip_hdr(skb)->protocol; in netxen_tso_check() 1893 if (l4proto == IPPROTO_TCP) in netxen_tso_check() 1895 else if(l4proto == IPPROTO_UDP) in netxen_tso_check() 1898 l4proto = ipv6_hdr(skb)->nexthdr; in netxen_tso_check() 1900 if (l4proto == IPPROTO_TCP) in netxen_tso_check() 1902 else if(l4proto == IPPROTO_UDP) in netxen_tso_check()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 169 static char *i40e_create_dummy_packet(u8 *dummy_packet, bool ipv4, u8 l4proto, in i40e_create_dummy_packet() argument 181 ip.protocol = l4proto; in i40e_create_dummy_packet() 189 ipv6.nexthdr = l4proto; in i40e_create_dummy_packet() 233 static void i40e_create_dummy_udp_packet(u8 *raw_packet, bool ipv4, u8 l4proto, in i40e_create_dummy_udp_packet() argument 254 static void i40e_create_dummy_tcp_packet(u8 *raw_packet, bool ipv4, u8 l4proto, in i40e_create_dummy_tcp_packet() argument 281 u8 l4proto, in i40e_create_dummy_sctp_packet() argument
|