On 5/19/2016 8:52 AM, Yishai Hadas wrote: > Frame Check Sequence(FCS) is an error detecting code that terminates an > Ethernet frame. When using Raw Ethernet, users sometimes want to > validate the FCS themselves, and therefore it should be scattered to the > receive buffers. > > This series adds the above support. > > The user can control scattering the FCS using Queue-Pair(QP) creation flag > called IBV_QP_CREATE_SCATTER_FCS. > > Also, to report this new device capability, we had to add a new device > capability flags in the uverbs response called device_cap_flags_ex, since all > the current device_cap_flags are occupied. > > device_cap_flags_ex 0-31 bits are identical to the legacy device_cap_flags, and > the upper 32 bits (32-63 bits) report new extended device capabilities. > > Devices that support scattering the FCS should report it in device_cap_flags_ex > using IBV_DEVICE_RAW_SCATTER_FCS. > > > Majd Dibbiny (3): > Extend devinfo verbosity mode > Add extended device capability flags > Add SCATTER_FCS QP create flag > > examples/devinfo.c | 96 +++++++++++++++++++++++++++++++++++++++++++ > include/infiniband/kern-abi.h | 2 + > include/infiniband/verbs.h | 8 ++++ > man/ibv_query_device_ex.3 | 1 + > src/cmd.c | 13 +++++- > 5 files changed, 119 insertions(+), 1 deletion(-) > Thanks, series applied.
Attachment:
signature.asc
Description: OpenPGP digital signature