Re: [PATCH rdma-next 00/11] Expanding raw packet capabilities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2017-01-18 at 15:39 +0200, Leon Romanovsky wrote:
> Hi Doug,
> 
> Please find the following patchset from Noa.
> 
> This series unifies all existing raw packet capabilities under a new
> field in ib_device_attr named raw_packet_caps. This field is defined
> by the ib_raw_packet_caps enum. Such change makes it easier to report
> those capabilities back to the user.
> 
> 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.
>   This is done by setting the IBV_WQ_FLAGS_CVLAN_STRIPPING bit of the
>   create_flags field in ibv_wq_init_attr struct.
> - Allows setting and unsetting of cvlan stripping capability for an
> existing WQ.
>   This is done by setting the following fields of the ibv_wq_attr
> struct:
>     - Setting IBV_WQ_ATTR_FLAGS bit of the attr_mask field.
>     - Setting the IBV_RAW_PACKET_CAP_CVLAN_STRIPPING bit of the
>       flags_mask field.
>     - Either setting or unsetting the
> IBV_RAW_PACKET_CAP_CVLAN_STRIPPING
>       bit of the flags field.
> - Allows creation of WQ with scatter FCS offload.
>   This is done by setting the IBV_WQ_FLAGS_SCATTER_FCS bit of the
>   create_flags field in ibv_wq_init_attr struct.
> 
> Thanks,
>         Noa

This is a fairly straightforward expansion of the raw ethernet QP
options.  Series applied, thanks.

-- 
Doug Ledford <dledford@xxxxxxxxxx>
    GPG KeyID: B826A3330E572FDD
   
Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux