Home
last modified time | relevance | path

Searched refs:l3_proto (Results 1 - 25 of 46) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_vcap_impl.c424 u16 l3_proto) in sparx5_vcap_is0_get_port_keysets()
434 if (l3_proto == ETH_P_ALL) in sparx5_vcap_is0_get_port_keysets()
437 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IP) in sparx5_vcap_is0_get_port_keysets()
453 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IPV6) in sparx5_vcap_is0_get_port_keysets()
469 if (l3_proto != ETH_P_IP && l3_proto != ETH_P_IPV6) in sparx5_vcap_is0_get_port_keysets()
478 u16 l3_proto) in sparx5_vcap_is2_get_port_keysets()
488 if (l3_proto in sparx5_vcap_is2_get_port_keysets()
421 sparx5_vcap_is0_get_port_keysets(struct net_device *ndev, int lookup, struct vcap_keyset_list *keysetlist, u16 l3_proto) sparx5_vcap_is0_get_port_keysets() argument
475 sparx5_vcap_is2_get_port_keysets(struct net_device *ndev, int lookup, struct vcap_keyset_list *keysetlist, u16 l3_proto) sparx5_vcap_is2_get_port_keysets() argument
605 sparx5_vcap_es0_get_port_keysets(struct net_device *ndev, struct vcap_keyset_list *keysetlist, u16 l3_proto) sparx5_vcap_es0_get_port_keysets() argument
629 sparx5_vcap_es2_get_port_keysets(struct net_device *ndev, int lookup, struct vcap_keyset_list *keysetlist, u16 l3_proto) sparx5_vcap_es2_get_port_keysets() argument
692 sparx5_vcap_get_port_keyset(struct net_device *ndev, struct vcap_admin *admin, int cid, u16 l3_proto, struct vcap_keyset_list *kslist) sparx5_vcap_get_port_keyset() argument
760 sparx5_vcap_validate_keyset(struct net_device *ndev, struct vcap_admin *admin, struct vcap_rule *rule, struct vcap_keyset_list *kslist, u16 l3_proto) sparx5_vcap_validate_keyset() argument
1534 sparx5_vcap_is0_set_port_keyset(struct net_device *ndev, int lookup, enum vcap_keyfield_set keyset, int l3_proto) sparx5_vcap_is0_set_port_keyset() argument
1623 sparx5_vcap_is2_set_port_keyset(struct net_device *ndev, int lookup, enum vcap_keyfield_set keyset, int l3_proto) sparx5_vcap_is2_set_port_keyset() argument
1716 sparx5_vcap_es2_set_port_keyset(struct net_device *ndev, int lookup, enum vcap_keyfield_set keyset, int l3_proto) sparx5_vcap_es2_set_port_keyset() argument
1751 sparx5_vcap_set_port_keyset(struct net_device *ndev, struct vcap_admin *admin, int cid, u16 l3_proto, enum vcap_keyfield_set keyset, struct vcap_keyset_list *orig) sparx5_vcap_set_port_keyset() argument
[all...]
H A Dsparx5_tc_flower.c36 u16 l3_proto; /* protocol specified in the template */ member
73 st->l3_proto = be16_to_cpu(mt.key->n_proto); in sparx5_tc_flower_handler_basic_usage()
74 if (!sparx5_vcap_is_known_etype(st->admin, st->l3_proto)) { in sparx5_tc_flower_handler_basic_usage()
76 st->l3_proto, ~0); in sparx5_tc_flower_handler_basic_usage()
79 } else if (st->l3_proto == ETH_P_IP) { in sparx5_tc_flower_handler_basic_usage()
84 } else if (st->l3_proto == ETH_P_IPV6) { in sparx5_tc_flower_handler_basic_usage()
375 u16 l3_proto, in sparx5_tc_select_protocol_keyset()
401 l3_proto, in sparx5_tc_select_protocol_keyset()
434 if (l3_proto == ETH_P_ALL && count < portkeysetlist.cnt) in sparx5_tc_select_protocol_keyset()
1010 u16 l3_proto) in sparx5_tc_flower_simplify_rule()
372 sparx5_tc_select_protocol_keyset(struct net_device *ndev, struct vcap_rule *vrule, struct vcap_admin *admin, u16 l3_proto, struct sparx5_multiple_rules *multi) sparx5_tc_select_protocol_keyset() argument
1008 sparx5_tc_flower_simplify_rule(struct vcap_admin *admin, struct vcap_rule *vrule, u16 l3_proto) sparx5_tc_flower_simplify_rule() argument
[all...]
H A Dsparx5_vcap_impl.h195 u16 l3_proto,
201 u16 l3_proto, enum vcap_keyfield_set keyset,
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_tc_flower.c95 st->l3_proto = be16_to_cpu(match.key->n_proto); in lan966x_tc_flower_handler_basic_usage()
96 if (!lan966x_tc_is_known_etype(st, st->l3_proto)) { in lan966x_tc_flower_handler_basic_usage()
98 st->l3_proto, ~0); in lan966x_tc_flower_handler_basic_usage()
101 } else if (st->l3_proto == ETH_P_IP) { in lan966x_tc_flower_handler_basic_usage()
106 } else if (st->l3_proto == ETH_P_IPV6 && in lan966x_tc_flower_handler_basic_usage()
109 } else if (st->l3_proto == ETH_P_SNAP && in lan966x_tc_flower_handler_basic_usage()
130 st->l3_proto, ~0); in lan966x_tc_flower_handler_basic_usage()
226 u16 *l3_proto) in lan966x_tc_flower_use_dissectors()
231 .l3_proto = ETH_P_ALL, in lan966x_tc_flower_use_dissectors()
247 if (l3_proto) in lan966x_tc_flower_use_dissectors()
223 lan966x_tc_flower_use_dissectors(struct flow_cls_offload *f, struct vcap_admin *admin, struct vcap_rule *vrule, u16 *l3_proto) lan966x_tc_flower_use_dissectors() argument
447 u16 l3_proto = ETH_P_ALL; lan966x_tc_flower_add() local
[all...]
H A Dlan966x_vcap_impl.c126 u16 l3_proto) in lan966x_vcap_is1_get_port_keysets()
135 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IP) { in lan966x_vcap_is1_get_port_keysets()
149 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IPV6) { in lan966x_vcap_is1_get_port_keysets()
186 u16 l3_proto) in lan966x_vcap_is2_get_port_keysets()
196 if (l3_proto == ETH_P_ALL) in lan966x_vcap_is2_get_port_keysets()
199 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_SNAP) { in lan966x_vcap_is2_get_port_keysets()
208 if (l3_proto in lan966x_vcap_is2_get_port_keysets()
124 lan966x_vcap_is1_get_port_keysets(struct net_device *ndev, int lookup, struct vcap_keyset_list *keysetlist, u16 l3_proto) lan966x_vcap_is1_get_port_keysets() argument
184 lan966x_vcap_is2_get_port_keysets(struct net_device *dev, int lookup, struct vcap_keyset_list *keysetlist, u16 l3_proto) lan966x_vcap_is2_get_port_keysets() argument
268 lan966x_vcap_validate_keyset(struct net_device *dev, struct vcap_admin *admin, struct vcap_rule *rule, struct vcap_keyset_list *kslist, u16 l3_proto) lan966x_vcap_validate_keyset() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Den_accel.h58 __be16 l3_proto; in mlx5e_tx_tunnel_accel() local
61 l3_proto = vlan_get_protocol(skb); in mlx5e_tx_tunnel_accel()
62 switch (l3_proto) { in mlx5e_tx_tunnel_accel()
76 swp_spec.l3_proto = l3_proto; in mlx5e_tx_tunnel_accel()
H A Dipsec_rxtx.c152 swp_spec.l3_proto = skb->protocol; in mlx5e_ipsec_set_swp()
279 u8 l3_proto; in mlx5e_ipsec_tx_build_eseg() local
296 l3_proto = (x->props.family == AF_INET) ? in mlx5e_ipsec_tx_build_eseg()
305 eseg->trailer |= (l3_proto == IPPROTO_ESP) ? in mlx5e_ipsec_tx_build_eseg()
309 eseg->trailer |= (l3_proto == IPPROTO_ESP) ? in mlx5e_ipsec_tx_build_eseg()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Den_accel.h59 __be16 l3_proto; in mlx5e_tx_tunnel_accel() local
62 l3_proto = vlan_get_protocol(skb); in mlx5e_tx_tunnel_accel()
63 switch (l3_proto) { in mlx5e_tx_tunnel_accel()
77 swp_spec.l3_proto = l3_proto; in mlx5e_tx_tunnel_accel()
H A Dipsec_rxtx.c226 u8 l3_proto; in mlx5e_ipsec_tx_build_eseg() local
243 l3_proto = (x->props.family == AF_INET) ? in mlx5e_ipsec_tx_build_eseg()
251 eseg->trailer |= (l3_proto == IPPROTO_ESP) ? in mlx5e_ipsec_tx_build_eseg()
255 eseg->trailer |= (l3_proto == IPPROTO_ESP) ? in mlx5e_ipsec_tx_build_eseg()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Datmsap.h114 unsigned char l3_proto; /* layer 3 protocol */ member
124 struct { /* if l3_proto = ATM_L3_H310 */
131 struct { /* if l3_proto = ATM_L3_TR9577 */
160 return blli.l2_proto || blli.l3_proto; in blli_in_use()
/kernel/linux/linux-6.6/include/uapi/linux/
H A Datmsap.h114 unsigned char l3_proto; /* layer 3 protocol */ member
124 struct { /* if l3_proto = ATM_L3_H310 */
131 struct { /* if l3_proto = ATM_L3_TR9577 */
160 return blli.l2_proto || blli.l3_proto; in blli_in_use()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Datmsap.h62 unsigned char l3_proto; member
100 return blli.l2_proto || blli.l3_proto; in blli_in_use()
H A Disdn.h89 int l3_proto; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_arfs.c351 * @l3_proto: ETH_P_IP or ETH_P_IPV6 in network order
359 ice_arfs_is_perfect_flow_set(struct ice_hw *hw, __be16 l3_proto, u8 l4_proto) in ice_arfs_is_perfect_flow_set() argument
367 if (l3_proto == htons(ETH_P_IP) && l4_proto == IPPROTO_UDP) in ice_arfs_is_perfect_flow_set()
369 else if (l3_proto == htons(ETH_P_IP) && l4_proto == IPPROTO_TCP) in ice_arfs_is_perfect_flow_set()
371 else if (l3_proto == htons(ETH_P_IPV6) && l4_proto == IPPROTO_UDP) in ice_arfs_is_perfect_flow_set()
373 else if (l3_proto == htons(ETH_P_IPV6) && l4_proto == IPPROTO_TCP) in ice_arfs_is_perfect_flow_set()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_arfs.c351 * @l3_proto: ETH_P_IP or ETH_P_IPV6 in network order
359 ice_arfs_is_perfect_flow_set(struct ice_hw *hw, __be16 l3_proto, u8 l4_proto) in ice_arfs_is_perfect_flow_set() argument
367 if (l3_proto == htons(ETH_P_IP) && l4_proto == IPPROTO_UDP) in ice_arfs_is_perfect_flow_set()
369 else if (l3_proto == htons(ETH_P_IP) && l4_proto == IPPROTO_TCP) in ice_arfs_is_perfect_flow_set()
371 else if (l3_proto == htons(ETH_P_IPV6) && l4_proto == IPPROTO_UDP) in ice_arfs_is_perfect_flow_set()
373 else if (l3_proto == htons(ETH_P_IPV6) && l4_proto == IPPROTO_TCP) in ice_arfs_is_perfect_flow_set()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_vlan.c46 __u16 l3_proto; member
95 pkt->l3_proto = bpf_ntohs(eth_type); /* Convert to host-byte-order */ in parse_eth_frame()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_vlan.c46 __u16 l3_proto; member
95 pkt->l3_proto = bpf_ntohs(eth_type); /* Convert to host-byte-order */ in parse_eth_frame()
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/vcap/
H A Dvcap_tc.h14 u16 l3_proto; member
H A Dvcap_tc.c67 if (st->l3_proto == ETH_P_IP) { in vcap_tc_flower_handler_ipv4_usage()
103 if (st->l3_proto == ETH_P_IPV6) { in vcap_tc_flower_handler_ipv6_usage()
337 if (st->l3_proto == ETH_P_ARP) { in vcap_tc_flower_handler_arp_usage()
/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/
H A Dena_eth_com.h20 enum ena_eth_io_l3_proto_index l3_proto; member
39 enum ena_eth_io_l3_proto_index l3_proto; member
H A Dena_eth_com.c338 ena_rx_ctx->l3_proto = cdesc->status & in ena_com_rx_set_flags()
357 pr_debug("l3_proto %d l4_proto %d l3_csum_err %d l4_csum_err %d hash %d frag %d cdesc_status %x\n", in ena_com_rx_set_flags()
358 ena_rx_ctx->l3_proto, ena_rx_ctx->l4_proto, in ena_com_rx_set_flags()
451 desc->meta_ctrl |= ena_tx_ctx->l3_proto & in ena_com_prepare_tx()
/kernel/linux/linux-6.6/drivers/net/ethernet/amazon/ena/
H A Dena_eth_com.h24 enum ena_eth_io_l3_proto_index l3_proto; member
43 enum ena_eth_io_l3_proto_index l3_proto; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Datmsap.h74 unsigned char l3_proto; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Datmsap.h74 unsigned char l3_proto; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtxrx.h362 __be16 l3_proto; member
384 if (swp_spec->l3_proto == htons(ETH_P_IPV6)) in mlx5e_set_eseg_swp()
398 if (swp_spec->l3_proto == htons(ETH_P_IPV6)) in mlx5e_set_eseg_swp()

Completed in 16 milliseconds

12