net/sfc: fix MTU change to check Rx scatter consistency
[dpdk.git] / drivers / net / sfc / sfc_rx.h
index ee14020..aca0925 100644 (file)
@@ -142,6 +142,10 @@ void sfc_rx_hash_fini(struct sfc_adapter *sa);
 int sfc_rx_hf_rte_to_efx(struct sfc_adapter *sa, uint64_t rte,
                         efx_rx_hash_type_t *efx);
 uint64_t sfc_rx_hf_efx_to_rte(struct sfc_rss *rss, efx_rx_hash_type_t efx);
+boolean_t sfc_rx_check_scatter(size_t pdu, size_t rx_buf_size,
+                              uint32_t rx_prefix_size,
+                              boolean_t rx_scatter_enabled,
+                              const char **error);
 
 #ifdef __cplusplus
 }