Bin Meng
f574633529
net: checksum: Introduce fine control over checksum type
...
At present net_checksum_calculate() blindly calculates all types of
checksums (IP, TCP, UDP). Some NICs may have a per type setting in
their BDs to control what checksum should be offloaded. To support
such hardware behavior, introduce a 'csum_flag' parameter to the
net_checksum_calculate() API to allow fine control over what type
checksum is calculated.
Existing users of this API are updated accordingly.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2021-01-25 17:04:56 +08:00
..
2020-12-10 11:30:44 +00:00
2021-01-25 17:04:56 +08:00
2021-01-01 22:57:15 +00:00
2020-03-31 21:14:35 +08:00
2021-01-25 17:04:56 +08:00
2021-01-25 17:04:56 +08:00
2020-12-01 10:34:08 +00:00
2017-09-08 08:17:37 +08:00
2021-01-08 15:13:38 +00:00
2021-01-08 15:13:38 +00:00
2020-11-15 16:45:49 +01:00
2020-11-15 16:45:49 +01:00
2020-11-15 16:45:49 +01:00
2020-11-15 16:45:49 +01:00
2020-05-15 07:08:14 +02:00
2020-09-18 14:12:32 -04:00
2021-01-25 17:04:56 +08:00
2020-03-31 21:14:35 +08:00
2020-03-31 21:14:35 +08:00
2021-01-25 17:04:56 +08:00
2020-09-30 19:11:37 +02:00
2021-01-12 21:19:02 +00:00
2020-05-15 07:08:14 +02:00
2020-06-15 22:05:28 +02:00
2020-08-27 14:04:54 -04:00
2020-08-21 06:30:29 -04:00
2020-11-15 17:04:40 +01:00
2020-09-18 14:12:32 -04:00
2020-04-30 11:52:28 +01:00
2020-09-18 14:12:32 -04:00
2020-05-15 07:08:14 +02:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:52 +02:00
2020-03-03 18:04:47 +08:00
2020-03-03 18:04:47 +08:00
2020-08-04 14:14:48 +08:00
2020-07-21 21:30:39 +08:00
2020-09-18 14:12:32 -04:00
2021-01-08 15:13:38 +00:00
2019-08-16 13:31:53 +02:00
2020-01-07 17:24:29 +04:00
2021-01-08 15:13:38 +00:00
2020-09-18 14:12:32 -04:00
2021-01-08 15:13:38 +00:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-07-03 16:59:41 +01:00
2020-08-21 06:18:24 -04:00
2020-08-27 14:04:54 -04:00
2020-09-18 14:12:32 -04:00
2020-07-03 07:57:04 -04:00
2020-07-07 07:59:51 -04:00
2021-01-25 17:04:56 +08:00
2017-11-20 11:08:00 +08:00
2020-09-09 09:27:09 -04:00
2020-09-09 09:27:09 -04:00
2017-11-20 11:08:00 +08:00
2016-07-12 16:20:46 +02:00
2021-01-25 17:04:56 +08:00
2020-09-18 14:12:32 -04:00
2020-12-10 12:15:04 -05:00
2020-09-09 09:27:09 -04:00