/linux-master/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_tc.h | 14 u16 l3_proto; member in struct:vcap_tc_flower_parse_usage
|
H A D | vcap_tc.c | 67 if (st->l3_proto == ETH_P_IP) { 103 if (st->l3_proto == ETH_P_IPV6) { 337 if (st->l3_proto == ETH_P_ARP) {
|
H A D | vcap_api.h | 227 u16 l3_proto);
|
H A D | vcap_api_client.h | 167 int vcap_val_rule(struct vcap_rule *rule, u16 l3_proto);
|
H A D | vcap_api_debugfs_kunit.c | 39 u16 l3_proto) 35 test_val_keyset(struct net_device *ndev, struct vcap_admin *admin, struct vcap_rule *rule, struct vcap_keyset_list *kslist, u16 l3_proto) argument
|
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_tc_flower.c | 95 st->l3_proto = be16_to_cpu(match.key->n_proto); 96 if (!lan966x_tc_is_known_etype(st, st->l3_proto)) { 98 st->l3_proto, ~0); 101 } else if (st->l3_proto == ETH_P_IP) { 106 } else if (st->l3_proto == ETH_P_IPV6 && 109 } else if (st->l3_proto == ETH_P_SNAP && 130 st->l3_proto, ~0); 226 u16 *l3_proto) 231 .l3_proto = ETH_P_ALL, 247 if (l3_proto) 223 lan966x_tc_flower_use_dissectors(struct flow_cls_offload *f, struct vcap_admin *admin, struct vcap_rule *vrule, u16 *l3_proto) argument 447 u16 l3_proto = ETH_P_ALL; local [all...] |
H A D | lan966x_vcap_impl.c | 126 u16 l3_proto) 135 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IP) { 149 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IPV6) { 186 u16 l3_proto) 196 if (l3_proto == ETH_P_ALL) 199 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_SNAP) { 208 if (l3_proto 124 lan966x_vcap_is1_get_port_keysets(struct net_device *ndev, int lookup, struct vcap_keyset_list *keysetlist, u16 l3_proto) argument 184 lan966x_vcap_is2_get_port_keysets(struct net_device *dev, int lookup, struct vcap_keyset_list *keysetlist, u16 l3_proto) 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) argument [all...] |
/linux-master/include/uapi/linux/ |
H A D | atmsap.h | 114 unsigned char l3_proto; /* layer 3 protocol */ member in struct:atm_blli 124 struct { /* if l3_proto = ATM_L3_H310 */ 131 struct { /* if l3_proto = ATM_L3_TR9577 */ 160 return blli.l2_proto || blli.l3_proto;
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | en_accel.h | 59 __be16 l3_proto; local 62 l3_proto = vlan_get_protocol(skb); 63 switch (l3_proto) { 77 swp_spec.l3_proto = l3_proto;
|
H A D | ipsec_rxtx.c | 226 u8 l3_proto; local 243 l3_proto = (x->props.family == AF_INET) ? 251 eseg->trailer |= (l3_proto == IPPROTO_ESP) ? 255 eseg->trailer |= (l3_proto == IPPROTO_ESP) ?
|
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_vcap_impl.c | 424 u16 l3_proto) 434 if (l3_proto == ETH_P_ALL) 437 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IP) 453 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IPV6) 469 if (l3_proto != ETH_P_IP && l3_proto != ETH_P_IPV6) 478 u16 l3_proto) 488 if (l3_proto 421 sparx5_vcap_is0_get_port_keysets(struct net_device *ndev, int lookup, struct vcap_keyset_list *keysetlist, u16 l3_proto) argument 475 sparx5_vcap_is2_get_port_keysets(struct net_device *ndev, int lookup, struct vcap_keyset_list *keysetlist, u16 l3_proto) argument 605 sparx5_vcap_es0_get_port_keysets(struct net_device *ndev, struct vcap_keyset_list *keysetlist, u16 l3_proto) argument 629 sparx5_vcap_es2_get_port_keysets(struct net_device *ndev, int lookup, struct vcap_keyset_list *keysetlist, u16 l3_proto) 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) 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) argument 1534 sparx5_vcap_is0_set_port_keyset(struct net_device *ndev, int lookup, enum vcap_keyfield_set keyset, int l3_proto) argument 1623 sparx5_vcap_is2_set_port_keyset(struct net_device *ndev, int lookup, enum vcap_keyfield_set keyset, int l3_proto) argument 1716 sparx5_vcap_es2_set_port_keyset(struct net_device *ndev, int lookup, enum vcap_keyfield_set keyset, int l3_proto) 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) argument [all...] |
H A D | sparx5_tc_flower.c | 36 u16 l3_proto; /* protocol specified in the template */ member in struct:sparx5_tc_flower_template 94 st->l3_proto = be16_to_cpu(mt.key->n_proto); 95 if (!sparx5_vcap_is_known_etype(st->admin, st->l3_proto)) { 97 st->l3_proto, ~0); 100 } else if (st->l3_proto == ETH_P_IP) { 105 } else if (st->l3_proto == ETH_P_IPV6) { 394 u16 l3_proto, 420 l3_proto, 453 if (l3_proto == ETH_P_ALL && count < portkeysetlist.cnt) 1029 u16 l3_proto) 391 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) argument 1027 sparx5_tc_flower_simplify_rule(struct vcap_admin *admin, struct vcap_rule *vrule, u16 l3_proto) argument [all...] |
H A D | sparx5_vcap_impl.h | 195 u16 l3_proto, 201 u16 l3_proto, enum vcap_keyfield_set keyset,
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_xdp_vlan.c | 46 __u16 l3_proto; member in struct:parse_pkt 95 pkt->l3_proto = bpf_ntohs(eth_type); /* Convert to host-byte-order */
|
/linux-master/drivers/net/ethernet/amazon/ena/ |
H A D | ena_eth_com.h | 22 enum ena_eth_io_l3_proto_index l3_proto; member in struct:ena_com_tx_ctx 41 enum ena_eth_io_l3_proto_index l3_proto; member in struct:ena_com_rx_ctx
|
H A D | ena_eth_com.c | 346 ena_rx_ctx->l3_proto = cdesc->status & 366 "l3_proto %d l4_proto %d l3_csum_err %d l4_csum_err %d hash %d frag %d cdesc_status %x\n", 367 ena_rx_ctx->l3_proto, ena_rx_ctx->l4_proto, ena_rx_ctx->l3_csum_err, 467 desc->meta_ctrl |= ena_tx_ctx->l3_proto &
|
H A D | ena_netdev.c | 1109 if (unlikely((ena_rx_ctx->l3_proto == ENA_ETH_IO_L3_PROTO_IPV4) && 1255 rx_ring->qid, ena_rx_ctx.descs, ena_rx_ctx.l3_proto, 2434 ena_tx_ctx->l3_proto = ENA_ETH_IO_L3_PROTO_IPV4; 2442 ena_tx_ctx->l3_proto = ENA_ETH_IO_L3_PROTO_IPV6;
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_arfs.c | 352 * @l3_proto: ETH_P_IP or ETH_P_IPV6 in network order 360 ice_arfs_is_perfect_flow_set(struct ice_hw *hw, __be16 l3_proto, u8 l4_proto) argument 368 if (l3_proto == htons(ETH_P_IP) && l4_proto == IPPROTO_UDP) 370 else if (l3_proto == htons(ETH_P_IP) && l4_proto == IPPROTO_TCP) 372 else if (l3_proto == htons(ETH_P_IPV6) && l4_proto == IPPROTO_UDP) 374 else if (l3_proto == htons(ETH_P_IPV6) && l4_proto == IPPROTO_TCP)
|
H A D | ice_ethtool_fdir.c | 775 * @l3_proto: ICE_FLOW_SEG_HDR_IPV4 or ICE_FLOW_SEG_HDR_IPV6 784 enum ice_flow_seg_hdr l3_proto, 792 if (l3_proto == ICE_FLOW_SEG_HDR_IPV4) { 795 } else if (l3_proto == ICE_FLOW_SEG_HDR_IPV6) { 812 ICE_FLOW_SET_HDRS(seg, l3_proto | l4_proto); 783 ice_set_init_fdir_seg(struct ice_flow_seg_info *seg, enum ice_flow_seg_hdr l3_proto, enum ice_flow_seg_hdr l4_proto) argument
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | txrx.h | 414 __be16 l3_proto; member in struct:mlx5e_swp_spec 436 if (swp_spec->l3_proto == htons(ETH_P_IPV6)) 450 if (swp_spec->l3_proto == htons(ETH_P_IPV6))
|
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ethtool.c | 1381 fs->h_u.ether_spec.h_proto = entry->key.l3_proto; 1382 fs->m_u.ether_spec.h_proto = entry->msk.l3_proto; 1564 entry->msk.l3_proto = fs->m_u.ether_spec.h_proto; 1565 entry->key.l3_proto = fs->h_u.ether_spec.h_proto & entry->msk.l3_proto;
|
H A D | nfp_net.h | 758 __be16 l3_proto; member in union:nfp_fs_entry::__anon1581::__anon1585
|
/linux-master/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_fp.c | 179 __be16 l3_proto; local 184 l3_proto = vlan_get_protocol(skb); 185 if (l3_proto == htons(ETH_P_IPV6) &&
|
/linux-master/drivers/net/ethernet/marvell/ |
H A D | mvneta.c | 1784 static u32 mvneta_txq_desc_csum(int l3_offs, int l3_proto, argument 1796 if (l3_proto == htons(ETH_P_IP)) 1959 __be16 l3_proto = vlan_get_protocol(skb); local 1962 if (l3_proto == htons(ETH_P_IP)) { 1968 } else if (l3_proto == htons(ETH_P_IPV6)) { 1979 l3_proto, ip_hdr_len, l4_proto);
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.c | 685 __be16 l3_proto = vlan_get_protocol(skb); local 697 if (l3_proto == htons(ETH_P_IP)) {
|