Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/accel/
Daccel.h12 __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-v4.19/drivers/net/ethernet/qlogic/qed/
Dqed_dcbx.c111 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-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_flower.c117 fs->val.ethtype = ethtype_key; in cxgb4_process_flow_match()
118 fs->mask.ethtype = ethtype_mask; in cxgb4_process_flow_match()
240 if (fs->val.ethtype == ETH_P_8021Q) { in cxgb4_process_flow_match()
243 fs->val.ethtype = 0; in cxgb4_process_flow_match()
244 fs->mask.ethtype = 0; in cxgb4_process_flow_match()
Dcxgb4_filter.c257 unsupported(fconf, ETHERTYPE_F, fs->val.ethtype, in validate_filter()
258 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()
775 if (fs->val.ethtype && !fs->mask.ethtype) in fill_default_mask()
776 fs->mask.ethtype |= ~0; in fill_default_mask()
913 ntuple_mask |= (u64)fs->mask.ethtype << tp->ethertype_shift; in is_filter_exact_match()
974 if (tp->ethertype_shift >= 0 && fs->mask.ethtype) in hash_filter_ntuple()
975 ntuple |= (u64)(fs->val.ethtype) << tp->ethertype_shift; in hash_filter_ntuple()
Dt4fw_api.h181 __be16 ethtype; member
213 __be16 ethtype; member
751 __be16 ethtype; member
Dcxgb4.h1099 uint32_t ethtype:ETHTYPE_BITWIDTH; /* Ethernet type */ member
Dsge.c1646 sizeof(wr->ethtype) + in cxgb4_vf_eth_xmit()
/Linux-v4.19/drivers/infiniband/hw/usnic/
Dusnic_fwd.h101 filter->u.usnic.ethtype = ETH_P_IBOE; in usnic_fwd_init_usnic_filter()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c352 MLX5_SET(vlan, vlan, ethtype, fte->action.vlan[0].ethtype); in mlx5_cmd_set_fte()
358 MLX5_SET(vlan, vlan, ethtype, fte->action.vlan[1].ethtype); in mlx5_cmd_set_fte()
Deswitch_offloads.c73 flow_act.vlan[0].ethtype = ntohs(attr->vlan_proto[0]); in mlx5_eswitch_add_offloaded_rule()
77 flow_act.vlan[1].ethtype = ntohs(attr->vlan_proto[1]); in mlx5_eswitch_add_offloaded_rule()
/Linux-v4.19/include/linux/mlx5/
Dfs.h151 u16 ethtype; member
Dmlx5_ifc.h2407 u8 ethtype[0x10]; member
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/
Di40e_prototype.h77 u8 *mac_addr, u16 ethtype, u16 flags,
/Linux-v4.19/drivers/net/ethernet/cisco/enic/
Dvnic_devcmd.h577 u16 ethtype; member
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_prototype.h377 u8 *mac_addr, u16 ethtype, u16 flags,
Di40e_common.c4282 u8 *mac_addr, u16 ethtype, u16 flags, in i40e_aq_add_rem_control_packet_filter() argument
4311 cmd->etype = cpu_to_le16(ethtype); in i40e_aq_add_rem_control_packet_filter()
4339 u16 ethtype = I40E_FLOW_CONTROL_ETHTYPE; in i40e_add_filter_to_drop_tx_flow_control_frames() local
4342 status = i40e_aq_add_rem_control_packet_filter(hw, NULL, ethtype, flag, in i40e_add_filter_to_drop_tx_flow_control_frames()
/Linux-v4.19/include/linux/qed/
Dqed_if.h105 bool ethtype; member
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c1172 sizeof(wr->ethtype) + in t4vf_eth_xmit()
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dtg3.c17994 char *ethtype; in tg3_init_one() local
17997 ethtype = "10/100Base-TX"; in tg3_init_one()
17999 ethtype = "1000Base-SX"; in tg3_init_one()
18001 ethtype = "10/100/1000Base-T"; in tg3_init_one()
18005 tg3_phy_string(tp), ethtype, in tg3_init_one()