Lines Matching refs:msgbuf
21 u32 msgbuf[IXGBE_VFMAILBOX_SIZE] = { 0 }; in ixgbevf_ipsec_set_pf_sa() local
27 sam = (struct sa_mbx_msg *)(&msgbuf[1]); in ixgbevf_ipsec_set_pf_sa()
39 msgbuf[0] = IXGBE_VF_IPSEC_ADD; in ixgbevf_ipsec_set_pf_sa()
43 ret = hw->mbx.ops.write_posted(hw, msgbuf, IXGBE_VFMAILBOX_SIZE); in ixgbevf_ipsec_set_pf_sa()
47 ret = hw->mbx.ops.read_posted(hw, msgbuf, 2); in ixgbevf_ipsec_set_pf_sa()
51 ret = (int)msgbuf[1]; in ixgbevf_ipsec_set_pf_sa()
52 if (msgbuf[0] & IXGBE_VT_MSGTYPE_NACK && ret >= 0) in ixgbevf_ipsec_set_pf_sa()
71 u32 msgbuf[2]; in ixgbevf_ipsec_del_pf_sa() local
74 memset(msgbuf, 0, sizeof(msgbuf)); in ixgbevf_ipsec_del_pf_sa()
75 msgbuf[0] = IXGBE_VF_IPSEC_DEL; in ixgbevf_ipsec_del_pf_sa()
76 msgbuf[1] = (u32)pfsa; in ixgbevf_ipsec_del_pf_sa()
80 err = hw->mbx.ops.write_posted(hw, msgbuf, 2); in ixgbevf_ipsec_del_pf_sa()
84 err = hw->mbx.ops.read_posted(hw, msgbuf, 2); in ixgbevf_ipsec_del_pf_sa()