• Home
  • Raw
  • Download

Lines Matching refs:msgbuf

5269 static int igb_set_vf_promisc(struct igb_adapter *adapter, u32 *msgbuf, u32 vf)  in igb_set_vf_promisc()  argument
5279 if (*msgbuf & E1000_VF_SET_PROMISC_MULTICAST) { in igb_set_vf_promisc()
5282 *msgbuf &= ~E1000_VF_SET_PROMISC_MULTICAST; in igb_set_vf_promisc()
5301 if (*msgbuf & E1000_VT_MSGINFO_MASK) in igb_set_vf_promisc()
5308 u32 *msgbuf, u32 vf) in igb_set_vf_multicasts() argument
5310 int n = (msgbuf[0] & E1000_VT_MSGINFO_MASK) >> E1000_VT_MSGINFO_SHIFT; in igb_set_vf_multicasts()
5311 u16 *hash_list = (u16 *)&msgbuf[1]; in igb_set_vf_multicasts()
5547 static int igb_set_vf_vlan(struct igb_adapter *adapter, u32 *msgbuf, u32 vf) in igb_set_vf_vlan() argument
5550 int add = (msgbuf[0] & E1000_VT_MSGINFO_MASK) >> E1000_VT_MSGINFO_SHIFT; in igb_set_vf_vlan()
5551 int vid = (msgbuf[1] & E1000_VLVF_VLANID_MASK); in igb_set_vf_vlan()
5640 u32 reg, msgbuf[3]; in igb_vf_reset_msg() local
5641 u8 *addr = (u8 *)(&msgbuf[1]); in igb_vf_reset_msg()
5658 msgbuf[0] = E1000_VF_RESET | E1000_VT_MSGTYPE_ACK; in igb_vf_reset_msg()
5660 igb_write_mbx(hw, msgbuf, 3, vf); in igb_vf_reset_msg()
5694 u32 msgbuf[E1000_VFMAILBOX_SIZE]; in igb_rcv_msg_from_vf() local
5699 retval = igb_read_mbx(hw, msgbuf, E1000_VFMAILBOX_SIZE, vf); in igb_rcv_msg_from_vf()
5711 if (msgbuf[0] & (E1000_VT_MSGTYPE_ACK | E1000_VT_MSGTYPE_NACK)) in igb_rcv_msg_from_vf()
5717 if (msgbuf[0] == E1000_VF_RESET) { in igb_rcv_msg_from_vf()
5729 switch ((msgbuf[0] & 0xFFFF)) { in igb_rcv_msg_from_vf()
5733 retval = igb_set_vf_mac_addr(adapter, msgbuf, vf); in igb_rcv_msg_from_vf()
5740 retval = igb_set_vf_promisc(adapter, msgbuf, vf); in igb_rcv_msg_from_vf()
5743 retval = igb_set_vf_multicasts(adapter, msgbuf, vf); in igb_rcv_msg_from_vf()
5746 retval = igb_set_vf_rlpml(adapter, msgbuf[1], vf); in igb_rcv_msg_from_vf()
5755 retval = igb_set_vf_vlan(adapter, msgbuf, vf); in igb_rcv_msg_from_vf()
5758 dev_err(&pdev->dev, "Unhandled Msg %08x\n", msgbuf[0]); in igb_rcv_msg_from_vf()
5763 msgbuf[0] |= E1000_VT_MSGTYPE_CTS; in igb_rcv_msg_from_vf()
5767 msgbuf[0] |= E1000_VT_MSGTYPE_NACK; in igb_rcv_msg_from_vf()
5769 msgbuf[0] |= E1000_VT_MSGTYPE_ACK; in igb_rcv_msg_from_vf()
5771 igb_write_mbx(hw, msgbuf, 1, vf); in igb_rcv_msg_from_vf()