Lines Matching refs:lpar_rc
221 unsigned long lpar_rc; in ibmveth_replenish_buffer_pool() local
269 lpar_rc = h_add_logical_lan_buffer(adapter->vdev->unit_address, in ibmveth_replenish_buffer_pool()
272 if (lpar_rc != H_SUCCESS) { in ibmveth_replenish_buffer_pool()
422 unsigned long lpar_rc; in ibmveth_rxq_recycle_buffer() local
438 lpar_rc = h_add_logical_lan_buffer(adapter->vdev->unit_address, desc.desc); in ibmveth_rxq_recycle_buffer()
440 if (lpar_rc != H_SUCCESS) { in ibmveth_rxq_recycle_buffer()
442 "during recycle rc=%ld", lpar_rc); in ibmveth_rxq_recycle_buffer()
530 unsigned long lpar_rc; in ibmveth_open() local
601 lpar_rc = ibmveth_register_logical_lan(adapter, rxq_desc, mac_address); in ibmveth_open()
603 if (lpar_rc != H_SUCCESS) { in ibmveth_open()
605 lpar_rc); in ibmveth_open()
634 lpar_rc = h_free_logical_lan(adapter->vdev->unit_address); in ibmveth_open()
635 } while (H_IS_LONG_BUSY(lpar_rc) || (lpar_rc == H_BUSY)); in ibmveth_open()
686 long lpar_rc; in ibmveth_close() local
699 lpar_rc = h_free_logical_lan(adapter->vdev->unit_address); in ibmveth_close()
700 } while (H_IS_LONG_BUSY(lpar_rc) || (lpar_rc == H_BUSY)); in ibmveth_close()
702 if (lpar_rc != H_SUCCESS) { in ibmveth_close()
704 "continuing with close\n", lpar_rc); in ibmveth_close()
1343 unsigned long lpar_rc; in ibmveth_poll() local
1435 lpar_rc = h_vio_signal(adapter->vdev->unit_address, in ibmveth_poll()
1438 BUG_ON(lpar_rc != H_SUCCESS); in ibmveth_poll()
1442 lpar_rc = h_vio_signal(adapter->vdev->unit_address, in ibmveth_poll()
1454 unsigned long lpar_rc; in ibmveth_interrupt() local
1457 lpar_rc = h_vio_signal(adapter->vdev->unit_address, in ibmveth_interrupt()
1459 BUG_ON(lpar_rc != H_SUCCESS); in ibmveth_interrupt()
1468 unsigned long lpar_rc; in ibmveth_set_multicast_list() local
1472 lpar_rc = h_multicast_ctrl(adapter->vdev->unit_address, in ibmveth_set_multicast_list()
1476 if (lpar_rc != H_SUCCESS) { in ibmveth_set_multicast_list()
1478 "entering promisc mode\n", lpar_rc); in ibmveth_set_multicast_list()
1483 lpar_rc = h_multicast_ctrl(adapter->vdev->unit_address, in ibmveth_set_multicast_list()
1488 if (lpar_rc != H_SUCCESS) { in ibmveth_set_multicast_list()
1491 lpar_rc); in ibmveth_set_multicast_list()
1498 lpar_rc = h_multicast_ctrl(adapter->vdev->unit_address, in ibmveth_set_multicast_list()
1501 if (lpar_rc != H_SUCCESS) { in ibmveth_set_multicast_list()
1504 "table\n", lpar_rc); in ibmveth_set_multicast_list()
1509 lpar_rc = h_multicast_ctrl(adapter->vdev->unit_address, in ibmveth_set_multicast_list()
1512 if (lpar_rc != H_SUCCESS) { in ibmveth_set_multicast_list()
1514 "enabling filtering\n", lpar_rc); in ibmveth_set_multicast_list()