From: Maxim Uvarov
Api defines statemet:
"When classifier is enabled in odp_pktin_queue_config() this
value is ignored, otherwise at least one queue is required."
https://bugs.linaro.org/show_bug.cgi?id=3289
Signed-off-by: Maxim Uvarov
---
Api defines statemet:
"When classifier is enabled in odp_pktin_queue_config() this
value is ignored, otherwise at least one queue is required."
https://bugs.linaro.org/show_bug.cgi?id=3289
Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org
github
/** Email
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 243 (lumag:ipsec-packet-impl-3)
** https://github.com/Linaro/odp/pull/243
** Patch:
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 243 (lumag:ipsec-packet-impl-3)
** https://github.com/Linaro/odp/pull/243
** Patch:
From: Dmitry Eremin-Solenikov
Provide function mapping from odp_cos_t to internal cos_t type.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 243 (lumag:ipsec-packet-impl-3)
**
From: Dmitry Eremin-Solenikov
Separate function returning destination queue from cos_t instance.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 243 (lumag:ipsec-packet-impl-3)
**
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 243 (lumag:ipsec-packet-impl-3)
** https://github.com/Linaro/odp/pull/243
** Patch:
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 243 (lumag:ipsec-packet-impl-3)
** https://github.com/Linaro/odp/pull/243
** Patch:
From: Dmitry Eremin-Solenikov
Reusing IV block with GCM results in disastrous consequences. Use
counter instead of random-generated IV to remove possibility for IV
reuse.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 243 (lumag:ipsec-packet-impl-3)
** https://github.com/Linaro/odp/pull/243
** Patch:
From: Dmitry Eremin-Solenikov
Split count expiration check into two phases:
- optional precheck, run before crypto, which fails only if hard limit
is already breached
- update, run after crypto in INBOUND case, so that limits will not be
updated for
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 243 (lumag:ipsec-packet-impl-3)
** https://github.com/Linaro/odp/pull/243
** Patch:
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 243 (lumag:ipsec-packet-impl-3)
** https://github.com/Linaro/odp/pull/243
** Patch:
security fix for GCM mode: proper IV generation
implementation of 32-bit replay window support
implementation of PIPELINE_CLS support
github
/** Email created from pull request 243 (lumag:ipsec-packet-impl-3)
** https://github.com/Linaro/odp/pull/243
**
muvarov replied on github web page:
platform/linux-generic/odp_packet_io.c
@@ -1229,7 +1229,12 @@ int odp_pktin_queue_config(odp_pktio_t pktio,
if (mode == ODP_PKTIN_MODE_DISABLED)
return 0;
- num_queues = param->num_queues;
+ if (param->classifier_enable) {
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_packet_io.c
@@ -1229,7 +1229,12 @@ int odp_pktin_queue_config(odp_pktio_t pktio,
if (mode == ODP_PKTIN_MODE_DISABLED)
return 0;
- num_queues = param->num_queues;
+ if
muvarov replied on github web page:
platform/linux-generic/odp_packet.c
line 12
@@ -1259,6 +1259,22 @@ int odp_packet_l4_offset_set(odp_packet_t pkt, uint32_t
offset)
return 0;
}
+void odp_packet_l3_chksum_insert(odp_packet_t pkt, int l3)
+{
+ odp_packet_hdr_t *pkt_hdr =
From: Maxim Uvarov
Api defines statemet:
"When classifier is enabled in odp_pktin_queue_config() this
value is ignored, otherwise at least one queue is required."
https://bugs.linaro.org/show_bug.cgi?id=3289
Signed-off-by: Maxim Uvarov
---
Api defines statemet:
"When classifier is enabled in odp_pktin_queue_config() this
value is ignored, otherwise at least one queue is required."
https://bugs.linaro.org/show_bug.cgi?id=3289
Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org
github
/** Email
From: Petri Savolainen
Use ODP_PRINT instead of ODP_DBG in the print function.
The idea of a print function is that it prints information
when application calls it. ODP_DBG does not print anything
by default.
Format printted output to be a readable table of shm
Add SHM block level debug print function. This is similar to e.g.
odp_pool_print(). All SHM blocks print function (odp_shm_print_all()) cannot
print as much details on every block. Cleaned also SHM header file and
odp_shm_print_all() implementation while touching the files.
From: Petri Savolainen
Added function to print debugging information about the
specified shared memory block. Info is implementation defined
but should include information about allocated memory addresses,
pages, etc.
Signed-off-by: Petri Savolainen
From: Petri Savolainen
Implement the new block level debug print function.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 246 (psavol:next-shm-print)
** https://github.com/Linaro/odp/pull/246
** Patch:
From: Petri Savolainen
Clean up shm header file. Remove [in] Doxygen tags as function
parameters are by default input. Move @note text to the main
text block, as it's usual API specification text.
Signed-off-by: Petri Savolainen
---
/**
Add clarification that odp_pktio_config() cannot be used to
configure options that are not supported, as indicated by
odp_pktio_capability().
Signed-off-by: Bill Fischofer bill.fischo...@linaro.org
github
/** Email created from pull request 247
From: Bill Fischofer
Add clarification that odp_pktio_config() cannot be used to
configure options that are not supported, as indicated by
odp_pktio_capability().
Signed-off-by: Bill Fischofer
---
/** Email created from pull request 247
https://bugs.linaro.org/show_bug.cgi?id=3242
--- Comment #1 from Maxim Uvarov ---
https://github.com/Linaro/odp/commit/df978d9b4e766c8e1cb1a88a28d98318840fee22
refs/heads/master
2017-10-19T18:31:27+03:00
Maxim Uvarov maxim.uva...@linaro.org
linux-gen: pktio: add missing
Branch: refs/heads/master
Home: https://github.com/Linaro/odp
Commit: 1bcf171f00973bcc21baadf9919a61cd6abdf713
https://github.com/Linaro/odp/commit/1bcf171f00973bcc21baadf9919a61cd6abdf713
Author: Dmitry Eremin-Solenikov
Date: 2017-10-19
Sounds like the API spec could be tightened up a bit to reflect that. I've
posted PR #247[1] to add that clarification.
---
[1] https://github.com/Linaro/odp/pull/247
On Fri, Oct 20, 2017 at 1:19 AM, Bogdan Pricope
wrote:
> Hi,
>
> odp_pktio_config() works as you
Update git .ignore file with correct executable file names.
Signed-off-by: Petri Savolainen petri.savolai...@linaro.org
github
/** Email created from pull request 244 (psavol:next-git-ignore)
** https://github.com/Linaro/odp/pull/244
** Patch:
From: Petri Savolainen
Update git .ignore file with correct executable file names.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 244 (psavol:next-git-ignore)
** https://github.com/Linaro/odp/pull/244
**
From: Bogdan Pricope
Immplement L3/L4 checksum insertion override functions
Signed-off-by: Bogdan Pricope
---
/** Email created from pull request 245 (bogdanPricope:api_next_ovr_csum_ref_pr)
** https://github.com/Linaro/odp/pull/245
**
From: Bogdan Pricope
Implement checksum insertion override for dpdk pktio
Signed-off-by: Bogdan Pricope
---
/** Email created from pull request 245 (bogdanPricope:api_next_ovr_csum_ref_pr)
** https://github.com/Linaro/odp/pull/245
**
Implement checksum insertion override generic functions and processing for dpdk
pktio.
github
/** Email created from pull request 245 (bogdanPricope:api_next_ovr_csum_ref_pr)
** https://github.com/Linaro/odp/pull/245
** Patch:
Dmitry Eremin-Solenikov(lumag) replied on github web page:
shippable.yml
line 14
@@ -0,0 +1,45 @@
+language: c
+
+compiler:
+ - gcc
+ - clang
+
+env:
+ matrix:
+- CONF=""
+# - CONF="--disable-abi-compat"
+# - CONF="--enable-schedule-sp"
+# - CONF="--enable-schedule-iquery"
+
lironhimi replied on github web page:
platform/linux-generic/odp_packet_io.c
line 10
@@ -1229,7 +1229,12 @@ int odp_pktin_queue_config(odp_pktio_t pktio,
if (mode == ODP_PKTIN_MODE_DISABLED)
return 0;
- num_queues = param->num_queues;
+ if
From: Petri Savolainen
Call ones complement functions. Actual validation of
correctness of the sum is to be done, when an implementation
exist which sets the sum on packet input.
Signed-off-by: Petri Savolainen
---
/** Email created
From: Petri Savolainen
Added packet metadata for ones complement sum over IP
payload in a packet. Some NICs calculate the sum
during packet input (at least for IP fragments) and
store the value into the packet descriptor. This offloads
L4 checksum calculation for IP
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 243 (lumag:ipsec-packet-impl-3)
** https://github.com/Linaro/odp/pull/243
** Patch:
From: Petri Savolainen
Added dummy implementation of ones complement calls. Linux
generic implementation does not calculate the sum for all
incoming packets as it would be wasteful in SW. It's better
to wait until application asks it with odp_chksum_ones_comp16().
Added packet metadata for ones complement sum over IP
payload in a packet. Some NICs calculate the sum
during packet input (at least for IP fragments) and
store the value into the packet descriptor. This offloads
L4 checksum calculation for IP fragments as SW does not
need sum all payload data,
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 243 (lumag:ipsec-packet-impl-3)
** https://github.com/Linaro/odp/pull/243
** Patch:
From: Dmitry Eremin-Solenikov
Separate function returning destination queue from cos_t instance.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 243 (lumag:ipsec-packet-impl-3)
**
From: Dmitry Eremin-Solenikov
Provide function mapping from odp_cos_t to internal cos_t type.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 243 (lumag:ipsec-packet-impl-3)
**
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 243 (lumag:ipsec-packet-impl-3)
** https://github.com/Linaro/odp/pull/243
** Patch:
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 243 (lumag:ipsec-packet-impl-3)
** https://github.com/Linaro/odp/pull/243
** Patch:
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 243 (lumag:ipsec-packet-impl-3)
** https://github.com/Linaro/odp/pull/243
** Patch:
From: Dmitry Eremin-Solenikov
Split count expiration check into two phases:
- optional precheck, run before crypto, which fails only if hard limit
is already breached
- update, run after crypto in INBOUND case, so that limits will not be
updated for
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 243 (lumag:ipsec-packet-impl-3)
** https://github.com/Linaro/odp/pull/243
** Patch:
From: Dmitry Eremin-Solenikov
Reusing IV block with GCM results in disastrous consequences. Use
counter instead of random-generated IV to remove possibility for IV
reuse.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 243 (lumag:ipsec-packet-impl-3)
** https://github.com/Linaro/odp/pull/243
** Patch:
security fix for GCM mode: proper IV generation
implementation of 32-bit replay window support
implementation of PIPELINE_CLS support
github
/** Email created from pull request 243 (lumag:ipsec-packet-impl-3)
** https://github.com/Linaro/odp/pull/243
**
Branch: refs/heads/api-next
Home: https://github.com/Linaro/odp
Commit: e3108af2f0b58c2ceca422b418439bba5de04b11
https://github.com/Linaro/odp/commit/e3108af2f0b58c2ceca422b418439bba5de04b11
Author: Dmitry Eremin-Solenikov
Date: 2017-10-20
muvarov replied on github web page:
shippable.yml
line 14
@@ -0,0 +1,45 @@
+language: c
+
+compiler:
+ - gcc
+ - clang
+
+env:
+ matrix:
+- CONF=""
+# - CONF="--disable-abi-compat"
+# - CONF="--enable-schedule-sp"
+# - CONF="--enable-schedule-iquery"
+# -
Branch: refs/heads/api-next
Home: https://github.com/Linaro/odp
Commit: 698f370e71db55624e1bd78063569369f86db389
https://github.com/Linaro/odp/commit/698f370e71db55624e1bd78063569369f86db389
Author: Dmitry Eremin-Solenikov
Date: 2017-10-19
Hi,
odp_pktio_config() works as you said:
https://github.com/Linaro/odp/blob/api-next/platform/linux-generic/odp_packet_io.c
int odp_pktio_config(odp_pktio_t hdl, const odp_pktio_config_t *config)
{
/* Check config for invalid values */
if (config->pktin.all_bits &
56 matches
Mail list logo