RDMA/nes: Remove tx_free_list
There is no lock protecting tx_free_list thus causing a system crash when skb_dequeue() is called and the list is empty. Since it did not give any performance boost under heavy load, remove it to simplify the code. Replace get_free_pkt() with dev_alloc_skb() to allocate MAX_CM_BUFFER skb for connection establishment/teardown as well as MPA request/response. Signed-off-by:Faisal Latif <faisal.latif@intel.com> Signed-off-by:
Chien Tung <chien.tin.tung@intel.com> Signed-off-by:
Roland Dreier <rolandd@cisco.com>
Showing
Please register or sign in to comment