/linux/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-ethtool.c | 706 rxnfc->rule_cnt = 0; in dpaa2_eth_get_rxnfc() 707 rxnfc->rule_cnt = dpaa2_eth_num_cls_rules(priv); in dpaa2_eth_get_rxnfc() 723 if (j == rxnfc->rule_cnt) in dpaa2_eth_get_rxnfc() 727 rxnfc->rule_cnt = j; in dpaa2_eth_get_rxnfc()
|
/linux/drivers/net/ethernet/freescale/enetc/ |
A D | enetc_ethtool.c | 429 rxnfc->rule_cnt = 0; in enetc_get_rxnfc() 432 rxnfc->rule_cnt++; in enetc_get_rxnfc() 449 if (j == rxnfc->rule_cnt) in enetc_get_rxnfc() 454 rxnfc->rule_cnt = j; in enetc_get_rxnfc()
|
/linux/drivers/net/ethernet/cisco/enic/ |
A D | enic_ethtool.c | 412 if (cnt == cmd->rule_cnt) in enic_grxclsrlall() 418 cmd->rule_cnt = cnt; in enic_grxclsrlall() 515 cmd->rule_cnt = enic->rfs_h.max - enic->rfs_h.free; in enic_get_rxnfc()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_sp.c | 879 hdr->rule_cnt = (u8)rule_cnt; in bnx2x_vlan_mac_set_rdata_hdr_e2() 944 rule_cnt++; in bnx2x_set_one_mac_e2() 965 rule_cnt); in bnx2x_set_one_mac_e2() 1075 int rule_cnt = rule_idx + 1; in bnx2x_set_one_vlan_e2() local 1098 rule_cnt++; in bnx2x_set_one_vlan_e2() 1114 rule_cnt); in bnx2x_set_one_vlan_e2() 1125 int rule_cnt = rule_idx + 1; in bnx2x_set_one_vlan_mac_e2() local 1153 rule_cnt++; in bnx2x_set_one_vlan_mac_e2() 1171 rule_cnt); in bnx2x_set_one_vlan_mac_e2() 2391 u8 rule_cnt) in bnx2x_rx_mode_set_rdata_hdr_e2() argument [all …]
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_flows.c | 469 u32 rule_cnt = nfc->rule_cnt; in otx2_get_all_flows() local 475 while ((!err || err == -ENOENT) && idx < rule_cnt) { in otx2_get_all_flows() 481 nfc->rule_cnt = rule_cnt; in otx2_get_all_flows()
|
/linux/net/ethtool/ |
A D | ioctl.c | 869 .rule_cnt = crxnfc.rule_cnt, in ethtool_rxnfc_copy_from_compat() 908 .rule_cnt = rxnfc->rule_cnt, in ethtool_rxnfc_copy_to_compat() 937 rxnfc->rule_cnt * sizeof(u32))) in ethtool_rxnfc_copy_to_user() 1017 if (info.rule_cnt > 0) { in ethtool_get_rxnfc() 1018 if (info.rule_cnt <= KMALLOC_MAX_SIZE / sizeof(u32)) in ethtool_get_rxnfc() 1019 rule_buf = kcalloc(info.rule_cnt, sizeof(u32), in ethtool_get_rxnfc()
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
A D | aq_filters.c | 773 if (unlikely(count == cmd->rule_cnt)) in aq_get_rxnfc_all_rules() 779 cmd->rule_cnt = count; in aq_get_rxnfc_all_rules()
|
A D | aq_ethtool.c | 512 cmd->rule_cnt = aq_get_rxnfc_count_all_rules(aq_nic); in aq_ethtool_get_rxnfc()
|
/linux/drivers/net/ethernet/freescale/ |
A D | gianfar_ethtool.c | 1370 if (i == cmd->rule_cnt) in gfar_get_cls_all() 1377 cmd->rule_cnt = i; in gfar_get_cls_all() 1428 cmd->rule_cnt = priv->rx_list.count; in gfar_get_nfc()
|
/linux/drivers/net/ethernet/sfc/falcon/ |
A D | ethtool.c | 985 info->rule_cnt = in ef4_ethtool_get_rxnfc() 1000 rule_locs, info->rule_cnt); in ef4_ethtool_get_rxnfc() 1003 info->rule_cnt = rc; in ef4_ethtool_get_rxnfc()
|
/linux/drivers/net/ethernet/sfc/ |
A D | ethtool_common.c | 875 info->rule_cnt = in efx_ethtool_get_rxnfc() 894 rule_locs, info->rule_cnt); in efx_ethtool_get_rxnfc() 897 info->rule_cnt = rc; in efx_ethtool_get_rxnfc()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_debugfs.c | 1522 int i, ret, rule_cnt; in hclge_dbg_dump_fd_tcam() local 1546 rule_cnt = hclge_dbg_get_rules_location(hdev, rule_locs); in hclge_dbg_dump_fd_tcam() 1547 if (rule_cnt < 0) { in hclge_dbg_dump_fd_tcam() 1548 ret = rule_cnt; in hclge_dbg_dump_fd_tcam() 1555 for (i = 0; i < rule_cnt; i++) { in hclge_dbg_dump_fd_tcam()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_fs_ethtool.c | 823 while ((!err || err == -ENOENT) && idx < info->rule_cnt) { in mlx5e_ethtool_get_all_flows() 969 info->rule_cnt = priv->fs.ethtool.tot_num_rules; in mlx5e_ethtool_get_rxnfc()
|
/linux/include/linux/ |
A D | ethtool.h | 36 u32 rule_cnt; member
|
/linux/drivers/net/dsa/ |
A D | bcm_sf2_cfp.c | 1097 nfc->rule_cnt = rules_cnt; in bcm_sf2_cfp_rule_get_all() 1114 nfc->rule_cnt = bitmap_weight(priv->cfp.unique, in bcm_sf2_get_rxnfc()
|
/linux/drivers/net/ethernet/intel/iavf/ |
A D | iavf_ethtool.c | 1210 if (cnt == cmd->rule_cnt) { in iavf_get_fdir_fltr_ids() 1221 cmd->rule_cnt = cnt; in iavf_get_fdir_fltr_ids() 1770 cmd->rule_cnt = adapter->fdir_active_fltr; in iavf_get_rxnfc()
|
/linux/drivers/net/ethernet/intel/igc/ |
A D | igc_ethtool.c | 1012 if (cnt == cmd->rule_cnt) { in igc_ethtool_get_nfc_rules() 1022 cmd->rule_cnt = cnt; in igc_ethtool_get_nfc_rules() 1079 cmd->rule_cnt = adapter->nfc_rule_count; in igc_ethtool_get_rxnfc()
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_ethtool_fdir.c | 244 if (cnt == cmd->rule_cnt) { in ice_get_fdir_fltr_ids() 255 cmd->rule_cnt = cnt; in ice_get_fdir_fltr_ids()
|
/linux/include/uapi/linux/ |
A D | ethtool.h | 1139 __u32 rule_cnt; member
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_ethtool.c | 980 if (j == cmd->rule_cnt) in bnxt_grxclsrlall() 985 if (j == cmd->rule_cnt) in bnxt_grxclsrlall() 988 cmd->rule_cnt = j; in bnxt_grxclsrlall() 1224 cmd->rule_cnt = bp->ntp_fltr_count; in bnxt_get_rxnfc()
|
/linux/drivers/net/ethernet/qlogic/qede/ |
A D | qede_filter.c | 1302 if (cnt == info->rule_cnt) { in qede_get_cls_rule_all() 1311 info->rule_cnt = cnt; in qede_get_cls_rule_all()
|
/linux/drivers/net/ethernet/intel/igb/ |
A D | igb_ethtool.c | 2495 if (cnt == cmd->rule_cnt) in igb_get_ethtool_nfc_all() 2501 cmd->rule_cnt = cnt; in igb_get_ethtool_nfc_all() 2560 cmd->rule_cnt = adapter->nfc_filter_count; in igb_get_rxnfc()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cxgb4_ethtool.c | 1795 info->rule_cnt = in get_rxnfc() 1802 while (count < info->rule_cnt) { in get_rxnfc()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | en_ethtool.c | 1765 cmd->rule_cnt = mlx4_en_get_num_flows(priv); in mlx4_en_get_rxnfc() 1772 while ((!err || err == -ENOENT) && priority < cmd->rule_cnt) { in mlx4_en_get_rxnfc()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_ethtool.c | 2582 if (cnt == cmd->rule_cnt) in ixgbe_get_ethtool_fdir_all() 2588 cmd->rule_cnt = cnt; in ixgbe_get_ethtool_fdir_all() 2647 cmd->rule_cnt = adapter->fdir_filter_count; in ixgbe_get_rxnfc()
|