/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/accel/ |
D | accel.h | 12 __be16 *ethtype; in is_metadata_hdr_valid() local 16 ethtype = (__be16 *)(skb->data + ETH_ALEN * 2); in is_metadata_hdr_valid() 17 if (*ethtype != cpu_to_be16(MLX5E_METADATA_ETHER_TYPE)) in is_metadata_hdr_valid()
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/ |
D | qed_dcbx.c | 111 bool ethtype; in qed_dcbx_default_tlv() local 114 ethtype = qed_dcbx_ieee_app_ethtype(app_info_bitmap); in qed_dcbx_default_tlv() 116 ethtype = qed_dcbx_app_ethtype(app_info_bitmap); in qed_dcbx_default_tlv() 118 return !!(ethtype && (proto_id == QED_ETH_TYPE_DEFAULT)); in qed_dcbx_default_tlv() 136 bool ethtype; in qed_dcbx_fcoe_tlv() local 139 ethtype = qed_dcbx_ieee_app_ethtype(app_info_bitmap); in qed_dcbx_fcoe_tlv() 141 ethtype = qed_dcbx_app_ethtype(app_info_bitmap); in qed_dcbx_fcoe_tlv() 143 return !!(ethtype && (proto_id == QED_ETH_TYPE_FCOE)); in qed_dcbx_fcoe_tlv() 148 bool ethtype; in qed_dcbx_roce_tlv() local 151 ethtype = qed_dcbx_ieee_app_ethtype(app_info_bitmap); in qed_dcbx_roce_tlv() [all …]
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_tc_flower.c | 113 fs->val.ethtype = ethtype_key; in cxgb4_process_flow_match() 114 fs->mask.ethtype = ethtype_mask; in cxgb4_process_flow_match() 213 if (fs->val.ethtype == ETH_P_8021Q) { in cxgb4_process_flow_match() 214 fs->val.ethtype = 0; in cxgb4_process_flow_match() 215 fs->mask.ethtype = 0; in cxgb4_process_flow_match()
|
D | cxgb4_filter.c | 258 unsupported(fconf, ETHERTYPE_F, fs->val.ethtype, in validate_filter() 259 fs->mask.ethtype) || in validate_filter() 619 fwr->ethtype = htons(f->fs.val.ethtype); in set_filter_wr() 620 fwr->ethtypem = htons(f->fs.mask.ethtype); in set_filter_wr() 797 if (fs->val.ethtype && !fs->mask.ethtype) in fill_default_mask() 798 fs->mask.ethtype |= ~0; in fill_default_mask() 935 ntuple_mask |= (u64)fs->mask.ethtype << tp->ethertype_shift; in is_filter_exact_match() 996 if (tp->ethertype_shift >= 0 && fs->mask.ethtype) in hash_filter_ntuple() 997 ntuple |= (u64)(fs->val.ethtype) << tp->ethertype_shift; in hash_filter_ntuple()
|
D | t4fw_api.h | 181 __be16 ethtype; member 213 __be16 ethtype; member 751 __be16 ethtype; member
|
D | cxgb4.h | 1143 uint32_t ethtype:ETHTYPE_BITWIDTH; /* Ethernet type */ member
|
D | sge.c | 1723 sizeof(wr->ethtype) + in cxgb4_vf_eth_xmit()
|
/Linux-v5.4/drivers/infiniband/hw/usnic/ |
D | usnic_fwd.h | 101 filter->u.usnic.ethtype = ETH_P_IBOE; in usnic_fwd_init_usnic_filter()
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/ |
D | cmsg.h | 241 __be16 ethtype; member 247 __be16 ethtype; member
|
D | action.c | 56 push_mpls->ethtype = act->mpls_push.proto; in nfp_fl_push_mpls() 70 pop_mpls->ethtype = act->mpls_pop.proto; in nfp_fl_pop_mpls()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_cmd.c | 469 MLX5_SET(vlan, vlan, ethtype, fte->action.vlan[0].ethtype); in mlx5_cmd_set_fte() 475 MLX5_SET(vlan, vlan, ethtype, fte->action.vlan[1].ethtype); in mlx5_cmd_set_fte()
|
D | eswitch_offloads.c | 159 flow_act.vlan[0].ethtype = ntohs(attr->vlan_proto[0]); in mlx5_eswitch_add_offloaded_rule() 163 flow_act.vlan[1].ethtype = ntohs(attr->vlan_proto[1]); in mlx5_eswitch_add_offloaded_rule() 1776 flow_act.vlan[0].ethtype = ETH_P_8021Q; in esw_vport_ingress_prio_tag_config()
|
/Linux-v5.4/include/linux/mlx5/ |
D | fs.h | 187 u16 ethtype; member
|
D | mlx5_ifc.h | 2777 u8 ethtype[0x10]; member
|
/Linux-v5.4/drivers/net/ethernet/cisco/enic/ |
D | vnic_devcmd.h | 577 u16 ethtype; member
|
/Linux-v5.4/drivers/net/ethernet/intel/ice/ |
D | ice.h | 238 u16 ethtype; /* Ethernet protocol for pause frame */ member
|
D | ice_lib.c | 2433 list->fltr_info.l_data.ethertype_mac.ethertype = vsi->ethtype; in ice_vsi_add_rem_eth_mac() 2536 vsi->ethtype = ETH_P_PAUSE; in ice_vsi_setup()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | fs_dr.c | 200 u16 n_ethtype = vlan->ethtype; in create_action_push_vlan()
|
/Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
D | i40e_prototype.h | 393 u8 *mac_addr, u16 ethtype, u16 flags,
|
D | i40e_common.c | 4333 u8 *mac_addr, u16 ethtype, u16 flags, in i40e_aq_add_rem_control_packet_filter() argument 4362 cmd->etype = cpu_to_le16(ethtype); in i40e_aq_add_rem_control_packet_filter() 4390 u16 ethtype = I40E_FLOW_CONTROL_ETHTYPE; in i40e_add_filter_to_drop_tx_flow_control_frames() local 4393 status = i40e_aq_add_rem_control_packet_filter(hw, NULL, ethtype, flag, in i40e_add_filter_to_drop_tx_flow_control_frames()
|
/Linux-v5.4/include/linux/qed/ |
D | qed_if.h | 105 bool ethtype; member
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 1172 sizeof(wr->ethtype) + in t4vf_eth_xmit()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/ |
D | tg3.c | 17957 char *ethtype; in tg3_init_one() local 17960 ethtype = "10/100Base-TX"; in tg3_init_one() 17962 ethtype = "1000Base-SX"; in tg3_init_one() 17964 ethtype = "10/100/1000Base-T"; in tg3_init_one() 17968 tg3_phy_string(tp), ethtype, in tg3_init_one()
|