net: sched: make type an argument for ndo_setup_tc
[linux-block.git] / drivers / net / ethernet / netronome / nfp / flower / main.h
index 9e64c048e83f69b862cc3fa29980b6ac9556f07d..314e6e8ba6498cbb0dbeaebfb47549cc86b6b408 100644 (file)
@@ -135,7 +135,8 @@ int nfp_flower_metadata_init(struct nfp_app *app);
 void nfp_flower_metadata_cleanup(struct nfp_app *app);
 
 int nfp_flower_setup_tc(struct nfp_app *app, struct net_device *netdev,
-                       u32 handle, __be16 proto, struct tc_to_netdev *tc);
+                       enum tc_setup_type type, u32 handle, __be16 proto,
+                       struct tc_to_netdev *tc);
 int nfp_flower_compile_flow_match(struct tc_cls_flower_offload *flow,
                                  struct nfp_fl_key_ls *key_ls,
                                  struct net_device *netdev,