/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/amazon/ena/ |
H A D | ena_eth_com.c | 359 ena_rx_ctx->l3_proto = cdesc->status & 379 "l3_proto %d l4_proto %d l3_csum_err %d l4_csum_err %d hash %d frag %d cdesc_status %x\n", 380 ena_rx_ctx->l3_proto, ena_rx_ctx->l4_proto, ena_rx_ctx->l3_csum_err, 480 desc->meta_ctrl |= ena_tx_ctx->l3_proto &
|
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_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, 2436 ena_tx_ctx->l3_proto = ENA_ETH_IO_L3_PROTO_IPV4; 2444 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 | 783 * @l3_proto: ICE_FLOW_SEG_HDR_IPV4 or ICE_FLOW_SEG_HDR_IPV6 792 enum ice_flow_seg_hdr l3_proto, 800 if (l3_proto == ICE_FLOW_SEG_HDR_IPV4) { 803 } else if (l3_proto == ICE_FLOW_SEG_HDR_IPV6) { 820 ICE_FLOW_SET_HDRS(seg, l3_proto | l4_proto); 791 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/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/mvpp2/ |
H A D | mvpp2_main.c | 2595 static u32 mvpp2_txq_desc_csum(int l3_offs, __be16 l3_proto, argument 2607 if (l3_proto == htons(ETH_P_IP)) { 3626 __be16 l3_proto = vlan_get_protocol(skb); local 3628 if (l3_proto == htons(ETH_P_IP)) { 3634 } else if (l3_proto == htons(ETH_P_IPV6)) { 3646 l3_proto, ip_hdr_len, l4_proto);
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.c | 688 __be16 l3_proto = vlan_get_protocol(skb); local 700 if (l3_proto == htons(ETH_P_IP)) {
|
/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/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/lan966x/ |
H A D | lan966x_tc_flower.c | 101 st->l3_proto = be16_to_cpu(match.key->n_proto); 102 if (!lan966x_tc_is_known_etype(st, st->l3_proto)) { 104 st->l3_proto, ~0); 107 } else if (st->l3_proto == ETH_P_IP) { 112 } else if (st->l3_proto == ETH_P_IPV6 && 115 } else if (st->l3_proto == ETH_P_SNAP && 136 st->l3_proto, ~0); 232 u16 *l3_proto) 237 .l3_proto = ETH_P_ALL, 253 if (l3_proto) 229 lan966x_tc_flower_use_dissectors(struct flow_cls_offload *f, struct vcap_admin *admin, struct vcap_rule *vrule, u16 *l3_proto) argument 453 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/drivers/net/ethernet/microchip/sparx5/ |
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) { 398 u16 l3_proto, 424 l3_proto, 457 if (l3_proto == ETH_P_ALL && count < portkeysetlist.cnt) 1091 u16 l3_proto) 395 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 1089 sparx5_tc_flower_simplify_rule(struct vcap_admin *admin, struct vcap_rule *vrule, u16 l3_proto) argument [all...] |
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_vcap_impl.h | 195 u16 l3_proto, 201 u16 l3_proto, enum vcap_keyfield_set keyset,
|
/linux-master/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api.c | 1987 int vcap_val_rule(struct vcap_rule *rule, u16 l3_proto) argument 2022 &matches, l3_proto);
|
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
|
H A D | vcap_api_kunit.c | 35 u16 l3_proto) 31 test_val_keyset(struct net_device *ndev, struct vcap_admin *admin, struct vcap_rule *rule, struct vcap_keyset_list *kslist, u16 l3_proto) argument
|
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_tc.h | 14 u16 l3_proto; member in struct:vcap_tc_flower_parse_usage
|
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net.h | 758 __be16 l3_proto; member in union:nfp_fs_entry::__anon1581::__anon1585
|