mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Networking: Remove driver based backlog support. This affects the entire network, but is used by only one driver. The only supported with of supported RX backlog is via common read-ahead buffering.
This commit is contained in:
@@ -323,28 +323,6 @@ static ssize_t pkt_recvfrom_result(int result, struct pkt_recvfrom_s *pstate)
|
||||
return pstate->pr_recvlen;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: pkt_recvfrom_rxnotify
|
||||
*
|
||||
* Description:
|
||||
* Notify the appropriate device driver that we are ready to receive a
|
||||
* packet (PKT)
|
||||
*
|
||||
* Parameters:
|
||||
* conn - The PKT connection structure
|
||||
*
|
||||
* Returned Value:
|
||||
* None
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#if 0 /* Not implemented */
|
||||
static void pkt_recvfrom_rxnotify(FAR struct pkt_conn_s *conn)
|
||||
{
|
||||
# warning Missing logic
|
||||
}
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
@@ -447,12 +425,6 @@ ssize_t pkt_recvfrom(FAR struct socket *psock, FAR void *buf, size_t len,
|
||||
state.pr_cb->priv = (FAR void *)&state;
|
||||
state.pr_cb->event = pkt_recvfrom_interrupt;
|
||||
|
||||
/* Notify the device driver of the receive call */
|
||||
|
||||
#if 0 /* Not implemented */
|
||||
pkt_recvfrom_rxnotify(conn);
|
||||
#endif
|
||||
|
||||
/* Wait for either the receive to complete or for an error/timeout to
|
||||
* occur. NOTES: (1) net_lockedwait will also terminate if a signal
|
||||
* is received, (2) the network is locked! It will be un-locked while
|
||||
|
||||
Reference in New Issue
Block a user