#include "bnxt_ulp.h"
#include "ulp_utils.h"
+#define ULP_SZ_BITS2BYTES(x) (((x) + 7) / 8)
+
/* Internal Structure for passing the arguments around */
struct bnxt_ulp_mapper_parms {
uint32_t dev_id;
enum bnxt_ulp_flow_db_tables tbl_idx;
};
+/* Function that frees all resources associated with the flow. */
+int32_t
+ulp_mapper_flow_destroy(struct bnxt_ulp_context *ulp_ctx, uint32_t fid);
+
+/*
+ * Function that frees all resources and can be called on default or regular
+ * flows
+ */
+int32_t
+ulp_mapper_resources_free(struct bnxt_ulp_context *ulp_ctx,
+ uint32_t fid,
+ enum bnxt_ulp_flow_db_tables tbl_type);
+
#endif /* _ULP_MAPPER_H_ */