summaryrefslogtreecommitdiff
path: root/proc.h
blob: 0a31f36a1fca264575a906a523a8e2a5c644a16d (plain)
1
2
3
4
5
6
7
8
#ifndef PROC_H
#define PROC_H

extern void cpu_affinity(int cpu);
extern int set_proc_prio(int prio);
extern int set_sched_status(int policy, int priority);

#endif /* PROC_H */
n value='1'>ignoremode:
authorArjun V <arjun@chelsio.com>2017-02-02 12:43:29 +0530
committerDavid S. Miller <davem@davemloft.net>2017-02-03 11:04:32 -0500
commit0d4b729dac35bb265533c79b554578a5ec6df384 (patch)
treed0ef95577db29d8607ca822a1dc1fad0ab37d324
parent86bc8b310f1f323ccc9a311933e35d3442473034 (diff)
cxgb4: Fix uld_send() for ctrl pkts
Without any uld being loaded, uld_txq_info[] will be NULL. uld_send() is also used for sending control work requests(for eg: setting filter) that dont require any ulds to be loaded. Hence move uld_txq_info[] assignment after ctrl_xmit(). Also added a NULL check for uld_txq_info[]. Fixes: 94cdb8bb993a (cxgb4: Add support for dynamic allocation of resources for ULD). Signed-off-by: Arjun V <arjun@chelsio.com> Signed-off-by: Casey Leedom <leedom@chelsio.com> Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat