/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_vcap_impl.c | 424 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 D | sparx5_tc_flower.c | 36 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 D | sparx5_vcap_impl.h | 195 u16 l3_proto, 201 u16 l3_proto, enum vcap_keyfield_set keyset,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_tc_flower.c | 95 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 D | lan966x_vcap_impl.c | 126 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 D | en_accel.h | 58 __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 D | ipsec_rxtx.c | 152 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 D | en_accel.h | 59 __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 D | ipsec_rxtx.c | 226 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 D | atmsap.h | 114 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 D | atmsap.h | 114 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 D | atmsap.h | 62 unsigned char l3_proto; member 100 return blli.l2_proto || blli.l3_proto; in blli_in_use()
|
H A D | isdn.h | 89 int l3_proto; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_arfs.c | 351 * @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 D | ice_arfs.c | 351 * @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 D | test_xdp_vlan.c | 46 __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 D | test_xdp_vlan.c | 46 __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 D | vcap_tc.h | 14 u16 l3_proto; member
|
H A D | vcap_tc.c | 67 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 D | ena_eth_com.h | 20 enum ena_eth_io_l3_proto_index l3_proto; member 39 enum ena_eth_io_l3_proto_index l3_proto; member
|
H A D | ena_eth_com.c | 338 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 D | ena_eth_com.h | 24 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 D | atmsap.h | 74 unsigned char l3_proto; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | atmsap.h | 74 unsigned char l3_proto; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | txrx.h | 362 __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()
|