cryptodev: remove useless alignment
rte_crypto_op and rte_crypto_sym_op structures were marked as cache aligned. However, since these structures are always initialized in a mempool, this alignment is useless, since the mempool forces the alignment of its objects. Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Declan Doherty <declan.doherty@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
This commit is contained in:
parent
d2a4223c4c
commit
552a7a32b4
@ -127,7 +127,7 @@ struct rte_crypto_op {
|
||||
struct rte_crypto_sym_op sym[0];
|
||||
/**< Symmetric operation parameters */
|
||||
}; /**< operation specific parameters */
|
||||
} __rte_cache_aligned;
|
||||
};
|
||||
|
||||
/**
|
||||
* Reset the fields of a crypto operation to their default values.
|
||||
|
@ -640,7 +640,7 @@ struct rte_crypto_sym_op {
|
||||
} aad;
|
||||
/**< Additional authentication parameters */
|
||||
} auth;
|
||||
} __rte_cache_aligned;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user