Lines Matching refs:rx_tbl
319 struct rx_sa *r = &ipsec->rx_tbl[i]; in ixgbe_ipsec_restore()
365 if (!ipsec->rx_tbl[i].used) in ixgbe_ipsec_find_empty_idx()
694 memcpy(&ipsec->rx_tbl[sa_idx], &rsa, sizeof(rsa)); in ixgbe_ipsec_add_sa()
703 hash_add_rcu(ipsec->rx_sa_list, &ipsec->rx_tbl[sa_idx].hlist, in ixgbe_ipsec_add_sa()
771 rsa = &ipsec->rx_tbl[sa_idx]; in ixgbe_ipsec_del_sa()
861 if (!ipsec->rx_tbl[i].used) in ixgbe_ipsec_vf_clear()
863 if (ipsec->rx_tbl[i].mode & IXGBE_RXTXMOD_VF && in ixgbe_ipsec_vf_clear()
864 ipsec->rx_tbl[i].vf == vf) in ixgbe_ipsec_vf_clear()
865 ixgbe_ipsec_del_sa(ipsec->rx_tbl[i].xs); in ixgbe_ipsec_vf_clear()
961 ipsec->rx_tbl[sa_idx].vf = vf; in ixgbe_ipsec_vf_add_sa()
962 ipsec->rx_tbl[sa_idx].mode |= IXGBE_RXTXMOD_VF; in ixgbe_ipsec_vf_add_sa()
1022 rsa = &ipsec->rx_tbl[sa_idx]; in ixgbe_ipsec_vf_del_sa()
1033 xs = ipsec->rx_tbl[sa_idx].xs; in ixgbe_ipsec_vf_del_sa()
1258 ipsec->rx_tbl = kzalloc(size, GFP_KERNEL); in ixgbe_init_ipsec_offload()
1259 if (!ipsec->rx_tbl) in ixgbe_init_ipsec_offload()
1285 kfree(ipsec->rx_tbl); in ixgbe_init_ipsec_offload()
1303 kfree(ipsec->rx_tbl); in ixgbe_stop_ipsec_offload()