/Linux-v6.1/tools/testing/selftests/net/forwarding/ |
D | tc_flower.sh | 394 local ethtype="88 47"; readonly ethtype 406 pkt="$ethtype $(mpls_lse 1048575 0 1 255)" 415 pkt="$ethtype $(mpls_lse 0 0 1 255)" 432 local ethtype="88 47"; readonly ethtype 444 pkt="$ethtype $(mpls_lse 0 7 1 255)" 453 pkt="$ethtype $(mpls_lse 0 0 1 255)" 470 local ethtype="88 47"; readonly ethtype 482 pkt="$ethtype $(mpls_lse 0 0 1 255)" 492 pkt="$ethtype $(mpls_lse 0 0 0 255) $(mpls_lse 0 0 1 255)" 509 local ethtype="88 47"; readonly ethtype [all …]
|
/Linux-v6.1/drivers/net/ethernet/qlogic/qed/ |
D | qed_dcbx.c | 85 bool ethtype; in qed_dcbx_default_tlv() local 88 ethtype = qed_dcbx_ieee_app_ethtype(app_info_bitmap); in qed_dcbx_default_tlv() 90 ethtype = qed_dcbx_app_ethtype(app_info_bitmap); in qed_dcbx_default_tlv() 92 return !!(ethtype && (proto_id == QED_ETH_TYPE_DEFAULT)); in qed_dcbx_default_tlv() 110 bool ethtype; in qed_dcbx_fcoe_tlv() local 113 ethtype = qed_dcbx_ieee_app_ethtype(app_info_bitmap); in qed_dcbx_fcoe_tlv() 115 ethtype = qed_dcbx_app_ethtype(app_info_bitmap); in qed_dcbx_fcoe_tlv() 117 return !!(ethtype && (proto_id == QED_ETH_TYPE_FCOE)); in qed_dcbx_fcoe_tlv() 122 bool ethtype; in qed_dcbx_roce_tlv() local 125 ethtype = qed_dcbx_ieee_app_ethtype(app_info_bitmap); in qed_dcbx_roce_tlv() [all …]
|
/Linux-v6.1/drivers/infiniband/hw/usnic/ |
D | usnic_fwd.h | 101 filter->u.usnic.ethtype = ETH_P_IBOE; in usnic_fwd_init_usnic_filter()
|
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_filter.c | 262 unsupported(fconf, ETHERTYPE_F, fs->val.ethtype, in validate_filter() 263 fs->mask.ethtype) || in validate_filter() 874 fwr->ethtype = htons(f->fs.val.ethtype); in set_filter_wr() 875 fwr->ethtypem = htons(f->fs.mask.ethtype); in set_filter_wr() 1070 if (fs->val.ethtype && !fs->mask.ethtype) in fill_default_mask() 1071 fs->mask.ethtype |= ~0; in fill_default_mask() 1219 ntuple_mask |= (u64)fs->mask.ethtype << tp->ethertype_shift; in is_filter_exact_match() 1280 if (tp->ethertype_shift >= 0 && fs->mask.ethtype) in hash_filter_ntuple() 1281 ntuple |= (u64)(fs->val.ethtype) << tp->ethertype_shift; in hash_filter_ntuple()
|
D | cxgb4_tc_flower.c | 195 fs->val.ethtype = ethtype_key; in cxgb4_process_flow_match() 196 fs->mask.ethtype = ethtype_mask; in cxgb4_process_flow_match() 295 if (fs->val.ethtype == ETH_P_8021Q) { in cxgb4_process_flow_match() 296 fs->val.ethtype = 0; in cxgb4_process_flow_match() 297 fs->mask.ethtype = 0; in cxgb4_process_flow_match()
|
D | t4fw_api.h | 182 __be16 ethtype; member 214 __be16 ethtype; member 800 __be16 ethtype;
|
D | cxgb4.h | 1340 uint32_t ethtype:ETHTYPE_BITWIDTH; /* Ethernet type */ member
|
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/flower/ |
D | cmsg.h | 246 __be16 ethtype; member 252 __be16 ethtype; member
|
D | action.c | 57 push_mpls->ethtype = act->mpls_push.proto; in nfp_fl_push_mpls() 71 pop_mpls->ethtype = act->mpls_pop.proto; in nfp_fl_pop_mpls()
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_cmd.c | 705 MLX5_SET(vlan, vlan, ethtype, fte->action.vlan[0].ethtype); in mlx5dr_cmd_set_fte() 711 MLX5_SET(vlan, vlan, ethtype, fte->action.vlan[1].ethtype); in mlx5dr_cmd_set_fte()
|
D | fs_dr.c | 220 u16 n_ethtype = vlan->ethtype; in create_action_push_vlan()
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_cmd.c | 587 MLX5_SET(vlan, vlan, ethtype, fte->action.vlan[0].ethtype); in mlx5_cmd_set_fte() 593 MLX5_SET(vlan, vlan, ethtype, fte->action.vlan[1].ethtype); in mlx5_cmd_set_fte()
|
D | fs_core.c | 1603 return vlan0->ethtype != vlan1->ethtype || in check_conflicting_actions_vlan()
|
D | eswitch_offloads.c | 573 flow_act.vlan[0].ethtype = ntohs(esw_attr->vlan_proto[0]); in mlx5_eswitch_add_offloaded_rule() 577 flow_act.vlan[1].ethtype = ntohs(esw_attr->vlan_proto[1]); in mlx5_eswitch_add_offloaded_rule()
|
/Linux-v6.1/include/linux/mlx5/ |
D | fs.h | 232 u16 ethtype; member
|
/Linux-v6.1/drivers/net/ethernet/cisco/enic/ |
D | vnic_devcmd.h | 564 u16 ethtype; member
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum.h | 690 int mlxsw_sp_ethtype_to_sver_type(u16 ethtype, u8 *p_sver_type); 692 u16 ethtype); 694 u16 ethtype);
|
D | spectrum.c | 469 int mlxsw_sp_ethtype_to_sver_type(u16 ethtype, u8 *p_sver_type) in mlxsw_sp_ethtype_to_sver_type() argument 471 switch (ethtype) { in mlxsw_sp_ethtype_to_sver_type() 486 u16 ethtype) in mlxsw_sp_port_egress_ethtype_set() argument 493 err = mlxsw_sp_ethtype_to_sver_type(ethtype, &sver_type); in mlxsw_sp_port_egress_ethtype_set() 502 u16 vid, u16 ethtype) in __mlxsw_sp_port_pvid_set() argument 509 err = mlxsw_sp_ethtype_to_sver_type(ethtype, &sver_type); in __mlxsw_sp_port_pvid_set() 530 u16 ethtype) in mlxsw_sp_port_pvid_set() argument 539 err = __mlxsw_sp_port_pvid_set(mlxsw_sp_port, vid, ethtype); in mlxsw_sp_port_pvid_set() 551 __mlxsw_sp_port_pvid_set(mlxsw_sp_port, mlxsw_sp_port->pvid, ethtype); in mlxsw_sp_port_pvid_set()
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
D | ingress_ofld.c | 39 flow_act.vlan[0].ethtype = ETH_P_8021Q; in esw_acl_ingress_prio_tag_create()
|
/Linux-v6.1/drivers/net/ethernet/intel/ice/ |
D | ice.h | 335 u16 ethtype; /* Ethernet protocol for pause frame */ member
|
D | ice_lib.c | 2534 vsi->ethtype = ETH_P_PAUSE; in ice_vsi_setup()
|
/Linux-v6.1/drivers/net/ethernet/intel/i40e/ |
D | i40e_prototype.h | 431 u8 *mac_addr, u16 ethtype, u16 flags,
|
D | i40e_common.c | 4402 u8 *mac_addr, u16 ethtype, u16 flags, in i40e_aq_add_rem_control_packet_filter() argument 4431 cmd->etype = cpu_to_le16(ethtype); in i40e_aq_add_rem_control_packet_filter() 4459 u16 ethtype = I40E_FLOW_CONTROL_ETHTYPE; in i40e_add_filter_to_drop_tx_flow_control_frames() local 4462 status = i40e_aq_add_rem_control_packet_filter(hw, NULL, ethtype, flag, in i40e_add_filter_to_drop_tx_flow_control_frames()
|
/Linux-v6.1/include/linux/qed/ |
D | qed_if.h | 84 bool ethtype; member
|
/Linux-v6.1/drivers/net/ethernet/broadcom/ |
D | tg3.c | 17888 char *ethtype; in tg3_init_one() local 17891 ethtype = "10/100Base-TX"; in tg3_init_one() 17893 ethtype = "1000Base-SX"; in tg3_init_one() 17895 ethtype = "10/100/1000Base-T"; in tg3_init_one() 17899 tg3_phy_string(tp), ethtype, in tg3_init_one()
|