Commit ef67305
committed
prov/efa: Allocate cq err_buf on demand
efa_cq->err_buf is only needed by efa-direct cq which
can store the err data on the util cq bypass path.
Make it allocated on demand during the efa-direct
cq open to save memory.
Signed-off-by: Shi Jin <[email protected]>1 parent fa9aee2 commit ef67305
2 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
860 | 860 | | |
861 | 861 | | |
862 | 862 | | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
863 | 866 | | |
864 | 867 | | |
865 | 868 | | |
| |||
988 | 991 | | |
989 | 992 | | |
990 | 993 | | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
991 | 1002 | | |
992 | 1003 | | |
993 | 1004 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | | - | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
0 commit comments