packet-nvme-rdma: Add support to dissect send with invalidate

This patch adds support to dissect nvme fabric cqe which is sent using
rdma send_with_invalidate opcodes.

Change-Id: I90d271526f04da047295f496e77b04f606a29ad4
Tested-by: paravpandit@yahoo.com
Reviewed-on: https://code.wireshark.org/review/20645
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Parav Pandit 2017-03-20 00:40:59 -04:00 committed by Michael Mann
parent 2fd8c1778a
commit e6525ab178
1 changed files with 1 additions and 0 deletions

View File

@ -785,6 +785,7 @@ dissect_nvme_to_host(tvbuff_t *nvme_tvb, packet_info *pinfo,
{
switch (info->opCode) {
case RC_SEND_ONLY:
case RC_SEND_ONLY_INVAL:
if (len == NVME_FABRIC_CQE_SIZE)
dissect_nvme_rdma_cqe(nvme_tvb, pinfo, root_tree, nvme_tree, q_ctx);
else