ring_cookie 571 drivers/net/dsa/bcm_sf2_cfp.c rule->fs.ring_cookie != fs->ring_cookie || ring_cookie 825 drivers/net/dsa/bcm_sf2_cfp.c __u64 ring_cookie = fs->ring_cookie; ring_cookie 832 drivers/net/dsa/bcm_sf2_cfp.c if (ring_cookie == RX_CLS_FLOW_WAKE) ring_cookie 833 drivers/net/dsa/bcm_sf2_cfp.c ring_cookie = cpu_port * SF2_NUM_EGRESS_QUEUES; ring_cookie 839 drivers/net/dsa/bcm_sf2_cfp.c port_num = ring_cookie / SF2_NUM_EGRESS_QUEUES; ring_cookie 841 drivers/net/dsa/bcm_sf2_cfp.c if (ring_cookie == RX_CLS_FLOW_DISC || ring_cookie 850 drivers/net/dsa/bcm_sf2_cfp.c queue_num = ring_cookie % SF2_NUM_EGRESS_QUEUES; ring_cookie 1591 drivers/net/dsa/mv88e6xxx/chip.c if (fs->ring_cookie == RX_CLS_FLOW_DISC) ring_cookie 168 drivers/net/ethernet/aquantia/atlantic/aq_filters.c if (fsp->ring_cookie > aq_nic->aq_nic_cfg.num_rss_queues) { ring_cookie 271 drivers/net/ethernet/aquantia/atlantic/aq_filters.c } else if (fsp->ring_cookie != RX_CLS_FLOW_DISC) { ring_cookie 272 drivers/net/ethernet/aquantia/atlantic/aq_filters.c if (fsp->ring_cookie >= aq_nic->aq_nic_cfg.num_rss_queues) { ring_cookie 310 drivers/net/ethernet/aquantia/atlantic/aq_filters.c if (fsp->ring_cookie != RX_CLS_FLOW_DISC) ring_cookie 311 drivers/net/ethernet/aquantia/atlantic/aq_filters.c data->queue = fsp->ring_cookie; ring_cookie 417 drivers/net/ethernet/aquantia/atlantic/aq_filters.c aq_vlans[location].queue = fsp->ring_cookie & 0x1FU; ring_cookie 544 drivers/net/ethernet/aquantia/atlantic/aq_filters.c if (fsp->ring_cookie != RX_CLS_FLOW_DISC) { ring_cookie 546 drivers/net/ethernet/aquantia/atlantic/aq_filters.c data->cmd |= fsp->ring_cookie << HW_ATL_RX_QUEUE_FL3L4_SHIFT; ring_cookie 2112 drivers/net/ethernet/broadcom/bcmsysport.c nfc->fs.ring_cookie = RX_CLS_FLOW_WAKE; ring_cookie 2130 drivers/net/ethernet/broadcom/bcmsysport.c if (nfc->fs.ring_cookie != RX_CLS_FLOW_WAKE) ring_cookie 994 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c fs->ring_cookie = fltr->rxq; ring_cookie 2977 drivers/net/ethernet/cadence/macb_main.c t2_scr = GEM_BFINS(QUEUE, (fs->ring_cookie) & 0xFF, t2_scr); ring_cookie 3005 drivers/net/ethernet/cadence/macb_main.c fs->flow_type, (int)fs->ring_cookie, fs->location, ring_cookie 3058 drivers/net/ethernet/cadence/macb_main.c fs->flow_type, (int)fs->ring_cookie, fs->location, ring_cookie 3148 drivers/net/ethernet/cadence/macb_main.c || (cmd->fs.ring_cookie >= bp->num_queues)) { ring_cookie 472 drivers/net/ethernet/cisco/enic/enic_ethtool.c fsp->ring_cookie = n->rq_id; ring_cookie 507 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c if (fs->ring_cookie != RX_CLS_FLOW_DISC && ring_cookie 508 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c fs->ring_cookie >= dpaa2_eth_queue_count(priv)) ring_cookie 561 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c if (fs->ring_cookie == RX_CLS_FLOW_DISC) ring_cookie 564 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c fs_act.flow_id = fs->ring_cookie; ring_cookie 375 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c if (fs->ring_cookie != RX_CLS_FLOW_DISC) { ring_cookie 377 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rfse.result = fs->ring_cookie; ring_cookie 444 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c if (rxnfc->fs.ring_cookie >= priv->num_rx_rings && ring_cookie 445 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rxnfc->fs.ring_cookie != RX_CLS_FLOW_DISC) ring_cookie 1184 drivers/net/ethernet/freescale/gianfar_ethtool.c if (rule->ring_cookie == RX_CLS_FLOW_DISC) ring_cookie 1187 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index - 1].ctrl |= (rule->ring_cookie << 10); ring_cookie 1426 drivers/net/ethernet/freescale/gianfar_ethtool.c if ((cmd->fs.ring_cookie != RX_CLS_FLOW_DISC && ring_cookie 1427 drivers/net/ethernet/freescale/gianfar_ethtool.c cmd->fs.ring_cookie >= priv->num_rx_queues) || ring_cookie 5580 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (fs->ring_cookie == RX_CLS_FLOW_DISC) { ring_cookie 5583 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u32 ring = ethtool_get_flow_spec_ring(fs->ring_cookie); ring_cookie 5584 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u8 vf = ethtool_get_flow_spec_ring_vf(fs->ring_cookie); ring_cookie 5957 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c fs->ring_cookie = RX_CLS_FLOW_DISC; ring_cookie 5961 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c fs->ring_cookie = rule->queue_id; ring_cookie 5964 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c fs->ring_cookie |= vf_id; ring_cookie 3270 drivers/net/ethernet/intel/i40e/i40e_ethtool.c fsp->ring_cookie = RX_CLS_FLOW_DISC; ring_cookie 3272 drivers/net/ethernet/intel/i40e/i40e_ethtool.c fsp->ring_cookie = rule->q_index; ring_cookie 3285 drivers/net/ethernet/intel/i40e/i40e_ethtool.c fsp->ring_cookie |= ring_vf; ring_cookie 4489 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (fsp->ring_cookie == RX_CLS_FLOW_DISC) { ring_cookie 4492 drivers/net/ethernet/intel/i40e/i40e_ethtool.c u32 ring = ethtool_get_flow_spec_ring(fsp->ring_cookie); ring_cookie 4493 drivers/net/ethernet/intel/i40e/i40e_ethtool.c u8 vf = ethtool_get_flow_spec_ring_vf(fsp->ring_cookie); ring_cookie 2470 drivers/net/ethernet/intel/igb/igb_ethtool.c fsp->ring_cookie = rule->action; ring_cookie 2928 drivers/net/ethernet/intel/igb/igb_ethtool.c if ((fsp->ring_cookie == RX_CLS_FLOW_DISC) || ring_cookie 2929 drivers/net/ethernet/intel/igb/igb_ethtool.c (fsp->ring_cookie >= adapter->num_rx_queues)) { ring_cookie 2975 drivers/net/ethernet/intel/igb/igb_ethtool.c input->action = fsp->ring_cookie; ring_cookie 897 drivers/net/ethernet/intel/igc/igc_ethtool.c fsp->ring_cookie = rule->action; ring_cookie 1363 drivers/net/ethernet/intel/igc/igc_ethtool.c if (fsp->ring_cookie == RX_CLS_FLOW_DISC || ring_cookie 1364 drivers/net/ethernet/intel/igc/igc_ethtool.c fsp->ring_cookie >= adapter->num_rx_queues) { ring_cookie 1410 drivers/net/ethernet/intel/igc/igc_ethtool.c input->action = fsp->ring_cookie; ring_cookie 2472 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c fsp->ring_cookie = RX_CLS_FLOW_DISC; ring_cookie 2474 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c fsp->ring_cookie = rule->action; ring_cookie 2691 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c if (fsp->ring_cookie == RX_CLS_FLOW_DISC) { ring_cookie 2694 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c u32 ring = ethtool_get_flow_spec_ring(fsp->ring_cookie); ring_cookie 2695 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c u8 vf = ethtool_get_flow_spec_ring_vf(fsp->ring_cookie); ring_cookie 2763 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c if (fsp->ring_cookie == RX_CLS_FLOW_DISC) ring_cookie 2766 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input->action = fsp->ring_cookie; ring_cookie 1606 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (cmd->fs.ring_cookie == RX_CLS_FLOW_DISC) ring_cookie 1608 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c else if (cmd->fs.ring_cookie & EN_ETHTOOL_QP_ATTACH) { ring_cookie 1609 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c qpn = cmd->fs.ring_cookie & (EN_ETHTOOL_QP_ATTACH - 1); ring_cookie 1611 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (cmd->fs.ring_cookie >= priv->rx_ring_num) { ring_cookie 1613 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c cmd->fs.ring_cookie); ring_cookie 1616 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c qpn = priv->rss_map.qps[cmd->fs.ring_cookie].qpn; ring_cookie 1619 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c cmd->fs.ring_cookie); ring_cookie 416 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (fs->ring_cookie == RX_CLS_FLOW_DISC) { ring_cookie 424 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c mlx5e_qid_get_ch_and_group(params, fs->ring_cookie, &ix, &group); ring_cookie 613 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (fs->ring_cookie != RX_CLS_FLOW_DISC) ring_cookie 615 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c fs->ring_cookie)) ring_cookie 1447 drivers/net/ethernet/qlogic/qede/qede_filter.c fsp->ring_cookie = fltr->rxq_id; ring_cookie 1450 drivers/net/ethernet/qlogic/qede/qede_filter.c fsp->ring_cookie |= ((u64)fltr->vfid) << ring_cookie 1455 drivers/net/ethernet/qlogic/qede/qede_filter.c fsp->ring_cookie = RX_CLS_FLOW_DISC; ring_cookie 1693 drivers/net/ethernet/qlogic/qede/qede_filter.c if (fs->ring_cookie == RX_CLS_FLOW_DISC) { ring_cookie 1698 drivers/net/ethernet/qlogic/qede/qede_filter.c n->vfid = ethtool_get_flow_spec_ring_vf(fs->ring_cookie); ring_cookie 1699 drivers/net/ethernet/qlogic/qede/qede_filter.c n->rxq_id = ethtool_get_flow_spec_ring(fs->ring_cookie); ring_cookie 830 drivers/net/ethernet/sfc/ethtool.c rule->ring_cookie = RX_CLS_FLOW_DISC; ring_cookie 832 drivers/net/ethernet/sfc/ethtool.c rule->ring_cookie = spec.dmaq_id; ring_cookie 1100 drivers/net/ethernet/sfc/ethtool.c if (rule->ring_cookie >= efx->n_rx_channels && ring_cookie 1101 drivers/net/ethernet/sfc/ethtool.c rule->ring_cookie != RX_CLS_FLOW_DISC) ring_cookie 1116 drivers/net/ethernet/sfc/ethtool.c (rule->ring_cookie == RX_CLS_FLOW_DISC) ? ring_cookie 1117 drivers/net/ethernet/sfc/ethtool.c EFX_FILTER_RX_DMAQ_ID_DROP : rule->ring_cookie); ring_cookie 807 drivers/net/ethernet/sfc/falcon/ethtool.c rule->ring_cookie = RX_CLS_FLOW_DISC; ring_cookie 809 drivers/net/ethernet/sfc/falcon/ethtool.c rule->ring_cookie = spec.dmaq_id; ring_cookie 1042 drivers/net/ethernet/sfc/falcon/ethtool.c if (rule->ring_cookie >= efx->n_rx_channels && ring_cookie 1043 drivers/net/ethernet/sfc/falcon/ethtool.c rule->ring_cookie != RX_CLS_FLOW_DISC) ring_cookie 1054 drivers/net/ethernet/sfc/falcon/ethtool.c (rule->ring_cookie == RX_CLS_FLOW_DISC) ? ring_cookie 1055 drivers/net/ethernet/sfc/falcon/ethtool.c EF4_FILTER_RX_DMAQ_ID_DROP : rule->ring_cookie); ring_cookie 7220 drivers/net/ethernet/sun/niu.c fsp->ring_cookie = RX_CLS_FLOW_DISC; ring_cookie 7222 drivers/net/ethernet/sun/niu.c fsp->ring_cookie = (tp->assoc_data & TCAM_ASSOCDATA_OFFSET) >> ring_cookie 7535 drivers/net/ethernet/sun/niu.c if (fsp->ring_cookie == RX_CLS_FLOW_DISC) { ring_cookie 7538 drivers/net/ethernet/sun/niu.c if (fsp->ring_cookie >= np->num_rx_rings) { ring_cookie 7541 drivers/net/ethernet/sun/niu.c (long long)fsp->ring_cookie); ring_cookie 7546 drivers/net/ethernet/sun/niu.c (fsp->ring_cookie << ring_cookie 28 include/linux/ethtool.h compat_u64 ring_cookie; ring_cookie 911 include/uapi/linux/ethtool.h __u64 ring_cookie; ring_cookie 929 include/uapi/linux/ethtool.h static inline __u64 ethtool_get_flow_spec_ring(__u64 ring_cookie) ring_cookie 931 include/uapi/linux/ethtool.h return ETHTOOL_RX_FLOW_SPEC_RING & ring_cookie; ring_cookie 934 include/uapi/linux/ethtool.h static inline __u64 ethtool_get_flow_spec_ring_vf(__u64 ring_cookie) ring_cookie 936 include/uapi/linux/ethtool.h return (ETHTOOL_RX_FLOW_SPEC_RING_VF & ring_cookie) >> ring_cookie 3090 net/core/ethtool.c switch (fs->ring_cookie) { ring_cookie 3102 net/core/ethtool.c act->queue.vf = ethtool_get_flow_spec_ring_vf(fs->ring_cookie); ring_cookie 3103 net/core/ethtool.c act->queue.index = ethtool_get_flow_spec_ring(fs->ring_cookie); ring_cookie 3152 net/socket.c offsetof(struct compat_ethtool_rxnfc, fs.ring_cookie) != ring_cookie 3154 net/socket.c offsetof(struct ethtool_rxnfc, fs.ring_cookie)); ring_cookie 3159 net/socket.c copy_in_user(&rxnfc->fs.ring_cookie, ring_cookie 3160 net/socket.c &compat_rxnfc->fs.ring_cookie, ring_cookie 3162 net/socket.c (void __user *)&rxnfc->fs.ring_cookie)) ring_cookie 3181 net/socket.c copy_in_user(&compat_rxnfc->fs.ring_cookie, ring_cookie 3182 net/socket.c &rxnfc->fs.ring_cookie, ring_cookie 3184 net/socket.c (const void __user *)&rxnfc->fs.ring_cookie) ||