net/sfc/base: add API to allocate and free RSS contexts
[dpdk.git] / drivers / net / sfc / base / efx_impl.h
index f20c97f..c7ed067 100644 (file)
@@ -152,6 +152,10 @@ typedef struct efx_rx_ops_s {
        efx_rc_t        (*erxo_scatter_enable)(efx_nic_t *, unsigned int);
 #endif
 #if EFSYS_OPT_RX_SCALE
+       efx_rc_t        (*erxo_scale_context_alloc)(efx_nic_t *,
+                                                   efx_rx_scale_context_type_t,
+                                                   uint32_t, uint32_t *);
+       efx_rc_t        (*erxo_scale_context_free)(efx_nic_t *, uint32_t);
        efx_rc_t        (*erxo_scale_mode_set)(efx_nic_t *, efx_rx_hash_alg_t,
                                               efx_rx_hash_type_t, boolean_t);
        efx_rc_t        (*erxo_scale_key_set)(efx_nic_t *, uint8_t *, size_t);