arfs 224 drivers/net/ethernet/mellanox/mlx5/core/en/fs.h struct mlx5e_arfs_tables arfs; arfs 134 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c dest.ft = priv->fs.arfs.arfs_tables[i].ft.t; arfs 164 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c destroy_workqueue(priv->fs.arfs.wq); arfs 166 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c if (!IS_ERR_OR_NULL(priv->fs.arfs.arfs_tables[i].ft.t)) arfs 167 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c arfs_destroy_table(&priv->fs.arfs.arfs_tables[i]); arfs 174 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c struct arfs_table *arfs_t = &priv->fs.arfs.arfs_tables[type]; arfs 312 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c struct mlx5e_arfs_tables *arfs = &priv->fs.arfs; arfs 313 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c struct mlx5e_flow_table *ft = &arfs->arfs_tables[type].ft; arfs 352 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c spin_lock_init(&priv->fs.arfs.arfs_lock); arfs 353 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c INIT_LIST_HEAD(&priv->fs.arfs.rules); arfs 354 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c priv->fs.arfs.wq = create_singlethread_workqueue("mlx5e_arfs"); arfs 355 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c if (!priv->fs.arfs.wq) arfs 380 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c spin_lock_bh(&priv->fs.arfs.arfs_lock); arfs 381 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c mlx5e_for_each_arfs_rule(arfs_rule, htmp, priv->fs.arfs.arfs_tables, i, j) { arfs 392 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c spin_unlock_bh(&priv->fs.arfs.arfs_lock); arfs 409 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c spin_lock_bh(&priv->fs.arfs.arfs_lock); arfs 410 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c mlx5e_for_each_arfs_rule(rule, htmp, priv->fs.arfs.arfs_tables, i, j) { arfs 414 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c spin_unlock_bh(&priv->fs.arfs.arfs_lock); arfs 440 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c static struct arfs_table *arfs_get_table(struct mlx5e_arfs_tables *arfs, arfs 444 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c return &arfs->arfs_tables[ARFS_IPV4_TCP]; arfs 446 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c return &arfs->arfs_tables[ARFS_IPV4_UDP]; arfs 448 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c return &arfs->arfs_tables[ARFS_IPV6_TCP]; arfs 450 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c return &arfs->arfs_tables[ARFS_IPV6_UDP]; arfs 458 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c struct mlx5e_arfs_tables *arfs = &priv->fs.arfs; arfs 478 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c arfs_table = arfs_get_table(arfs, tuple->ip_proto, tuple->etype); arfs 576 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c spin_lock_bh(&priv->fs.arfs.arfs_lock); arfs 578 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c spin_unlock_bh(&priv->fs.arfs.arfs_lock); arfs 631 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c rule->filter_id = priv->fs.arfs.last_filter_id++ % RPS_NO_FILTER; arfs 675 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c struct mlx5e_arfs_tables *arfs = &priv->fs.arfs; arfs 690 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c arfs_t = arfs_get_table(arfs, fk.basic.ip_proto, fk.basic.n_proto); arfs 694 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c spin_lock_bh(&arfs->arfs_lock); arfs 698 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c spin_unlock_bh(&arfs->arfs_lock); arfs 705 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c spin_unlock_bh(&arfs->arfs_lock); arfs 709 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c queue_work(priv->fs.arfs.wq, &arfs_rule->arfs_work); arfs 710 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c spin_unlock_bh(&arfs->arfs_lock); arfs 275 drivers/net/ethernet/qlogic/qede/qede.h struct qede_arfs *arfs; arfs 98 drivers/net/ethernet/qlogic/qede/qede_filter.c #define QEDE_ARFS_BUCKET_HEAD(edev, idx) (&(edev)->arfs->arfs_hl_head[idx]) arfs 157 drivers/net/ethernet/qlogic/qede/qede_filter.c clear_bit(fltr->sw_id, edev->arfs->arfs_fltr_bmap); arfs 179 drivers/net/ethernet/qlogic/qede/qede_filter.c edev->arfs->filter_count++; arfs 180 drivers/net/ethernet/qlogic/qede/qede_filter.c if (edev->arfs->filter_count == 1 && arfs 181 drivers/net/ethernet/qlogic/qede/qede_filter.c edev->arfs->mode == QED_FILTER_CONFIG_MODE_DISABLE) { arfs 184 drivers/net/ethernet/qlogic/qede/qede_filter.c edev->arfs->mode = fltr->tuple.mode; arfs 200 drivers/net/ethernet/qlogic/qede/qede_filter.c edev->arfs->filter_count--; arfs 201 drivers/net/ethernet/qlogic/qede/qede_filter.c if (!edev->arfs->filter_count && arfs 202 drivers/net/ethernet/qlogic/qede/qede_filter.c edev->arfs->mode != QED_FILTER_CONFIG_MODE_DISABLE) { arfs 207 drivers/net/ethernet/qlogic/qede/qede_filter.c edev->arfs->mode = QED_FILTER_CONFIG_MODE_DISABLE; arfs 225 drivers/net/ethernet/qlogic/qede/qede_filter.c spin_lock_bh(&edev->arfs->arfs_list_lock); arfs 230 drivers/net/ethernet/qlogic/qede/qede_filter.c spin_unlock_bh(&edev->arfs->arfs_list_lock); arfs 234 drivers/net/ethernet/qlogic/qede/qede_filter.c spin_lock_bh(&edev->arfs->arfs_list_lock); arfs 252 drivers/net/ethernet/qlogic/qede/qede_filter.c spin_unlock_bh(&edev->arfs->arfs_list_lock); arfs 265 drivers/net/ethernet/qlogic/qede/qede_filter.c head = &edev->arfs->arfs_hl_head[i]; arfs 273 drivers/net/ethernet/qlogic/qede/qede_filter.c spin_lock_bh(&edev->arfs->arfs_list_lock); arfs 293 drivers/net/ethernet/qlogic/qede/qede_filter.c spin_unlock_bh(&edev->arfs->arfs_list_lock); arfs 298 drivers/net/ethernet/qlogic/qede/qede_filter.c spin_lock_bh(&edev->arfs->arfs_list_lock); arfs 300 drivers/net/ethernet/qlogic/qede/qede_filter.c if (edev->arfs->filter_count) { arfs 306 drivers/net/ethernet/qlogic/qede/qede_filter.c spin_unlock_bh(&edev->arfs->arfs_list_lock); arfs 320 drivers/net/ethernet/qlogic/qede/qede_filter.c if (!edev->arfs->filter_count) arfs 339 drivers/net/ethernet/qlogic/qede/qede_filter.c edev->arfs = vzalloc(sizeof(*edev->arfs)); arfs 340 drivers/net/ethernet/qlogic/qede/qede_filter.c if (!edev->arfs) arfs 343 drivers/net/ethernet/qlogic/qede/qede_filter.c spin_lock_init(&edev->arfs->arfs_list_lock); arfs 348 drivers/net/ethernet/qlogic/qede/qede_filter.c edev->arfs->arfs_fltr_bmap = arfs 351 drivers/net/ethernet/qlogic/qede/qede_filter.c if (!edev->arfs->arfs_fltr_bmap) { arfs 352 drivers/net/ethernet/qlogic/qede/qede_filter.c vfree(edev->arfs); arfs 353 drivers/net/ethernet/qlogic/qede/qede_filter.c edev->arfs = NULL; arfs 360 drivers/net/ethernet/qlogic/qede/qede_filter.c vfree(edev->arfs->arfs_fltr_bmap); arfs 361 drivers/net/ethernet/qlogic/qede/qede_filter.c edev->arfs->arfs_fltr_bmap = NULL; arfs 362 drivers/net/ethernet/qlogic/qede/qede_filter.c vfree(edev->arfs); arfs 363 drivers/net/ethernet/qlogic/qede/qede_filter.c edev->arfs = NULL; arfs 372 drivers/net/ethernet/qlogic/qede/qede_filter.c if (!edev->arfs) arfs 381 drivers/net/ethernet/qlogic/qede/qede_filter.c vfree(edev->arfs->arfs_fltr_bmap); arfs 382 drivers/net/ethernet/qlogic/qede/qede_filter.c edev->arfs->arfs_fltr_bmap = NULL; arfs 383 drivers/net/ethernet/qlogic/qede/qede_filter.c vfree(edev->arfs); arfs 384 drivers/net/ethernet/qlogic/qede/qede_filter.c edev->arfs = NULL; arfs 432 drivers/net/ethernet/qlogic/qede/qede_filter.c bit_id = find_first_zero_bit(edev->arfs->arfs_fltr_bmap, arfs 449 drivers/net/ethernet/qlogic/qede/qede_filter.c set_bit(bit_id, edev->arfs->arfs_fltr_bmap); arfs 485 drivers/net/ethernet/qlogic/qede/qede_filter.c spin_lock_bh(&edev->arfs->arfs_list_lock); arfs 547 drivers/net/ethernet/qlogic/qede/qede_filter.c spin_unlock_bh(&edev->arfs->arfs_list_lock); arfs 555 drivers/net/ethernet/qlogic/qede/qede_filter.c spin_unlock_bh(&edev->arfs->arfs_list_lock); arfs 1376 drivers/net/ethernet/qlogic/qede/qede_filter.c if (!edev->arfs) { arfs 1410 drivers/net/ethernet/qlogic/qede/qede_filter.c if (!edev->arfs) { arfs 1713 drivers/net/ethernet/qlogic/qede/qede_filter.c if (!edev->arfs) arfs 1738 drivers/net/ethernet/qlogic/qede/qede_filter.c if (!edev->arfs) arfs 1741 drivers/net/ethernet/qlogic/qede/qede_filter.c count = edev->arfs->filter_count; arfs 1954 drivers/net/ethernet/qlogic/qede/qede_filter.c if (!edev->arfs) { arfs 1964 drivers/net/ethernet/qlogic/qede/qede_filter.c if ((edev->arfs->filter_count && edev->arfs->mode != t.mode) || arfs 1965 drivers/net/ethernet/qlogic/qede/qede_filter.c edev->arfs->filter_count == QEDE_RFS_MAX_FLTR) { arfs 1968 drivers/net/ethernet/qlogic/qede/qede_filter.c t.mode, edev->arfs->mode, edev->arfs->filter_count); arfs 2027 drivers/net/ethernet/qlogic/qede/qede_filter.c if (test_bit(location, edev->arfs->arfs_fltr_bmap)) { arfs 2033 drivers/net/ethernet/qlogic/qede/qede_filter.c if (edev->arfs->filter_count && arfs 2034 drivers/net/ethernet/qlogic/qede/qede_filter.c edev->arfs->mode != t->mode) { arfs 2037 drivers/net/ethernet/qlogic/qede/qede_filter.c t->mode, edev->arfs->filter_count); arfs 2102 drivers/net/ethernet/qlogic/qede/qede_filter.c if (!edev->arfs) { arfs 2132 drivers/net/ethernet/qlogic/qede/qede_filter.c set_bit(n->sw_id, edev->arfs->arfs_fltr_bmap);