/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_filters.c | 58 memcmp(&fsp1->h_ext, &fsp2->h_ext, sizeof(fsp2->h_ext)) || in aq_match_filter() 168 (!test_bit(be16_to_cpu(fsp->h_ext.vlan_tci) & VLAN_VID_MASK, in aq_check_approve_fvlan() 326 data->user_priority = (be16_to_cpu(fsp->h_ext.vlan_tci) in aq_set_data_fl2() 417 (be16_to_cpu(fsp->h_ext.vlan_tci) & VLAN_VID_MASK)) { in aq_set_data_fvlan() 423 aq_vlans[location].vlan_id = be16_to_cpu(fsp->h_ext.vlan_tci) in aq_set_data_fvlan() 439 if (be16_to_cpu(rule->aq_fsp.h_ext.vlan_tci) == vlan_id) in aq_del_fvlan_by_vlan() 443 be16_to_cpu(rule->aq_fsp.h_ext.vlan_tci) == vlan_id) { in aq_del_fvlan_by_vlan()
|
/kernel/linux/linux-5.10/drivers/net/dsa/ |
D | bcm_sf2_cfp.c | 375 ip_frag = !!(be32_to_cpu(fs->h_ext.data[0]) & 1); in bcm_sf2_cfp_ipv4_rule_set() 379 vlan_tci = fs->h_ext.vlan_tci; in bcm_sf2_cfp_ipv4_rule_set() 597 rule->fs.h_ext.data[0] != fs->h_ext.data[0]) in bcm_sf2_cfp_rule_cmp() 617 ret |= rule->fs.h_ext.vlan_tci != fs->h_ext.vlan_tci; in bcm_sf2_cfp_rule_cmp() 655 ip_frag = !!(be32_to_cpu(fs->h_ext.data[0]) & 1); in bcm_sf2_cfp_ipv6_rule_set() 659 vlan_tci = fs->h_ext.vlan_tci; in bcm_sf2_cfp_ipv6_rule_set() 887 vid = be16_to_cpu(fs->h_ext.vlan_tci) & VLAN_VID_MASK; in bcm_sf2_cfp_rule_insert() 890 if (cpu_to_be32(fs->h_ext.data[1]) & 1) in bcm_sf2_cfp_rule_insert()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs_ethtool.c | 362 set_cvlan(outer_headers_c, outer_headers_v, fs->h_ext.vlan_tci); in set_flow_attrs() 366 mask_spec(fs->m_ext.h_dest, fs->h_ext.h_dest, ETH_ALEN); in set_flow_attrs() 368 fs->h_ext.h_dest); in set_flow_attrs() 601 (be16_to_cpu(fs->h_ext.vlan_tci) >= VLAN_N_VID)) in validate_vlan()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool_fdir.c | 415 value = be64_to_cpu(*((__force __be64 *)fsp->h_ext.data)); in ice_parse_rx_flow_user_data() 1517 memcpy(input->ext_data.usr_def, fsp->h_ext.data, in ice_set_fdir_input_set() 1519 input->ext_data.vlan_type = fsp->h_ext.vlan_etype; in ice_set_fdir_input_set() 1520 input->ext_data.vlan_tag = fsp->h_ext.vlan_tci; in ice_set_fdir_input_set()
|
/kernel/linux/linux-5.10/include/linux/ |
D | ethtool.h | 23 struct ethtool_flow_ext h_ext; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-ethtool.c | 525 err = dpaa2_eth_prep_ext_rule(&fs->h_ext, &fs->m_ext, key, mask, fields); in dpaa2_eth_prep_cls_rule() 531 err = dpaa2_eth_prep_mac_ext_rule(&fs->h_ext, &fs->m_ext, key, in dpaa2_eth_prep_cls_rule()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 1031 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_VID_MASK; in vlan_tci_vid() 1041 return be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_CFI_MASK; in vlan_tci_cfi() 1051 return (be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_PRIO_MASK) >> in vlan_tci_prio()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/ |
D | qede_filter.c | 1518 (fs->h_ext.vlan_etype || fs->h_ext.vlan_tci)) { in qede_flow_spec_validate_unused() 1524 (fs->h_ext.data[0] || fs->h_ext.data[1])) { in qede_flow_spec_validate_unused()
|
/kernel/linux/linux-5.10/net/ethtool/ |
D | ioctl.c | 844 .h_ext = crxnfc.fs.h_ext, in ethtool_rxnfc_copy_from_compat() 883 .h_ext = rxnfc->fs.h_ext, in ethtool_rxnfc_copy_to_compat() 3154 const struct ethtool_flow_ext *ext_h_spec = &fs->h_ext; in ethtool_rx_flow_rule_create() 3188 const struct ethtool_flow_ext *ext_h_spec = &fs->h_ext; in ethtool_rx_flow_rule_create()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 2563 fsp->h_ext.vlan_tci = rule->filter.formatted.vlan_id; in ixgbe_get_ethtool_fdir_entry() 2565 fsp->h_ext.vlan_etype = rule->filter.formatted.flex_bytes; in ixgbe_get_ethtool_fdir_entry() 2567 fsp->h_ext.data[1] = htonl(rule->filter.formatted.vm_pool); in ixgbe_get_ethtool_fdir_entry() 2853 (unsigned char)ntohl(fsp->h_ext.data[1]); in ixgbe_add_ethtool_fdir_entry() 2856 input->filter.formatted.vlan_id = fsp->h_ext.vlan_tci; in ixgbe_add_ethtool_fdir_entry() 2859 fsp->h_ext.vlan_etype; in ixgbe_add_ethtool_fdir_entry()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 609 &fs->h_ext.h_dest, &fs->m_ext.h_dest, in bcmgenet_hfb_create_rxnfc_filter() 610 sizeof(fs->h_ext.h_dest)); in bcmgenet_hfb_create_rxnfc_filter() 617 &fs->h_ext.vlan_etype, in bcmgenet_hfb_create_rxnfc_filter() 619 sizeof(fs->h_ext.vlan_etype)); in bcmgenet_hfb_create_rxnfc_filter() 621 &fs->h_ext.vlan_tci, in bcmgenet_hfb_create_rxnfc_filter() 623 sizeof(fs->h_ext.vlan_tci)); in bcmgenet_hfb_create_rxnfc_filter()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | ethtool.h | 315 struct ethtool_flow_ext h_ext; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | ethtool_common.c | 797 rule->h_ext.vlan_tci = spec.outer_vid; in efx_ethtool_get_class_rule() 1116 spec.outer_vid = rule->h_ext.vlan_tci; in efx_ethtool_set_class_rule()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
D | ethtool.c | 935 rule->h_ext.vlan_tci = spec.outer_vid; in ef4_ethtool_get_class_rule() 1209 spec.outer_vid = rule->h_ext.vlan_tci; in ef4_ethtool_set_class_rule()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 1399 if (be16_to_cpu(cmd->fs.h_ext.vlan_tci) >= VLAN_N_VID) in mlx4_en_validate_flow() 1421 spec_l2->eth.vlan_id = cmd->fs.h_ext.vlan_tci; in mlx4_en_ethtool_add_mac_rule() 1441 memcpy(&mac, cmd->fs.h_ext.h_dest, ETH_ALEN); in mlx4_en_ethtool_add_mac_rule_by_ipv4()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | ethtool.h | 370 struct ethtool_flow_ext h_ext; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | ethtool.h | 995 struct ethtool_flow_ext h_ext; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 5502 if (fs->h_ext.vlan_etype) { in hclge_fd_check_ext_tuple() 5507 if (!fs->h_ext.vlan_tci) in hclge_fd_check_ext_tuple() 5511 be16_to_cpu(fs->h_ext.vlan_tci) >= VLAN_N_VID) { in hclge_fd_check_ext_tuple() 5514 ntohs(fs->h_ext.vlan_tci), VLAN_N_VID - 1); in hclge_fd_check_ext_tuple() 5529 if (is_zero_ether_addr(fs->h_ext.h_dest)) in hclge_fd_check_ext_tuple() 5554 (fs->h_ext.data[0] != 0 || fs->h_ext.data[1] != 0)) { in hclge_fd_check_spec() 5818 rule->tuples.vlan_tag1 = be16_to_cpu(fs->h_ext.vlan_tci); in hclge_fd_get_tuple() 5823 ether_addr_copy(rule->tuples.dst_mac, fs->h_ext.h_dest); in hclge_fd_get_tuple() 6200 fs->h_ext.vlan_tci = cpu_to_be16(rule->tuples.vlan_tag1); in hclge_fd_get_ext_info() 6207 ether_addr_copy(fs->h_ext.h_dest, rule->tuples.dst_mac); in hclge_fd_get_ext_info()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/ |
D | igc_ethtool.c | 961 fsp->h_ext.vlan_tci = htons(rule->filter.vlan_tci); in igc_ethtool_get_nfc_rule() 1190 rule->filter.vlan_tci = ntohs(fsp->h_ext.vlan_tci); in igc_ethtool_init_nfc_rule()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
D | igb_ethtool.c | 2470 fsp->h_ext.vlan_tci = rule->filter.vlan_tci; in igb_get_ethtool_nfc_entry() 2964 input->filter.vlan_tci = fsp->h_ext.vlan_tci; in igb_add_ethtool_nfc_entry()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 3160 value = be64_to_cpu(*((__be64 *)fsp->h_ext.data)); in i40e_parse_rx_flow_user_data() 3202 *((__be64 *)fsp->h_ext.data) = cpu_to_be64(value); in i40e_fill_rx_flow_user_data()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ethtool.c | 1686 fs->h_ext.vlan_tci = cpu_to_be16(dfs->val.ivlan); in cxgb4_fill_filter_rule()
|
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/ |
D | chip.c | 1787 vid = be16_to_cpu(fs->h_ext.vlan_tci) & VLAN_VID_MASK; in mv88e6xxx_policy_insert()
|