/Linux-v4.19/net/sched/ |
D | cls_flower.c | 285 struct tc_cls_flower_offload cls_flower = {}; in fl_hw_destroy_filter() local 288 tc_cls_common_offload_init(&cls_flower.common, tp, f->flags, extack); in fl_hw_destroy_filter() 289 cls_flower.command = TC_CLSFLOWER_DESTROY; in fl_hw_destroy_filter() 290 cls_flower.cookie = (unsigned long) f; in fl_hw_destroy_filter() 293 &cls_flower, false); in fl_hw_destroy_filter() 301 struct tc_cls_flower_offload cls_flower = {}; in fl_hw_replace_filter() local 306 tc_cls_common_offload_init(&cls_flower.common, tp, f->flags, extack); in fl_hw_replace_filter() 307 cls_flower.command = TC_CLSFLOWER_REPLACE; in fl_hw_replace_filter() 308 cls_flower.cookie = (unsigned long) f; in fl_hw_replace_filter() 309 cls_flower.dissector = &f->mask->dissector; in fl_hw_replace_filter() [all …]
|
D | Makefile | 71 obj-$(CONFIG_NET_CLS_FLOWER) += cls_flower.o
|
D | Kconfig | 586 be called cls_flower.
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_tc.h | 194 struct tc_cls_flower_offload *cls_flower); 207 struct tc_cls_flower_offload *cls_flower) in bnxt_tc_setup_flower() argument
|
D | bnxt_tc.c | 1575 struct tc_cls_flower_offload *cls_flower) in bnxt_tc_setup_flower() argument 1577 switch (cls_flower->command) { in bnxt_tc_setup_flower() 1579 return bnxt_tc_add_flow(bp, src_fid, cls_flower); in bnxt_tc_setup_flower() 1581 return bnxt_tc_del_flow(bp, cls_flower); in bnxt_tc_setup_flower() 1583 return bnxt_tc_get_flow_stats(bp, cls_flower); in bnxt_tc_setup_flower()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rep.c | 743 struct tc_cls_flower_offload *cls_flower, int flags) in mlx5e_rep_setup_tc_cls_flower() argument 745 switch (cls_flower->command) { in mlx5e_rep_setup_tc_cls_flower() 747 return mlx5e_configure_flower(priv, cls_flower, flags); in mlx5e_rep_setup_tc_cls_flower() 749 return mlx5e_delete_flower(priv, cls_flower, flags); in mlx5e_rep_setup_tc_cls_flower() 751 return mlx5e_stats_flower(priv, cls_flower, flags); in mlx5e_rep_setup_tc_cls_flower()
|
D | en_main.c | 3364 struct tc_cls_flower_offload *cls_flower, in mlx5e_setup_tc_cls_flower() argument 3367 switch (cls_flower->command) { in mlx5e_setup_tc_cls_flower() 3369 return mlx5e_configure_flower(priv, cls_flower, flags); in mlx5e_setup_tc_cls_flower() 3371 return mlx5e_delete_flower(priv, cls_flower, flags); in mlx5e_setup_tc_cls_flower() 3373 return mlx5e_stats_flower(priv, cls_flower, flags); in mlx5e_setup_tc_cls_flower()
|
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/ |
D | i40evf_main.c | 2748 struct tc_cls_flower_offload *cls_flower) in i40evf_configure_clsflower() argument 2750 int tc = tc_classid_to_hwtc(adapter->netdev, cls_flower->classid); in i40evf_configure_clsflower() 2770 filter->cookie = cls_flower->cookie; in i40evf_configure_clsflower() 2776 err = i40evf_parse_cls_flower(adapter, cls_flower, filter); in i40evf_configure_clsflower() 2827 struct tc_cls_flower_offload *cls_flower) in i40evf_delete_clsflower() argument 2833 filter = i40evf_find_cf(adapter, &cls_flower->cookie); in i40evf_delete_clsflower() 2851 struct tc_cls_flower_offload *cls_flower) in i40evf_setup_tc_cls_flower() argument 2853 if (cls_flower->common.chain_index) in i40evf_setup_tc_cls_flower() 2856 switch (cls_flower->command) { in i40evf_setup_tc_cls_flower() 2858 return i40evf_configure_clsflower(adapter, cls_flower); in i40evf_setup_tc_cls_flower() [all …]
|
/Linux-v4.19/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 2678 struct tc_cls_flower_offload *cls_flower) in igb_configure_clsflower() argument 2680 struct netlink_ext_ack *extack = cls_flower->common.extack; in igb_configure_clsflower() 2684 tc = tc_classid_to_hwtc(adapter->netdev, cls_flower->classid); in igb_configure_clsflower() 2694 err = igb_parse_cls_flower(adapter, cls_flower, tc, filter); in igb_configure_clsflower() 2740 struct tc_cls_flower_offload *cls_flower) in igb_delete_clsflower() argument 2748 if (filter->cookie == cls_flower->cookie) in igb_delete_clsflower() 2770 struct tc_cls_flower_offload *cls_flower) in igb_setup_tc_cls_flower() argument 2772 switch (cls_flower->command) { in igb_setup_tc_cls_flower() 2774 return igb_configure_clsflower(adapter, cls_flower); in igb_setup_tc_cls_flower() 2776 return igb_delete_clsflower(adapter, cls_flower); in igb_setup_tc_cls_flower()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 2954 struct tc_cls_flower_offload *cls_flower) in cxgb_setup_tc_flower() argument 2956 switch (cls_flower->command) { in cxgb_setup_tc_flower() 2958 return cxgb4_tc_flower_replace(dev, cls_flower); in cxgb_setup_tc_flower() 2960 return cxgb4_tc_flower_destroy(dev, cls_flower); in cxgb_setup_tc_flower() 2962 return cxgb4_tc_flower_stats(dev, cls_flower); in cxgb_setup_tc_flower()
|
/Linux-v4.19/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 7378 struct tc_cls_flower_offload *cls_flower) in i40e_configure_clsflower() argument 7380 int tc = tc_classid_to_hwtc(vsi->netdev, cls_flower->classid); in i40e_configure_clsflower() 7412 filter->cookie = cls_flower->cookie; in i40e_configure_clsflower() 7414 err = i40e_parse_cls_flower(vsi, cls_flower, filter); in i40e_configure_clsflower() 7474 struct tc_cls_flower_offload *cls_flower) in i40e_delete_clsflower() argument 7480 filter = i40e_find_cloud_filter(vsi, &cls_flower->cookie); in i40e_delete_clsflower() 7517 struct tc_cls_flower_offload *cls_flower) in i40e_setup_tc_cls_flower() argument 7521 switch (cls_flower->command) { in i40e_setup_tc_cls_flower() 7523 return i40e_configure_clsflower(vsi, cls_flower); in i40e_setup_tc_cls_flower() 7525 return i40e_delete_clsflower(vsi, cls_flower); in i40e_setup_tc_cls_flower()
|