Home
last modified time | relevance | path

Searched refs:ip_tbl (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ipsec.c341 struct rx_ip_sa *ipsa = &ipsec->ip_tbl[i]; in ixgbe_ipsec_restore()
641 if (ipsec->ip_tbl[i].used) { in ixgbe_ipsec_add_sa()
642 if (!memcmp(ipsec->ip_tbl[i].ipaddr, in ixgbe_ipsec_add_sa()
659 ipsec->ip_tbl[match].ref_cnt++; in ixgbe_ipsec_add_sa()
665 memcpy(ipsec->ip_tbl[first].ipaddr, in ixgbe_ipsec_add_sa()
667 ipsec->ip_tbl[first].ref_cnt = 1; in ixgbe_ipsec_add_sa()
668 ipsec->ip_tbl[first].used = true; in ixgbe_ipsec_add_sa()
780 if (ipsec->ip_tbl[ipi].ref_cnt > 0) { in ixgbe_ipsec_del_sa()
781 ipsec->ip_tbl[ipi].ref_cnt--; in ixgbe_ipsec_del_sa()
783 if (!ipsec->ip_tbl[ipi].ref_cnt) { in ixgbe_ipsec_del_sa()
[all …]
Dixgbe_ipsec.h69 struct rx_ip_sa *ip_tbl; member