diff options
author | Ivan Vecera <ivecera@redhat.com> | 2023-09-27 10:31:32 +0200 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2023-10-05 18:13:42 +0200 |
commit | ef5d54078d451973f90e123fafa23fc95c2a08ae (patch) | |
tree | df060371d44e316d348c7e619d1cbc3c4bde4ea5 /drivers/net/ethernet/intel/i40e/i40e_adminq.h | |
parent | i40e: Simplify memory allocation functions (diff) | |
download | linux-ef5d54078d451973f90e123fafa23fc95c2a08ae.tar.xz linux-ef5d54078d451973f90e123fafa23fc95c2a08ae.zip |
i40e: Move memory allocation structures to i40e_alloc.h
Structures i40e_dma_mem & i40e_virt_mem are defined i40e_osdep.h while
memory allocation functions that use them are declared in i40e_alloc.h
Move them there.
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_adminq.h')
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_adminq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_adminq.h b/drivers/net/ethernet/intel/i40e/i40e_adminq.h index 267f2e0a21ce..1c3d2bc5c3f7 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_adminq.h +++ b/drivers/net/ethernet/intel/i40e/i40e_adminq.h @@ -4,6 +4,7 @@ #ifndef _I40E_ADMINQ_H_ #define _I40E_ADMINQ_H_ +#include "i40e_alloc.h" #include "i40e_osdep.h" #include "i40e_adminq_cmd.h" |