mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Several conflicts here. NFP driver bug fix adding nfp_netdev_is_nfp_repr() check to nfp_fl_output() needed some adjustments because the code block is in an else block now. Parallel additions to net/pkt_cls.h and net/sch_generic.h A bug fix in __tcp_retransmit_skb() conflicted with some of the rbtree changes in net-next. The tc action RCU callback fixes in 'net' had some overlap with some of the recent tcf_block reworking. Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
commit
e1ea2f9856
252 changed files with 2322 additions and 2083 deletions
|
|
@ -661,13 +661,15 @@ int rds_ib_xmit(struct rds_connection *conn, struct rds_message *rm,
|
|||
}
|
||||
}
|
||||
|
||||
rds_ib_set_wr_signal_state(ic, send, 0);
|
||||
rds_ib_set_wr_signal_state(ic, send, false);
|
||||
|
||||
/*
|
||||
* Always signal the last one if we're stopping due to flow control.
|
||||
*/
|
||||
if (ic->i_flowctl && flow_controlled && i == (work_alloc-1))
|
||||
send->s_wr.send_flags |= IB_SEND_SIGNALED | IB_SEND_SOLICITED;
|
||||
if (ic->i_flowctl && flow_controlled && i == (work_alloc - 1)) {
|
||||
rds_ib_set_wr_signal_state(ic, send, true);
|
||||
send->s_wr.send_flags |= IB_SEND_SOLICITED;
|
||||
}
|
||||
|
||||
if (send->s_wr.send_flags & IB_SEND_SIGNALED)
|
||||
nr_sig++;
|
||||
|
|
@ -705,11 +707,8 @@ int rds_ib_xmit(struct rds_connection *conn, struct rds_message *rm,
|
|||
if (scat == &rm->data.op_sg[rm->data.op_count]) {
|
||||
prev->s_op = ic->i_data_op;
|
||||
prev->s_wr.send_flags |= IB_SEND_SOLICITED;
|
||||
if (!(prev->s_wr.send_flags & IB_SEND_SIGNALED)) {
|
||||
ic->i_unsignaled_wrs = rds_ib_sysctl_max_unsig_wrs;
|
||||
prev->s_wr.send_flags |= IB_SEND_SIGNALED;
|
||||
nr_sig++;
|
||||
}
|
||||
if (!(prev->s_wr.send_flags & IB_SEND_SIGNALED))
|
||||
nr_sig += rds_ib_set_wr_signal_state(ic, prev, true);
|
||||
ic->i_data_op = NULL;
|
||||
}
|
||||
|
||||
|
|
@ -792,6 +791,7 @@ int rds_ib_xmit_atomic(struct rds_connection *conn, struct rm_atomic_op *op)
|
|||
send->s_atomic_wr.compare_add_mask = op->op_m_fadd.nocarry_mask;
|
||||
send->s_atomic_wr.swap_mask = 0;
|
||||
}
|
||||
send->s_wr.send_flags = 0;
|
||||
nr_sig = rds_ib_set_wr_signal_state(ic, send, op->op_notify);
|
||||
send->s_atomic_wr.wr.num_sge = 1;
|
||||
send->s_atomic_wr.wr.next = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue