public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V1 rdma-core 0/6] Expanding raw packet capabilities
@ 2017-03-15 15:27 Yishai Hadas
       [not found] ` <1489591666-14062-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Yishai Hadas @ 2017-03-15 15:27 UTC (permalink / raw)
  To: dledford-H+wXaHxf7aLQT0dZR+AlfA
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, yishaih-VPRAkNaXOzVWk0Htik3J/w,
	noaos-VPRAkNaXOzVWk0Htik3J/w, majd-VPRAkNaXOzVWk0Htik3J/w

Sending V1 to better describe the API as part of commit logs and man pages,
details below.

This series from Noa is the complementary user space part
of the kernel code that was merged into 4.11.

This series unifies all existing raw packet capabilities under a new
field in ibv_device_attr_ex named raw_packet_caps. This field is defined
by the ibv_raw_packet_caps enum.

The existing IP csum and scatter FCS capabilities were added to the
enum and a new capability was introduced - cvlan stripping offload.

Cvlan stripping is the device's capability to remove the cvlan from
an incoming raw packet and provide the data in the matching work
completion.

This series also:
- Allows creation of WQ and raw Ethernet QP with cvlan stripping capability.
- Allows setting and unsetting of cvlan stripping capability for an existing WQ.
- Allows creation of WQ with scatter FCS offload.
- Allows reading the cvlan data from ibv_cq_ex.

Details for above was added as part of the commit logs and the relevant
man pages.

Pull request was sent:
https://github.com/linux-rdma/rdma-core/pull/96

Changes from V0:
- Extend commit logs to better describe the usage from user point of view.
- Per API change put the corresponding man page change in the same patch to
  clarify the usage. 
- Drop patch #6 which held the changes for all the man pages together as of
  the above change.
- Align involved man pages with current code where stuff was missing and extend
  to better describe the new functionality.


Noa Osherovich (6):
  ibverbs: Report raw packet caps as part of query device
  ibverbs: Allow creation and modification of WQ with cvlan offload
  ibverbs: Allow creation of QP with cvlan stripping offload
  ibverbs: Add an option to poll cvlan value from a CQ
  mlx5: Add read_cvlan support
  ibverbs: Add support for scatter FCS ability in WQ

 libibverbs/cmd.c                     | 29 ++++++++++++++++++++++++++++-
 libibverbs/examples/devinfo.c        | 14 ++++++++++++++
 libibverbs/kern-abi.h                |  6 +++++-
 libibverbs/man/ibv_create_cq_ex.3    |  9 +++++++--
 libibverbs/man/ibv_create_qp_ex.3    |  8 ++++++++
 libibverbs/man/ibv_create_wq.3       | 12 ++++++++++++
 libibverbs/man/ibv_modify_wq.3       |  2 ++
 libibverbs/man/ibv_query_device_ex.3 |  9 +++++++++
 libibverbs/verbs.h                   | 35 +++++++++++++++++++++++++++++++----
 providers/mlx5/cq.c                  |  9 +++++++++
 providers/mlx5/verbs.c               |  3 ++-
 11 files changed, 127 insertions(+), 9 deletions(-)

-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-03-21 17:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-15 15:27 [PATCH V1 rdma-core 0/6] Expanding raw packet capabilities Yishai Hadas
     [not found] ` <1489591666-14062-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2017-03-15 15:27   ` [PATCH V1 rdma-core 1/6] ibverbs: Report raw packet caps as part of query device Yishai Hadas
2017-03-15 15:27   ` [PATCH V1 rdma-core 2/6] ibverbs: Allow creation and modification of WQ with cvlan offload Yishai Hadas
2017-03-15 15:27   ` [PATCH V1 rdma-core 3/6] ibverbs: Allow creation of QP with cvlan stripping offload Yishai Hadas
2017-03-15 15:27   ` [PATCH V1 rdma-core 4/6] ibverbs: Add an option to poll cvlan value from a CQ Yishai Hadas
2017-03-15 15:27   ` [PATCH V1 rdma-core 5/6] mlx5: Add read_cvlan support Yishai Hadas
2017-03-15 15:27   ` [PATCH V1 rdma-core 6/6] ibverbs: Add support for scatter FCS ability in WQ Yishai Hadas
2017-03-21 17:33   ` [PATCH V1 rdma-core 0/6] Expanding raw packet capabilities Doug Ledford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox