net/ngbe: support jumbo frame
[dpdk.git] / drivers / net / bnxt / tf_ulp / ulp_utils.h
index e1b0e77..68a537f 100644 (file)
@@ -475,6 +475,18 @@ int32_t
 ulp_blob_append(struct ulp_blob *dst, struct ulp_blob *src,
                uint16_t src_offset, uint16_t src_len);
 
+/*
+ * Perform the blob buffer copy.
+ * This api makes the src blob merged to the dst blob.
+ *
+ * dst [in] The destination blob, the blob to be merged.
+ * src [in] The src blob.
+ *
+ * returns 0 on success.
+ */
+int32_t
+ulp_blob_buffer_copy(struct ulp_blob *dst, struct ulp_blob *src);
+
 /*
  * Read data from the operand
  *
@@ -491,21 +503,6 @@ ulp_operand_read(uint8_t *operand,
                 uint8_t *val,
                 uint16_t bitlen);
 
-/*
- * copy the buffer in the encap format which is 2 bytes.
- * The MSB of the src is placed at the LSB of dst.
- *
- * dst [out] The destination buffer
- * src [in] The source buffer dst
- * size[in] size of the buffer.
- * align[in] The alignment is either 8 or 16.
- */
-void
-ulp_encap_buffer_copy(uint8_t *dst,
-                     const uint8_t *src,
-                     uint16_t size,
-                     uint16_t align);
-
 /*
  * Check the buffer is empty
  *