void *userdata;
/* Rlen computation data */
struct cnxk_ipsec_outb_rlens rlens;
- /* Back pinter to eth sec session */
+ /* Back pointer to eth sec session */
struct cnxk_eth_sec_sess *eth_sec;
/* SA index */
uint32_t sa_idx;
struct {
uint32_t sa_idx;
uint8_t inb_sa : 1;
- uint8_t rsvd1 : 2;
+ uint8_t outer_ip_ver : 1;
+ uint8_t mode : 1;
uint8_t roundup_byte : 5;
uint8_t roundup_len;
uint16_t partial_len;
/* Security context setup */
void cn10k_eth_sec_ops_override(void);
+#define LMT_OFF(lmt_addr, lmt_num, offset) \
+ (void *)((uintptr_t)(lmt_addr) + \
+ ((uint64_t)(lmt_num) << ROC_LMT_LINE_SIZE_LOG2) + (offset))
+
#endif /* __CN10K_ETHDEV_H__ */