net/bnxt: add L2 filter alloc/init/free
[dpdk.git] / drivers / net / bnxt / bnxt_hwrm.h
index b792313..bc6fb08 100644 (file)
 
 #define HWRM_SEQ_ID_INVALID -1U
 
+int bnxt_hwrm_clear_filter(struct bnxt *bp,
+                          struct bnxt_filter_info *filter);
+int bnxt_hwrm_set_filter(struct bnxt *bp,
+                        struct bnxt_vnic_info *vnic,
+                        struct bnxt_filter_info *filter);
+
 int bnxt_hwrm_exec_fwd_resp(struct bnxt *bp, void *fwd_cmd);
 
 int bnxt_hwrm_func_driver_register(struct bnxt *bp, uint32_t flags,