Whamcloud - gitweb
LU-6034 lnet: add default case for check summing 92/13092/7
authorJames Simmons <uja.ornl@gmail.com>
Wed, 7 Jan 2015 18:32:23 +0000 (13:32 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 16 Jan 2015 03:26:56 +0000 (03:26 +0000)
To avoid breaking backwards ioctl compatiability
this patch adds data fields to ioctl data structures
to report the check summing algorithims supported

Change-Id: Idb5fd6633a7f7c2e04bb582f122d625dd95afb25
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Reviewed-on: http://review.whamcloud.com/13092
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Isaac Huang <he.huang@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/include/lnet/lib-dlc.h

index b0c8c44..59d57b0 100644 (file)
@@ -70,6 +70,8 @@ struct lnet_ioctl_config_data {
                        __s32 net_peer_tx_credits;
                        __s32 net_peer_rtr_credits;
                        __s32 net_max_tx_credits;
+                       __u32 net_cksum_algo;
+                       __u32 net_pad;
                } cfg_net;
                struct {
                        __u32 buf_enable;