net/octeontx2: add flow MCAM utility functions
[dpdk.git] / drivers / net / sfc / base / ef10_impl.h
index 20f2a5c..3961801 100644 (file)
@@ -1351,6 +1351,13 @@ ef10_evb_vport_reconfigure(
        __in_bcount_opt(EFX_MAC_ADDR_LEN)       uint8_t *addrp,
        __out_opt                               boolean_t *fn_resetp);
 
+extern __checkReturn   efx_rc_t
+ef10_evb_vport_stats(
+       __in            efx_nic_t *enp,
+       __in            efx_vswitch_id_t vswitch_id,
+       __in            efx_vport_id_t vport_id,
+       __out           efsys_mem_t *esmp);
+
 #endif  /* EFSYS_OPT_EVB */
 
 #if EFSYS_OPT_MCDI_PROXY_AUTH_SERVER
@@ -1404,6 +1411,13 @@ ef10_proxy_auth_exec_cmd(
        __in            efx_nic_t *enp,
        __inout         efx_proxy_cmd_params_t *paramsp);
 
+       __checkReturn   efx_rc_t
+ef10_proxy_auth_get_privilege_mask(
+       __in            efx_nic_t *enp,
+       __in            uint32_t pf_index,
+       __in            uint32_t vf_index,
+       __out           uint32_t *maskp);
+
 #endif  /* EFSYS_OPT_MCDI_PROXY_AUTH_SERVER */
 
 #if EFSYS_OPT_RX_PACKED_STREAM