cls_flower 1569 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c struct flow_cls_offload *cls_flower) cls_flower 1571 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c switch (cls_flower->command) { cls_flower 1573 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c return bnxt_tc_add_flow(bp, src_fid, cls_flower); cls_flower 1575 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c return bnxt_tc_del_flow(bp, cls_flower); cls_flower 1577 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c return bnxt_tc_get_flow_stats(bp, cls_flower); cls_flower 199 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.h struct flow_cls_offload *cls_flower); cls_flower 212 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.h struct flow_cls_offload *cls_flower) cls_flower 3137 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c struct flow_cls_offload *cls_flower) cls_flower 3139 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c switch (cls_flower->command) { cls_flower 3141 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c return cxgb4_tc_flower_replace(dev, cls_flower); cls_flower 3143 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c return cxgb4_tc_flower_destroy(dev, cls_flower); cls_flower 3145 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c return cxgb4_tc_flower_stats(dev, cls_flower); cls_flower 7984 drivers/net/ethernet/intel/i40e/i40e_main.c struct flow_cls_offload *cls_flower) cls_flower 7986 drivers/net/ethernet/intel/i40e/i40e_main.c int tc = tc_classid_to_hwtc(vsi->netdev, cls_flower->classid); cls_flower 8018 drivers/net/ethernet/intel/i40e/i40e_main.c filter->cookie = cls_flower->cookie; cls_flower 8020 drivers/net/ethernet/intel/i40e/i40e_main.c err = i40e_parse_cls_flower(vsi, cls_flower, filter); cls_flower 8080 drivers/net/ethernet/intel/i40e/i40e_main.c struct flow_cls_offload *cls_flower) cls_flower 8086 drivers/net/ethernet/intel/i40e/i40e_main.c filter = i40e_find_cloud_filter(vsi, &cls_flower->cookie); cls_flower 8123 drivers/net/ethernet/intel/i40e/i40e_main.c struct flow_cls_offload *cls_flower) cls_flower 8127 drivers/net/ethernet/intel/i40e/i40e_main.c switch (cls_flower->command) { cls_flower 8129 drivers/net/ethernet/intel/i40e/i40e_main.c return i40e_configure_clsflower(vsi, cls_flower); cls_flower 8131 drivers/net/ethernet/intel/i40e/i40e_main.c return i40e_delete_clsflower(vsi, cls_flower); cls_flower 2959 drivers/net/ethernet/intel/iavf/iavf_main.c struct flow_cls_offload *cls_flower) cls_flower 2961 drivers/net/ethernet/intel/iavf/iavf_main.c int tc = tc_classid_to_hwtc(adapter->netdev, cls_flower->classid); cls_flower 2981 drivers/net/ethernet/intel/iavf/iavf_main.c filter->cookie = cls_flower->cookie; cls_flower 2987 drivers/net/ethernet/intel/iavf/iavf_main.c err = iavf_parse_cls_flower(adapter, cls_flower, filter); cls_flower 3038 drivers/net/ethernet/intel/iavf/iavf_main.c struct flow_cls_offload *cls_flower) cls_flower 3044 drivers/net/ethernet/intel/iavf/iavf_main.c filter = iavf_find_cf(adapter, &cls_flower->cookie); cls_flower 3062 drivers/net/ethernet/intel/iavf/iavf_main.c struct flow_cls_offload *cls_flower) cls_flower 3064 drivers/net/ethernet/intel/iavf/iavf_main.c if (cls_flower->common.chain_index) cls_flower 3067 drivers/net/ethernet/intel/iavf/iavf_main.c switch (cls_flower->command) { cls_flower 3069 drivers/net/ethernet/intel/iavf/iavf_main.c return iavf_configure_clsflower(adapter, cls_flower); cls_flower 3071 drivers/net/ethernet/intel/iavf/iavf_main.c return iavf_delete_clsflower(adapter, cls_flower); cls_flower 2665 drivers/net/ethernet/intel/igb/igb_main.c struct flow_cls_offload *cls_flower) cls_flower 2667 drivers/net/ethernet/intel/igb/igb_main.c struct netlink_ext_ack *extack = cls_flower->common.extack; cls_flower 2671 drivers/net/ethernet/intel/igb/igb_main.c tc = tc_classid_to_hwtc(adapter->netdev, cls_flower->classid); cls_flower 2681 drivers/net/ethernet/intel/igb/igb_main.c err = igb_parse_cls_flower(adapter, cls_flower, tc, filter); cls_flower 2727 drivers/net/ethernet/intel/igb/igb_main.c struct flow_cls_offload *cls_flower) cls_flower 2735 drivers/net/ethernet/intel/igb/igb_main.c if (filter->cookie == cls_flower->cookie) cls_flower 2757 drivers/net/ethernet/intel/igb/igb_main.c struct flow_cls_offload *cls_flower) cls_flower 2759 drivers/net/ethernet/intel/igb/igb_main.c switch (cls_flower->command) { cls_flower 2761 drivers/net/ethernet/intel/igb/igb_main.c return igb_configure_clsflower(adapter, cls_flower); cls_flower 2763 drivers/net/ethernet/intel/igb/igb_main.c return igb_delete_clsflower(adapter, cls_flower); cls_flower 3495 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct flow_cls_offload *cls_flower, cls_flower 3498 drivers/net/ethernet/mellanox/mlx5/core/en_main.c switch (cls_flower->command) { cls_flower 3500 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return mlx5e_configure_flower(priv->netdev, priv, cls_flower, cls_flower 3503 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return mlx5e_delete_flower(priv->netdev, priv, cls_flower, cls_flower 3506 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return mlx5e_stats_flower(priv->netdev, priv, cls_flower, cls_flower 1196 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c struct flow_cls_offload *cls_flower, int flags) cls_flower 1198 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c switch (cls_flower->command) { cls_flower 1200 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c return mlx5e_configure_flower(priv->netdev, priv, cls_flower, cls_flower 1203 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c return mlx5e_delete_flower(priv->netdev, priv, cls_flower, cls_flower 1206 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c return mlx5e_stats_flower(priv->netdev, priv, cls_flower, cls_flower 419 net/sched/cls_flower.c struct flow_cls_offload cls_flower = {}; cls_flower 421 net/sched/cls_flower.c tc_cls_common_offload_init(&cls_flower.common, tp, f->flags, extack); cls_flower 422 net/sched/cls_flower.c cls_flower.command = FLOW_CLS_DESTROY; cls_flower 423 net/sched/cls_flower.c cls_flower.cookie = (unsigned long) f; cls_flower 425 net/sched/cls_flower.c tc_setup_cb_destroy(block, tp, TC_SETUP_CLSFLOWER, &cls_flower, false, cls_flower 435 net/sched/cls_flower.c struct flow_cls_offload cls_flower = {}; cls_flower 439 net/sched/cls_flower.c cls_flower.rule = flow_rule_alloc(tcf_exts_num_actions(&f->exts)); cls_flower 440 net/sched/cls_flower.c if (!cls_flower.rule) cls_flower 443 net/sched/cls_flower.c tc_cls_common_offload_init(&cls_flower.common, tp, f->flags, extack); cls_flower 444 net/sched/cls_flower.c cls_flower.command = FLOW_CLS_REPLACE; cls_flower 445 net/sched/cls_flower.c cls_flower.cookie = (unsigned long) f; cls_flower 446 net/sched/cls_flower.c cls_flower.rule->match.dissector = &f->mask->dissector; cls_flower 447 net/sched/cls_flower.c cls_flower.rule->match.mask = &f->mask->key; cls_flower 448 net/sched/cls_flower.c cls_flower.rule->match.key = &f->mkey; cls_flower 449 net/sched/cls_flower.c cls_flower.classid = f->res.classid; cls_flower 451 net/sched/cls_flower.c err = tc_setup_flow_action(&cls_flower.rule->action, &f->exts, cls_flower 454 net/sched/cls_flower.c kfree(cls_flower.rule); cls_flower 462 net/sched/cls_flower.c err = tc_setup_cb_add(block, tp, TC_SETUP_CLSFLOWER, &cls_flower, cls_flower 464 net/sched/cls_flower.c tc_cleanup_flow_action(&cls_flower.rule->action); cls_flower 465 net/sched/cls_flower.c kfree(cls_flower.rule); cls_flower 482 net/sched/cls_flower.c struct flow_cls_offload cls_flower = {}; cls_flower 484 net/sched/cls_flower.c tc_cls_common_offload_init(&cls_flower.common, tp, f->flags, NULL); cls_flower 485 net/sched/cls_flower.c cls_flower.command = FLOW_CLS_STATS; cls_flower 486 net/sched/cls_flower.c cls_flower.cookie = (unsigned long) f; cls_flower 487 net/sched/cls_flower.c cls_flower.classid = f->res.classid; cls_flower 489 net/sched/cls_flower.c tc_setup_cb_call(block, TC_SETUP_CLSFLOWER, &cls_flower, false, cls_flower 492 net/sched/cls_flower.c tcf_exts_stats_update(&f->exts, cls_flower.stats.bytes, cls_flower 493 net/sched/cls_flower.c cls_flower.stats.pkts, cls_flower 494 net/sched/cls_flower.c cls_flower.stats.lastused); cls_flower 1788 net/sched/cls_flower.c struct flow_cls_offload cls_flower = {}; cls_flower 1799 net/sched/cls_flower.c cls_flower.rule = cls_flower 1801 net/sched/cls_flower.c if (!cls_flower.rule) { cls_flower 1806 net/sched/cls_flower.c tc_cls_common_offload_init(&cls_flower.common, tp, f->flags, cls_flower 1808 net/sched/cls_flower.c cls_flower.command = add ? cls_flower 1810 net/sched/cls_flower.c cls_flower.cookie = (unsigned long)f; cls_flower 1811 net/sched/cls_flower.c cls_flower.rule->match.dissector = &f->mask->dissector; cls_flower 1812 net/sched/cls_flower.c cls_flower.rule->match.mask = &f->mask->key; cls_flower 1813 net/sched/cls_flower.c cls_flower.rule->match.key = &f->mkey; cls_flower 1815 net/sched/cls_flower.c err = tc_setup_flow_action(&cls_flower.rule->action, &f->exts, cls_flower 1818 net/sched/cls_flower.c kfree(cls_flower.rule); cls_flower 1827 net/sched/cls_flower.c cls_flower.classid = f->res.classid; cls_flower 1830 net/sched/cls_flower.c TC_SETUP_CLSFLOWER, &cls_flower, cls_flower 1833 net/sched/cls_flower.c tc_cleanup_flow_action(&cls_flower.rule->action); cls_flower 1834 net/sched/cls_flower.c kfree(cls_flower.rule); cls_flower 1849 net/sched/cls_flower.c struct flow_cls_offload *cls_flower = type_data; cls_flower 1851 net/sched/cls_flower.c (struct cls_fl_filter *) cls_flower->cookie; cls_flower 1861 net/sched/cls_flower.c struct flow_cls_offload *cls_flower = type_data; cls_flower 1863 net/sched/cls_flower.c (struct cls_fl_filter *) cls_flower->cookie; cls_flower 1874 net/sched/cls_flower.c struct flow_cls_offload cls_flower = {}; cls_flower 1877 net/sched/cls_flower.c cls_flower.rule = flow_rule_alloc(0); cls_flower 1878 net/sched/cls_flower.c if (!cls_flower.rule) cls_flower 1881 net/sched/cls_flower.c cls_flower.common.chain_index = chain->index; cls_flower 1882 net/sched/cls_flower.c cls_flower.command = FLOW_CLS_TMPLT_CREATE; cls_flower 1883 net/sched/cls_flower.c cls_flower.cookie = (unsigned long) tmplt; cls_flower 1884 net/sched/cls_flower.c cls_flower.rule->match.dissector = &tmplt->dissector; cls_flower 1885 net/sched/cls_flower.c cls_flower.rule->match.mask = &tmplt->mask; cls_flower 1886 net/sched/cls_flower.c cls_flower.rule->match.key = &tmplt->dummy_key; cls_flower 1891 net/sched/cls_flower.c tc_setup_cb_call(block, TC_SETUP_CLSFLOWER, &cls_flower, false, true); cls_flower 1892 net/sched/cls_flower.c kfree(cls_flower.rule); cls_flower 1900 net/sched/cls_flower.c struct flow_cls_offload cls_flower = {}; cls_flower 1903 net/sched/cls_flower.c cls_flower.common.chain_index = chain->index; cls_flower 1904 net/sched/cls_flower.c cls_flower.command = FLOW_CLS_TMPLT_DESTROY; cls_flower 1905 net/sched/cls_flower.c cls_flower.cookie = (unsigned long) tmplt; cls_flower 1907 net/sched/cls_flower.c tc_setup_cb_call(block, TC_SETUP_CLSFLOWER, &cls_flower, false, true);