summaryrefslogtreecommitdiff
path: root/Documentation/scsi/scsi-parameters.txt
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2018-10-17 11:53:12 +0300
committerDavid S. Miller <davem@davemloft.net>2018-10-18 03:45:07 +0300
commit28e450333d4d1328710e258d38793c61658d4c95 (patch)
tree3a380928f8708c44c877984467d8cb065661d784 /Documentation/scsi/scsi-parameters.txt
parentcca45e054ce55c06046a37bf4d3fd7c17edd57da (diff)
downloadlinux-28e450333d4d1328710e258d38793c61658d4c95.tar.xz
inet: Refactor INET_ECN_decapsulate()
Drivers that support tunnel decapsulation (IPinIP or NVE) need to configure the underlying device to conform to the behavior outlined in RFC 6040 with respect to the ECN bits. This behavior is implemented by INET_ECN_decapsulate() which requires an skb to be passed where the ECN CE bit can be potentially set. Since these drivers do not need to mark an skb, but only configure the device to do so, factor out the business logic to __INET_ECN_decapsulate() and potentially perform the marking in INET_ECN_decapsulate(). This allows drivers to invoke __INET_ECN_decapsulate() and configure the device. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Suggested-by: Petr Machata <petrm@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/scsi/scsi-parameters.txt')
0 files changed, 0 insertions, 0 deletions