Home
last modified time | relevance | path

Searched refs:ip_proto (Results 1 – 16 of 16) sorted by relevance

/drivers/net/ethernet/sfc/
Dfilter.h142 u8 ip_proto; member
191 spec->ip_proto = proto; in efx_filter_set_ipv4_local()
216 spec->ip_proto = proto; in efx_filter_set_ipv4_full()
Drx.c891 spec.ip_proto = ip->protocol; in efx_filter_rfs()
902 spec.ip_proto = ip6->nexthdr; in efx_filter_rfs()
923 (spec.ip_proto == IPPROTO_TCP) ? "TCP" : "UDP", in efx_filter_rfs()
929 (spec.ip_proto == IPPROTO_TCP) ? "TCP" : "UDP", in efx_filter_rfs()
Dethtool.c812 (spec.ip_proto == IPPROTO_TCP || spec.ip_proto == IPPROTO_UDP) && in efx_ethtool_get_class_rule()
818 rule->flow_type = ((spec.ip_proto == IPPROTO_TCP) ? in efx_ethtool_get_class_rule()
985 spec.ip_proto = ((rule->flow_type & ~FLOW_EXT) == TCP_V4_FLOW ? in efx_ethtool_set_class_rule()
Dfarch.c2081 switch (gen_spec->ip_proto) { in efx_farch_filter_from_gen_spec()
2103 if (!is_full && gen_spec->ip_proto == IPPROTO_UDP) { in efx_farch_filter_from_gen_spec()
2180 gen_spec->ip_proto = in efx_farch_filter_to_gen_spec()
2197 (!is_full && gen_spec->ip_proto == IPPROTO_UDP)) { in efx_farch_filter_to_gen_spec()
Def10.c2970 COPY_FIELD(IP_PROTO, ip_proto, IP_PROTO); in efx_ef10_filter_push_prep()
/drivers/net/ethernet/cisco/enic/
Denic_clsf.c25 switch (keys->basic.ip_proto) { in enic_addfltr_5t()
163 tpos->keys.basic.ip_proto == k->basic.ip_proto && in htbl_key_search()
181 (keys.basic.ip_proto != IPPROTO_TCP && in enic_rx_flow_steer()
182 keys.basic.ip_proto != IPPROTO_UDP)) in enic_rx_flow_steer()
Denic_ethtool.c368 switch (n->keys.basic.ip_proto) { in enic_grxclsrule()
/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c106 u8 ip_proto; member
125 static enum mlx4_net_trans_rule_id mlx4_ip_proto_to_trans_rule_id(u8 ip_proto) in mlx4_ip_proto_to_trans_rule_id() argument
127 switch (ip_proto) { in mlx4_ip_proto_to_trans_rule_id()
144 .id = mlx4_ip_proto_to_trans_rule_id(filter->ip_proto), in mlx4_en_filter_work()
182 filter->ip_proto); in mlx4_en_filter_work()
229 __be32 dst_ip, u8 ip_proto, __be16 src_port, in mlx4_en_filter_alloc() argument
244 filter->ip_proto = ip_proto; in mlx4_en_filter_alloc()
276 u8 ip_proto, __be16 src_port, __be16 dst_port) in mlx4_en_filter_find() argument
287 filter->ip_proto == ip_proto && in mlx4_en_filter_find()
306 u8 ip_proto; in mlx4_en_filter_rfs() local
[all …]
/drivers/net/ethernet/broadcom/
Dbcmsysport.c965 u8 ip_proto; in bcm_sysport_insert_tsb() local
989 ip_proto = ip_hdr(skb)->protocol; in bcm_sysport_insert_tsb()
992 ip_proto = ipv6_hdr(skb)->nexthdr; in bcm_sysport_insert_tsb()
1003 if (ip_proto == IPPROTO_TCP || ip_proto == IPPROTO_UDP) { in bcm_sysport_insert_tsb()
1005 if (ip_proto == IPPROTO_UDP && ip_ver == ETH_P_IP) in bcm_sysport_insert_tsb()
/drivers/net/ethernet/faraday/
Dftgmac100.c690 u8 ip_proto = ip_hdr(skb)->protocol; in ftgmac100_xmit() local
693 if (ip_proto == IPPROTO_TCP) in ftgmac100_xmit()
695 else if (ip_proto == IPPROTO_UDP) in ftgmac100_xmit()
/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c1425 u8 ip_proto; in bcmgenet_put_tx_csum() local
1449 ip_proto = ip_hdr(skb)->protocol; in bcmgenet_put_tx_csum()
1452 ip_proto = ipv6_hdr(skb)->nexthdr; in bcmgenet_put_tx_csum()
1465 if (ip_proto == IPPROTO_TCP || ip_proto == IPPROTO_UDP) { in bcmgenet_put_tx_csum()
1467 if (ip_proto == IPPROTO_UDP && ip_ver == ETH_P_IP) in bcmgenet_put_tx_csum()
/drivers/net/ethernet/
Djme.c2128 u8 ip_proto; in jme_tx_csum() local
2132 ip_proto = ip_hdr(skb)->protocol; in jme_tx_csum()
2135 ip_proto = ipv6_hdr(skb)->nexthdr; in jme_tx_csum()
2138 ip_proto = 0; in jme_tx_csum()
2142 switch (ip_proto) { in jme_tx_csum()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c333 if (fkeys->basic.ip_proto == IPPROTO_TCP) in bnxt_grxclsrule()
335 else if (fkeys->basic.ip_proto == IPPROTO_UDP) in bnxt_grxclsrule()
Dbnxt.c2856 req.ip_protocol = keys->basic.ip_proto; in bnxt_hwrm_cfa_ntuple_filter_alloc()
5376 keys1->basic.ip_proto == keys2->basic.ip_proto && in bnxt_fltr_match()
5408 ((fkeys->basic.ip_proto != IPPROTO_TCP) && in bnxt_rx_flow_steer()
5409 (fkeys->basic.ip_proto != IPPROTO_UDP))) { in bnxt_rx_flow_steer()
/drivers/net/ethernet/rocker/
Drocker.c107 u8 ip_proto; member
2098 entry->key.acl.ip_proto)) in rocker_cmd_flow_tbl_add_acl()
2690 __be16 vlan_id_mask, u8 ip_proto, in rocker_flow_tbl_acl() argument
2726 entry->key.acl.ip_proto = ip_proto; in rocker_flow_tbl_acl()
3308 u8 ip_proto = 0; in rocker_port_ctrl_vlan_acl() local
3321 ip_proto, ip_proto_mask, in rocker_port_ctrl_vlan_acl()
/drivers/net/ethernet/sun/
Dniu.c6566 u8 ip_proto; in niu_compute_tx_flags() local
6581 ip_proto = ip_hdr(skb)->protocol; in niu_compute_tx_flags()
6585 ip_proto = ipv6_hdr(skb)->nexthdr; in niu_compute_tx_flags()
6590 ip_proto = ihl = 0; in niu_compute_tx_flags()
6598 csum_bits = (ip_proto == IPPROTO_TCP ? in niu_compute_tx_flags()
6600 (ip_proto == IPPROTO_UDP ? in niu_compute_tx_flags()