• Home
  • Raw
  • Download

Lines Matching refs:com

148 				     &cnp->com.local_addr;  in cxgbit_create_server6()
168 cxgbit_init_wr_wait(&cnp->com.wr_wait); in cxgbit_create_server6()
175 ret = cxgbit_wait_for_reply(cdev, &cnp->com.wr_wait, in cxgbit_create_server6()
200 &cnp->com.local_addr; in cxgbit_create_server4()
207 cxgbit_init_wr_wait(&cnp->com.wr_wait); in cxgbit_create_server4()
215 &cnp->com.wr_wait, in cxgbit_create_server4()
292 struct sockaddr_storage *sockaddr = &cnp->com.local_addr; in cxgbit_find_np_cdev()
320 struct sockaddr_storage *sockaddr = &cnp->com.local_addr; in cxgbit_inaddr_any()
346 int ss_family = cnp->com.local_addr.ss_family; in __cxgbit_setup_cdev_np()
391 cnp->com.cdev = cdev; in cxgbit_setup_cdev_np()
439 init_completion(&cnp->com.wr_wait.completion); in cxgbit_setup_np()
446 memcpy(&cnp->com.local_addr, &np->np_sockaddr, in cxgbit_setup_np()
447 sizeof(cnp->com.local_addr)); in cxgbit_setup_np()
450 cnp->com.cdev = NULL; in cxgbit_setup_np()
463 cnp->com.state = CSK_STATE_LISTEN; in cxgbit_setup_np()
472 conn->login_sockaddr = csk->com.remote_addr; in cxgbit_set_conn_info()
473 conn->local_sockaddr = csk->com.local_addr; in cxgbit_set_conn_info()
533 cxgbit_init_wr_wait(&cnp->com.wr_wait); in __cxgbit_free_cdev_np()
545 ret = cxgbit_wait_for_reply(cdev, &cnp->com.wr_wait, in __cxgbit_free_cdev_np()
550 if (ipv6 && cnp->com.cdev) { in __cxgbit_free_cdev_np()
553 sin6 = (struct sockaddr_in6 *)&cnp->com.local_addr; in __cxgbit_free_cdev_np()
560 cnp->com.local_addr.ss_family); in __cxgbit_free_cdev_np()
585 if (cdev == cnp->com.cdev) { in cxgbit_free_cdev_np()
605 cnp->com.state = CSK_STATE_DEAD; in cxgbit_free_np()
606 if (cnp->com.cdev) in cxgbit_free_np()
664 __func__, csk, csk->tid, csk->com.state); in cxgbit_send_abort_req()
668 if (!test_and_set_bit(CSK_TX_DATA_SENT, &csk->com.flags)) in cxgbit_send_abort_req()
673 csk->com.cdev, cxgbit_abort_arp_failure); in cxgbit_send_abort_req()
675 return cxgbit_l2t_send(csk->com.cdev, skb, csk->l2t); in cxgbit_send_abort_req()
683 if (csk->com.state != CSK_STATE_ESTABLISHED) in __cxgbit_abort_conn()
686 set_bit(CSK_ABORT_RPL_WAIT, &csk->com.flags); in __cxgbit_abort_conn()
687 csk->com.state = CSK_STATE_ABORTING; in __cxgbit_abort_conn()
694 cxgbit_wake_up(&csk->com.wr_wait, __func__, CPL_ERR_NONE); in __cxgbit_abort_conn()
703 cxgbit_init_wr_wait(&csk->com.wr_wait); in cxgbit_abort_conn()
714 cxgbit_wait_for_reply(csk->com.cdev, &csk->com.wr_wait, in cxgbit_abort_conn()
724 __func__, csk->com.state); in __cxgbit_free_conn()
727 switch (csk->com.state) { in __cxgbit_free_conn()
730 csk->com.state = CSK_STATE_CLOSING; in __cxgbit_free_conn()
733 csk->com.state = CSK_STATE_ABORTING; in __cxgbit_free_conn()
738 csk->com.state = CSK_STATE_MORIBUND; in __cxgbit_free_conn()
746 __func__, csk, csk->com.state); in __cxgbit_free_conn()
761 csk->emss = csk->com.cdev->lldi.mtus[TCPOPT_MSS_G(opt)] - in cxgbit_set_emss()
762 ((csk->com.remote_addr.ss_family == AF_INET) ? in cxgbit_set_emss()
800 pr_debug("%s csk %p state %d\n", __func__, csk, csk->com.state); in _cxgbit_free_csk()
802 if (csk->com.local_addr.ss_family == AF_INET6) { in _cxgbit_free_csk()
804 &csk->com.local_addr; in _cxgbit_free_csk()
805 cxgb4_clip_release(csk->com.cdev->lldi.ports[0], in _cxgbit_free_csk()
810 cxgb4_remove_tid(csk->com.cdev->lldi.tids, 0, csk->tid, in _cxgbit_free_csk()
811 csk->com.local_addr.ss_family); in _cxgbit_free_csk()
815 cdev = csk->com.cdev; in _cxgbit_free_csk()
1045 if (csk->com.state != CSK_STATE_ESTABLISHED) { in cxgbit_send_rx_credits()
1050 cxgbit_ofld_send(csk->com.cdev, skb); in cxgbit_send_rx_credits()
1133 struct cxgb4_lld_info *lldi = &csk->com.cdev->lldi; in cxgbit_pass_accept_rpl()
1154 cxgb_best_mtu(csk->com.cdev->lldi.mtus, csk->mtu, &mtu_idx, in cxgbit_pass_accept_rpl()
1156 (csk->com.remote_addr.ss_family == AF_INET) ? 0 : 1); in cxgbit_pass_accept_rpl()
1212 cxgbit_l2t_send(csk->com.cdev, skb, csk->l2t); in cxgbit_pass_accept_rpl()
1243 if (cnp->com.state != CSK_STATE_LISTEN) { in cxgbit_pass_accept_req()
1282 &cnp->com.local_addr)->sin6_scope_id); in cxgbit_pass_accept_req()
1307 init_completion(&csk->com.wr_wait.completion); in cxgbit_pass_accept_req()
1316 csk->com.state = CSK_STATE_CONNECTING; in cxgbit_pass_accept_req()
1317 csk->com.cdev = cdev; in cxgbit_pass_accept_req()
1329 &csk->com.local_addr; in cxgbit_pass_accept_req()
1334 sin = (struct sockaddr_in *)&csk->com.remote_addr; in cxgbit_pass_accept_req()
1340 &csk->com.local_addr; in cxgbit_pass_accept_req()
1349 sin6 = (struct sockaddr_in6 *)&csk->com.remote_addr; in cxgbit_pass_accept_req()
1377 cxgb4_insert_tid(t, csk, tid, csk->com.local_addr.ss_family); in cxgbit_pass_accept_req()
1417 struct cxgbit_device *cdev = csk->com.cdev; in cxgbit_send_tx_flowc_wr()
1438 (csk->com.cdev->lldi.pf)); in cxgbit_send_tx_flowc_wr()
1483 cxgbit_ofld_send(csk->com.cdev, skb); in cxgbit_send_tx_flowc_wr()
1491 if (unlikely(csk->com.state != CSK_STATE_ESTABLISHED)) { in cxgbit_send_tcb_skb()
1494 __func__, csk, csk->tid, csk->com.state); in cxgbit_send_tcb_skb()
1500 cxgbit_init_wr_wait(&csk->com.wr_wait); in cxgbit_send_tcb_skb()
1501 cxgbit_ofld_send(csk->com.cdev, skb); in cxgbit_send_tcb_skb()
1535 ret = cxgbit_wait_for_reply(csk->com.cdev, in cxgbit_setup_conn_digest()
1536 &csk->com.wr_wait, in cxgbit_setup_conn_digest()
1568 ret = cxgbit_wait_for_reply(csk->com.cdev, in cxgbit_setup_conn_pgidx()
1569 &csk->com.wr_wait, in cxgbit_setup_conn_pgidx()
1593 cxgbit_wake_up(&cnp->com.wr_wait, __func__, rpl->status); in cxgbit_pass_open_rpl()
1615 cxgbit_wake_up(&cnp->com.wr_wait, __func__, rpl->status); in cxgbit_close_listsrv_rpl()
1655 csk->com.state = CSK_STATE_ESTABLISHED; in cxgbit_pass_establish()
1676 __func__, csk, csk->tid, csk->com.state); in cxgbit_peer_close()
1678 switch (csk->com.state) { in cxgbit_peer_close()
1680 csk->com.state = CSK_STATE_CLOSING; in cxgbit_peer_close()
1685 csk->com.state = CSK_STATE_MORIBUND; in cxgbit_peer_close()
1688 csk->com.state = CSK_STATE_DEAD; in cxgbit_peer_close()
1695 __func__, csk->com.state); in cxgbit_peer_close()
1704 __func__, csk, csk->tid, csk->com.state); in cxgbit_close_con_rpl()
1706 switch (csk->com.state) { in cxgbit_close_con_rpl()
1708 csk->com.state = CSK_STATE_MORIBUND; in cxgbit_close_con_rpl()
1711 csk->com.state = CSK_STATE_DEAD; in cxgbit_close_con_rpl()
1719 __func__, csk->com.state); in cxgbit_close_con_rpl()
1735 __func__, csk, tid, csk->com.state); in cxgbit_abort_req_rss()
1743 switch (csk->com.state) { in cxgbit_abort_req_rss()
1746 csk->com.state = CSK_STATE_DEAD; in cxgbit_abort_req_rss()
1750 csk->com.state = CSK_STATE_DEAD; in cxgbit_abort_req_rss()
1754 csk->com.state = CSK_STATE_DEAD; in cxgbit_abort_req_rss()
1762 __func__, csk->com.state); in cxgbit_abort_req_rss()
1763 csk->com.state = CSK_STATE_DEAD; in cxgbit_abort_req_rss()
1768 if (!test_and_set_bit(CSK_TX_DATA_SENT, &csk->com.flags)) in cxgbit_abort_req_rss()
1774 cxgbit_ofld_send(csk->com.cdev, rpl_skb); in cxgbit_abort_req_rss()
1792 __func__, csk, csk->tid, csk->com.state); in cxgbit_abort_rpl_rss()
1794 switch (csk->com.state) { in cxgbit_abort_rpl_rss()
1796 csk->com.state = CSK_STATE_DEAD; in cxgbit_abort_rpl_rss()
1797 if (test_bit(CSK_ABORT_RPL_WAIT, &csk->com.flags)) in cxgbit_abort_rpl_rss()
1798 cxgbit_wake_up(&csk->com.wr_wait, __func__, in cxgbit_abort_rpl_rss()
1804 __func__, csk->com.state); in cxgbit_abort_rpl_rss()
1912 cxgbit_wake_up(&csk->com.wr_wait, __func__, rpl->status); in cxgbit_set_tcb_rpl()