Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ipsec.c341 struct rx_ip_sa *ipsa = &ipsec->ip_tbl[i]; in ixgbe_ipsec_restore()
647 if (ipsec->ip_tbl[i].used) { in ixgbe_ipsec_add_sa()
648 if (!memcmp(ipsec->ip_tbl[i].ipaddr, in ixgbe_ipsec_add_sa()
665 ipsec->ip_tbl[match].ref_cnt++; in ixgbe_ipsec_add_sa()
671 memcpy(ipsec->ip_tbl[first].ipaddr, in ixgbe_ipsec_add_sa()
673 ipsec->ip_tbl[first].ref_cnt = 1; in ixgbe_ipsec_add_sa()
674 ipsec->ip_tbl[first].used = true; in ixgbe_ipsec_add_sa()
786 if (ipsec->ip_tbl[ipi].ref_cnt > 0) { in ixgbe_ipsec_del_sa()
787 ipsec->ip_tbl[ipi].ref_cnt--; in ixgbe_ipsec_del_sa()
789 if (!ipsec->ip_tbl[ipi].ref_cnt) { in ixgbe_ipsec_del_sa()
[all …]
Dixgbe_ipsec.h69 struct rx_ip_sa *ip_tbl; member