Home
last modified time | relevance | path

Searched refs:ethtype (Results 1 – 25 of 28) sorted by relevance

12

/linux/tools/testing/selftests/net/forwarding/
A Dtc_flower.sh394 local ethtype="88 47"; readonly ethtype
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)"
509 local ethtype="88 47"; readonly ethtype
530 pkt="$ethtype $(mpls_lse 0 0 1 0)"
547 local ethtype="88 47"; readonly ethtype
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/accel/
A Daccel.h11 __be16 *ethtype; in is_metadata_hdr_valid() local
15 ethtype = (__be16 *)(skb->data + ETH_ALEN * 2); in is_metadata_hdr_valid()
16 if (*ethtype != cpu_to_be16(MLX5E_METADATA_ETHER_TYPE)) in is_metadata_hdr_valid()
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_dcbx.c85 bool ethtype; in qed_dcbx_default_tlv() local
90 ethtype = qed_dcbx_app_ethtype(app_info_bitmap); in qed_dcbx_default_tlv()
110 bool ethtype; in qed_dcbx_fcoe_tlv() local
115 ethtype = qed_dcbx_app_ethtype(app_info_bitmap); in qed_dcbx_fcoe_tlv()
122 bool ethtype; in qed_dcbx_roce_tlv() local
1149 if (p_params->app_entry[i].ethtype) in qed_dcbx_set_app_data()
1730 bool ethtype; in qed_dcbnl_getapp() local
1741 if ((entry->ethtype == ethtype) && (entry->proto_id == idval)) { in qed_dcbnl_getapp()
1765 bool ethtype; in qed_dcbnl_setapp() local
1776 if ((entry->ethtype == ethtype) && (entry->proto_id == idval)) in qed_dcbnl_setapp()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_filter.c262 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()
A Dcxgb4_tc_flower.c195 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()
A Dt4fw_api.h182 __be16 ethtype; member
214 __be16 ethtype; member
799 __be16 ethtype; member
A Dcxgb4.h1340 uint32_t ethtype:ETHTYPE_BITWIDTH; /* Ethernet type */ member
/linux/drivers/infiniband/hw/usnic/
A Dusnic_fwd.h101 filter->u.usnic.ethtype = ETH_P_IBOE; in usnic_fwd_init_usnic_filter()
/linux/drivers/net/ethernet/netronome/nfp/flower/
A Dcmsg.h247 __be16 ethtype; member
253 __be16 ethtype; member
A Daction.c57 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/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_cmd.c695 MLX5_SET(vlan, vlan, ethtype, fte->action.vlan[0].ethtype); in mlx5dr_cmd_set_fte()
701 MLX5_SET(vlan, vlan, ethtype, fte->action.vlan[1].ethtype); in mlx5dr_cmd_set_fte()
A Dfs_dr.c210 u16 n_ethtype = vlan->ethtype; in create_action_push_vlan()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Dfs_cmd.c548 MLX5_SET(vlan, vlan, ethtype, fte->action.vlan[0].ethtype); in mlx5_cmd_set_fte()
554 MLX5_SET(vlan, vlan, ethtype, fte->action.vlan[1].ethtype); in mlx5_cmd_set_fte()
A Deswitch_offloads.c537 flow_act.vlan[0].ethtype = ntohs(esw_attr->vlan_proto[0]); in mlx5_eswitch_add_offloaded_rule()
541 flow_act.vlan[1].ethtype = ntohs(esw_attr->vlan_proto[1]); in mlx5_eswitch_add_offloaded_rule()
/linux/include/linux/mlx5/
A Dfs.h203 u16 ethtype; member
/linux/drivers/net/ethernet/cisco/enic/
A Dvnic_devcmd.h577 u16 ethtype; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
A Dingress_ofld.c39 flow_act.vlan[0].ethtype = ETH_P_8021Q; in esw_acl_ingress_prio_tag_create()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum.h642 int mlxsw_sp_ethtype_to_sver_type(u16 ethtype, u8 *p_sver_type);
644 u16 ethtype);
646 u16 ethtype);
A Dspectrum.c389 int mlxsw_sp_ethtype_to_sver_type(u16 ethtype, u8 *p_sver_type) in mlxsw_sp_ethtype_to_sver_type() argument
391 switch (ethtype) { in mlxsw_sp_ethtype_to_sver_type()
406 u16 ethtype) in mlxsw_sp_port_egress_ethtype_set() argument
413 err = mlxsw_sp_ethtype_to_sver_type(ethtype, &sver_type); in mlxsw_sp_port_egress_ethtype_set()
422 u16 vid, u16 ethtype) in __mlxsw_sp_port_pvid_set() argument
429 err = mlxsw_sp_ethtype_to_sver_type(ethtype, &sver_type); in __mlxsw_sp_port_pvid_set()
450 u16 ethtype) in mlxsw_sp_port_pvid_set() argument
459 err = __mlxsw_sp_port_pvid_set(mlxsw_sp_port, vid, ethtype); in mlxsw_sp_port_pvid_set()
471 __mlxsw_sp_port_pvid_set(mlxsw_sp_port, mlxsw_sp_port->pvid, ethtype); in mlxsw_sp_port_pvid_set()
/linux/drivers/net/ethernet/intel/ice/
A Dice.h336 u16 ethtype; /* Ethernet protocol for pause frame */ member
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_prototype.h402 u8 *mac_addr, u16 ethtype, u16 flags,
A Di40e_common.c4302 u8 *mac_addr, u16 ethtype, u16 flags, in i40e_aq_add_rem_control_packet_filter() argument
4331 cmd->etype = cpu_to_le16(ethtype); in i40e_aq_add_rem_control_packet_filter()
4359 u16 ethtype = I40E_FLOW_CONTROL_ETHTYPE; in i40e_add_filter_to_drop_tx_flow_control_frames() local
4362 status = i40e_aq_add_rem_control_packet_filter(hw, NULL, ethtype, flag, in i40e_add_filter_to_drop_tx_flow_control_frames()
/linux/include/linux/qed/
A Dqed_if.h84 bool ethtype; member
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
A Dsge.c1172 sizeof(wr->ethtype) + in t4vf_eth_xmit()
/linux/drivers/net/ethernet/broadcom/
A Dtg3.c17885 char *ethtype; in tg3_init_one() local
17888 ethtype = "10/100Base-TX"; in tg3_init_one()
17890 ethtype = "1000Base-SX"; in tg3_init_one()
17892 ethtype = "10/100/1000Base-T"; in tg3_init_one()
17896 tg3_phy_string(tp), ethtype, in tg3_init_one()

Completed in 194 milliseconds

12