Hi Stephen, Thanks for the review. All the points are addressed in v2:
- mw_size is now embedded in struct ntb_hw, as suggested (patch 4). - The doorbell interrupt handle array uses calloc() (patch 5). - peer_dev_up uses atomic accesses (new patch 14). - Queue setup checks are added, before any allocation, for both Rx and Tx (new patch 15). Thanks, Raghavendra

