I've been unable to dedicate enough time to actively help in the
maintainership of the link bonding PMD, and as Chas is now actively
maintaining this PMD, I'm removing my name against it in the
MAINTAINERS file.
Signed-off-by: Declan Doherty
---
MAINTAINERS | 1 -
1 file changed,
In function check_for_bonded_ethdev the driver name is used without
validating the pointer references in the passed ethdev object.
Fixes: 740feaf349b1 ("ethdev: remove driver name from device private data")
Cc: sta...@dpdk.org
Signed-off-by: Declan Doherty
---
drivers/n
Signed-off-by: Declan Doherty
---
drivers/net/ixgbe/ixgbe_ethdev.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index e49319a14..a05527a91 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers
Changes introduced by cf80ba6e2038 modified the default name generated
for the IXGBE PF PMD, this patch reverts the default name to the
original PCI BDBF.
Fixes: cf80ba6e2038 ("net/ixgbe: add support for representor ports")
Signed-off-by: Declan Doherty
---
drivers/net/ixgbe/ixgbe_et
Add NULL parameter check for rte_eth_dev_allocated() API call to
eth_ixgbe_pci_probe().
Coverity Issue: 277216
Fixes: cf80ba6e2038 ("net/ixgbe: add support for representor ports")
Signed-off-by: Declan Doherty
---
drivers/net/ixgbe/ixgbe_ethdev.c | 4 +++-
1 file changed, 3 insert
Add NULL parameter check for rte_eth_dev_allocated() API call to
eth_ixgbe_pci_probe().
Coverity Issue: 277216
Fixes: cf80ba6e2038 ("net/ixgbe: add support for representor ports")
Signed-off-by: Declan Doherty
---
drivers/net/ixgbe/ixgbe_ethdev.c | 3 +++
1 file changed, 3 insertion
ports")
Signed-off-by: Declan Doherty
---
drivers/net/ixgbe/ixgbe_ethdev.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index 0ccf55dc8..283dd7e49 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/d
Changes introduced by cf80ba6e2038 modified the default name generated
for the IXGBE PF PMD, this patch reverts the default name to the
original PCI BDBF.
Fixes: cf80ba6e2038 ("net/ixgbe: add support for representor ports")
Signed-off-by: Declan Doherty
---
drivers/net/ixgbe/ixgbe_et
Changes introduced by e0cb96204b71 modified the default name generated
for the i40e PF PMD, this patch reverts the default name to the
original PCI BDBF.
Fixes: e0cb96204b71 ("net/i40e: add support for representor ports")
Signed-off-by: Declan Doherty
---
drivers/net/i40e/i40e_et
, failsafe and mlx5 PMDs
and testpmd application which are affected by this API change.
Signed-off-by: Declan Doherty
---
app/test-pmd/cmdline_flow.c | 6 ++--
app/test-pmd/config.c | 19 ++-
app/test-pmd/testpmd.h | 2 +-
doc/guides/prog_guide
pe = RTE_FLOW_ACTION_TYPE_COUNT, .conf = &count } },
{ .type = RTE_FLOW_ACTION_TYPE_VXLAN_ENCAP, .conf = &vxlan_encap_action
} },
{
.type = RTE_FLOW_ACTION_TYPE_PORT_ID,
.conf = &port_id_action = { port_id }
},
{ .type = RTE_FLOW_ACTION_TYPE_END }
;
Declan Doherty (4):
ethdev: Add tunnel encap/decap
ordering of the rte_flow_action_type enumeration):
- rte_flow_copy()
- rte_flow_create()
- rte_flow_query()
- rte_flow_validate()
Add support for specification of new JUMP action to testpmd's flow
cli, and update the testpmd documentation to describe this new
action.
Signed-off-by: Declan Do
stpmd documentation to describe new MARK flow item support.
Signed-off-by: Declan Doherty
---
app/test-pmd/cmdline_flow.c | 22 +
doc/guides/prog_guide/rte_flow.rst | 30 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4
[vxlan/nvgre]_encap action data.
The RTE_FLOW_ACTION_TYPE_[VXLAN/NVGRE]_DECAP action will cause all
headers associated with the outer most tunnel endpoint of the specified
type for the matching flows.
Signed-off-by: Declan Doherty
---
doc/guides/prog_guide/rte_flow.rst | 107
failsafe PMDs and
testpmd application which are affected by this API change.
Signed-off-by: Declan Doherty
---
app/test-pmd/cmdline_flow.c | 6 ++--
app/test-pmd/config.c | 15 +
app/test-pmd/testpmd.h | 2 +-
doc/guides/prog_guide
stpmd documentation to describe new MARK flow item support.
Signed-off-by: Declan Doherty
---
app/test-pmd/cmdline_flow.c | 22 +
doc/guides/prog_guide/rte_flow.rst | 30 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4
ordering of the rte_flow_action_type enumeration):
- rte_flow_copy()
- rte_flow_create()
- rte_flow_query()
- rte_flow_validate()
Add support for specification of new JUMP action to testpmd's flow
cli, and update the testpmd documentation to describe this new
action.
Signed-off-by: Declan Do
[vxlan/nvgre]_encap action data.
The RTE_FLOW_ACTION_TYPE_[VXLAN/NVGRE]_DECAP action will cause all
headers associated with the outer most tunnel endpoint of the specified
type for the matching flows.
Signed-off-by: Declan Doherty
---
doc/guides/prog_guide/rte_flow.rst | 107
{ .type = RTE_FLOW_ACTION_TYPE_COUNT, .conf = &count } },
{ .type = RTE_FLOW_ACTION_TYPE_VXLAN_ENCAP, .conf = &vxlan_encap_action
} },
{
.type = RTE_FLOW_ACTION_TYPE_PORT_ID,
.conf = &port_id_action = { port_id }
},
{ .type = RTE_F
ports that representors are to be created for.
An example of the devargs which would create VF representor for virtual
functions 0,2,4,5,6 and 7 is:
-w DBDF,representor=[0,2,4-7]
Signed-off-by: Declan Doherty
Signed-off-by: Mohammad Abdul Awal
Signed-off-by: Remy Horton
---
doc/guides/nics
: Declan Doherty
Signed-off-by: Mohammad Abdul Awal
Signed-off-by: Remy Horton
---
doc/guides/nics/i40e.rst | 15 ++
drivers/net/i40e/Makefile | 3 +
drivers/net/i40e/i40e_ethdev.c | 82 ++-
drivers/net/i40e/i40e_ethdev.h | 16 ++
drivers/net/i40e
Add the port name to information printed by show port info
Signed-off-by: Declan Doherty
---
app/test-pmd/config.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 26f416100..57853e58f 100644
--- a/app/test-pmd/config.c
+++ b/app/test
Add new device flag to specify that an ethdev port is a port representor.
Extend rte_eth_dev_info structure to expose device flags to the user which
enables applications to discover if a port is a representor port.
Signed-off-by: Declan Doherty
---
lib/librte_ether/rte_ethdev.c | 2 ++
lib
Add new bus generic ethdev create/destroy APIs which are bus independent
and provide hooks for bus specific initialisation.
Signed-off-by: Declan Doherty
---
lib/librte_ether/rte_ethdev.c | 93 +
lib/librte_ether/rte_ethdev_driver.h| 57
=[1,2,5,6,10] # create representor ports in list
-w BDF,representor=[0-31] # create representor ports in range
Signed-off-by: Remy Horton
Signed-off-by: Declan Doherty
---
doc/guides/prog_guide/poll_mode_drv.rst | 19
lib/Makefile| 1 +
lib/librte_ether
Add switch domain allocate and free API to enable NET devices to synchronise
switch domain allocation.
Signed-off-by: Declan Doherty
---
lib/librte_ether/rte_ethdev.c | 54 +
lib/librte_ether/rte_ethdev_driver.h| 39
lib
rsing code.
Declan Doherty (8):
doc: add switch representation documentation
ethdev: add switch identifier parameter to port
ethdev: add generic create/destroy ethdev APIs
ethdev: Add port representor device flag
app/testpmd: add port name to device info
ethdev: add switch domain alloc
domain id.
Signed-off-by: Declan Doherty
---
app/test-pmd/config.c | 12
lib/librte_ether/rte_ethdev.h | 27 +++
2 files changed, 39 insertions(+)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 216a7eb4e..26f416100 100644
--- a/app/test-pm
.
Signed-off-by: Adrien Mazarguil
Signed-off-by: Declan Doherty
Reviewed-by: Marko Kovacevic
---
doc/guides/prog_guide/index.rst | 1 +
doc/guides/prog_guide/switch_representation.rst | 837
2 files changed, 838 insertions(+)
create mode 100644 doc/guides
and
testpmd application which are affected by this API change.
Signed-off-by: Declan Doherty
---
app/test-pmd/cmdline_flow.c | 6 ++--
app/test-pmd/config.c| 15 -
app/test-pmd/testpmd.h | 2 +-
doc/guides/prog_guide/rte_flow.rst | 59
stpmd documentation to describe new MARK flow item support.
Signed-off-by: Declan Doherty
---
app/test-pmd/cmdline_flow.c | 22 +
doc/guides/prog_guide/rte_flow.rst | 30 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4
= RTE_FLOW_ACTION_TYPE_VXLAN_ENCAP, .conf = &vxlan_encap_action
} },
{
.type = RTE_FLOW_ACTION_TYPE_PORT_ID,
.conf = &port_id_action = { port_id }
},
{ .type = RTE_FLOW_ACTION_TYPE_END }
};
Declan Doherty (4):
ethdev: Add tunnel encap/decap
[vxlan/nvgre]_encap action data.
The RTE_FLOW_ACTION_TYPE_[VXLAN/NVGRE]_DECAP action will cause all
headers associated with the outer most tunnel endpoint of the specified
type for the matching flows.
Signed-off-by: Declan Doherty
---
doc/guides/prog_guide/rte_flow.rst | 107
ordering of the rte_flow_action_type enumeration):
- rte_flow_copy()
- rte_flow_create()
- rte_flow_query()
- rte_flow_validate()
Add support for specification of new JUMP action to testpmd's flow
cli, and update the testpmd documentation to describe this new
action.
Signed-off-by: Declan Do
Introduces a new action type RTE_FLOW_ITEM_TYPE_MARK which enables
flow patterns to specify arbitrary integer values to match aginst
which are set by the RTE_FLOW_ACTION_TYPE_MARK action in a
previously matched flow from a higher prioriry group.
Signed-off-by: Declan Doherty
---
doc/guides
testpmd application which are affected by this API change.
Signed-off-by: Declan Doherty
---
app/test-pmd/cmdline_flow.c | 6 ++---
app/test-pmd/config.c| 15 ++-
app/test-pmd/testpmd.h | 2 +-
doc/guides/prog_guide/rte_flow.rst | 52
Add support for specificaiton of new MARK flow item in testpmd's cli,
and update testpmd documentation to describe new MARK flow item support.
Signed-off-by: Declan Doherty
---
app/test-pmd/cmdline_flow.c | 22 ++
doc/guides/testpmd_app_ug/testpmd_func
Add support for specificaiton of new JUMP action to testpmd's flow
cli, and update the testpmd documentation to describe this new
action.
Signed-off-by: Declan Doherty
---
app/test-pmd/cmdline_flow.c | 23 +++
doc/guides/testpmd_app_ug/testpmd_funcs.rst
Add jump action type which defines an action which allows a matched
flow to be redirect to the specified group. This allows physical and
logical flow table/group hierarchies to be managed through rte_flow.
Signed-off-by: Declan Doherty
---
doc/guides/prog_guide/rte_flow.rst | 26
overlay
defined in the rte_flow_action_tunnel_encap action definition.
The RTE_FLOW_ACTION_TYPE_VXLAN_DECAP and
RTE_FLOW_ACTION_TYPE_NVGRE_DECAP actions will cause all headers
associated with the outermost VXLAN/NVGRE tunnel overlay to be
decapsulated from the matching flow.
Signed-off-by: Declan
CAP, .conf = &vxlan_encap_action
} },
{
.type = RTE_FLOW_ACTION_TYPE_PORT_ID,
.conf = &port_id_action = { port_id }
},
{ .type = RTE_FLOW_ACTION_TYPE_END }
};
Declan Doherty (6):
ethdev: Add tunnel encap/decap actions
ethdev: Add group action typ
ports that representors are to be created for.
An example of the devargs which would create VF representor for virtual
functions 0,2,4,5,6 and 7 is:
-w pci:D:B:D.F,representor=[0,2,4-7]
Signed-off-by: Declan Doherty
Signed-off-by: Mohammad Abdul Awal
Signed-off-by: Remy Horton
---
drivers
From: Remy Horton
Introduces a new structure, rte_eth_devargs, to support generic
ethdev arguments common across NET PMDs, with a new API
rte_eth_devargs_parse API to support PMD parsing these arguments.
Signed-off-by: Remy Horton
Signed-off-by: Declan Doherty
---
lib/Makefile
that representors are to be created for.
An example of the devargs which would create VF representor for virtual
functions 0,2,4,5,6 and 7 is:
-w pci:D:B:D.F,representor=[0,2,4-7]
Signed-off-by: Declan Doherty
Signed-off-by: Mohammad Abdul Awal
Signed-off-by: Remy Horton
---
drivers/net/i40e
Signed-off-by: Declan Doherty
---
lib/librte_ether/rte_ethdev.c | 53 +
lib/librte_ether/rte_ethdev_driver.h| 39
lib/librte_ether/rte_ethdev_version.map | 3 ++
3 files changed, 95 insertions(+)
diff --git a/lib
Add new device flag to specify that an ethdev port is a port representor.
Extend rte_eth_dev_info structure to expose device flags to the user which
enables applications to discover if a port is a representor port.
Signed-off-by: Declan Doherty
---
lib/librte_ether/rte_ethdev.c | 2 ++
lib
Add the port name to information printed by show port info
Signed-off-by: Declan Doherty
---
app/test-pmd/config.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 884bcb3b6..1b985056a 100644
--- a/app/test-pmd/config.c
+++ b/app/test
domain id.
Signed-off-by: Declan Doherty
---
app/test-pmd/config.c | 12
lib/librte_ether/rte_ethdev.h | 17 +
2 files changed, 29 insertions(+)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index dd051f5ca..884bcb3b6 100644
--- a/app/test-pmd/config.c
Add new bus generic ethdev create/destroy APIs which are bus independent
and provide hooks for bus specific initialisation.
Signed-off-by: Declan Doherty
---
lib/librte_ether/rte_ethdev.c | 95 -
lib/librte_ether/rte_ethdev_driver.h| 57
.
Signed-off-by: Adrien Mazarguil
Signed-off-by: Declan Doherty
---
doc/guides/prog_guide/index.rst | 1 +
doc/guides/prog_guide/switch_representation.rst | 837
2 files changed, 838 insertions(+)
create mode 100644 doc/guides/prog_guide
devices.
- bug fix in ethdev args parsing code.
Declan Doherty (8):
doc: add switch representation documentation
ethdev: add switch identifier parameter to port
ethdev: add generic create/destroy ethdev APIs
ethdev: Add port representor device flag
app/testpmd: add port name to device inf
also
introduces a new flow item type which enables flow patterns to specify a
specific metadata container as a matching criteria for a flow rule.
Signed-off-by: Declan Doherty
---
doc/guides/prog_guide/rte_flow.rst | 85 ++
lib/librte_ether/rte_flow.h
ount } },
{ .type = RTE_FLOW_ACTION_TYPE_TUNNEL_ENCAP, .conf = &encap_action } },
{
.type = RTE_FLOW_ACTION_TYPE_PORT_ID,
.conf = &port_id_action = { port_id }
},
{ .type = RTE_FLOW_ACTION_TYPE_END }
};
Declan Doherty (4):
ethdev: ad
Add new RTE_FLOW_ACTION_TYPE_GROUP_COUNT action type to enable shared
counters across multiple flows on a single port or across multiple
flows on multiple ports within the same switch domain.
Introduce new API rte_flow_query_group_count to allow querying of group
counters.
Signed-off-by: Declan
Add group action type which defines a terminating action which
allows a matched flow to be redirect to a group. This allows logical
flow table hierarchies to be managed through rte_flow.
Signed-off-by: Declan Doherty
---
doc/guides/prog_guide/rte_flow.rst | 23 +++
lib
tunnel_encap action data.
The RTE_FLOW_ACTION_TYPE_TUNNEL_DECAP action will cause all virtual
tunnel endpoint overlays up to and including the first instance of
the flow item type defined in the tunnel_decap action data for the
matching flows.
Signed-off-by: Declan Doherty
---
doc/guides/prog_guide
also
introduces a new flow item type which enables flow patterns to specify a
specific metadata container as a matching criteria for a flow rule.
Signed-off-by: Declan Doherty
---
doc/guides/prog_guide/rte_flow.rst | 85 ++
lib/librte_ether/rte_flow.h
Add new RTE_FLOW_ACTION_TYPE_GROUP_COUNT action type to enable shared
counters across multiple flows on a single port or across multiple
flows on multiple ports within the same switch domain.
Introduce new API rte_flow_query_group_count to allow querying of group
counters.
Signed-off-by: Declan
vtep_encap action data.
The RTE_FLOW_ACTION_TYPE_VTEP_DECAP action will cause all virtual tunnel
endpoint overlays up to and including the first instance of the flow
item type defined in the vtep_decap action data for the matching flows.
Signed-off-by: Declan Doherty
---
doc/guides/prog_guide
Add group action type which defines a terminating action which
allows a matched flow to be redirect to a group. This allows logical
flow table hierarchies to be managed through rte_flow.
Signed-off-by: Declan Doherty
---
doc/guides/prog_guide/rte_flow.rst | 23 +++
lib
{ .type=vxlan, .item = {} } }
};
struct rte_flow_action actions[] = {
{ .type = RTE_FLOW_ACTION_TYPE_GROUP_COUNT, .conf = &group_count } },
{ .type = RTE_FLOW_ACTION_TYPE_VTEP_ENCAP, .conf = &encap_action } },
{ .type = RTE_FLOW_ACTION_TYPE_PORT_ID, .conf = &port_id_action = {
por
Add the port name to information printed by show port info
Signed-off-by: Declan Doherty
---
app/test-pmd/config.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index e12f8c515..0fbdfdcdd 100644
--- a/app/test-pmd/config.c
+++ b/app/test
ports that representors are to be created for.
An example of the devargs which would create VF representor for virtual
functions 0,2,4,5,6 and 7 is:
-w pci:D:B:D.F,representor=[0,2,4-7]
Signed-off-by: Declan Doherty
Signed-off-by: Mohammad Abdul Awal
Signed-off-by: Remy Horton
---
drivers/net
ports that representors are to be created for.
An example of the devargs which would create VF representor for virtual
functions 0,2,4,5,6 and 7 is:
-w pci:D:B:D.F,representor=[0,2,4-7]
Signed-off-by: Declan Doherty
Signed-off-by: Mohammad Abdul Awal
Signed-off-by: Remy Horton
---
drivers/net
From: Remy Horton
Introduces a new structure, rte_eth_devargs, to support generic
ethdev arguments common across NET PMDs, with a new API
rte_eth_devargs_parse API to support PMD parsing these arguments.
Signed-off-by: Remy Horton
Signed-off-by: Declan Doherty
---
lib/Makefile
Add new device flag to specify that ethdev port is a port representor.
Extend rte_eth_dev_info structure to expose device flags to user which
enable applications to discover if a port is a representor port.
Signed-off-by: Declan Doherty
---
lib/librte_ether/rte_ethdev.c | 1 +
lib
Add new bus generic ethdev create/destroy APIs which are bus independent
and provide hooks for bus specific initialisation.
Signed-off-by: Declan Doherty
---
lib/librte_ether/Makefile | 1 +
lib/librte_ether/meson.build | 1 +
lib/librte_ether/rte_ethdev.c
example use cases.
Signed-off-by: Declan Doherty
---
doc/guides/prog_guide/index.rst | 1 +
doc/guides/prog_guide/switch_representation.rst | 829
2 files changed, 830 insertions(+)
create mode 100644 doc/guides/prog_guide/switch_representation.rst
Introduces a new port attribute to ethdev port's which denotes the
switch domain a port belongs to. By default all port's switch
identifiers are the their port_id. Ports which share a common switch
domain are configured with the same switch id.
Signed-off-by: Declan Doherty
---
ap
unt of the changes in
(http://dpdk.org/ml/archives/dev/2018-March/092513.html)
This patchset also includes the enablement of port representor for ixgbe
and i40e PF devices.
Adrien Mazarguil (1):
doc: add switch representation documentation
Declan Doherty (6):
ethdev: add switch identifier pa
onf = &encap_action } },
{ .type = RTE_FLOW_ACTION_TYPE_PORT, .conf = &port_action = { port_id }
},
{ .type = RTE_FLOW_ACTION_TYPE_END }
}
Signed-off-by: Declan Doherty
---
lib/librte_ether/rte_flow.h | 166 +++-
1 file changed, 1
change the xmit_hash functions to handle bursts of packet instead of
single packets at a time, and update the affected tx_burst functions.
Signed-off-by: Declan Doherty
Signed-off-by: Keith Wiles
---
V2: rebased to HEAD of next-net
drivers/net/bonding/rte_eth_bond_api.c | 3 -
drivers
On 22/11/17 11:19, Radu Nicolau wrote:
Signed-off-by: Radu Nicolau
---
...
Acked-by: Declan Doherty
change the xmit_hash functions to handle bursts of packet instead of
packet at a time. Updating effect tx_burst functions.
Signed-off-by: Declan Doherty
Signed-off-by: Keith Wiles
---
drivers/net/bonding/rte_eth_bond_api.c | 3 -
drivers/net/bonding/rte_eth_bond_pmd.c | 582
be made in
subsequent tx_burst() calls on the bonded device.
Signed-off-by: Declan Doherty
---
drivers/net/bonding/rte_eth_bond_pmd.c | 35 ++
1 file changed, 23 insertions(+), 12 deletions(-)
diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c
b/drivers/n
: Declan Doherty
---
doc/guides/rel_notes/release_17_11.rst | 7 ++
drivers/crypto/qat/qat_crypto.c| 3 +-
drivers/crypto/qat/rte_qat_cryptodev.c | 55 +++
lib/librte_cryptodev/Makefile | 1 -
lib/librte_cryptodev/rte_cryptodev_pci.h
Declan Doherty (3):
cryptodev: add new APIs to assist PMD initialisation
cryptodev: break dependency on virtual device bus
cryptodev: break dependency on PCI device bus
doc/guides/rel_notes/deprecation.rst | 5 -
doc/guides/rel_notes/release_17_11.rst | 20 +++
drivers/crypto
-by: Declan Doherty
---
doc/guides/rel_notes/deprecation.rst | 5 --
doc/guides/rel_notes/release_17_11.rst | 7 ++
drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 56
drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 73 +++
drivers/crypto/armv8
Adds new PMD assist functions which are bus independent for driver to
create and destroy new device instances.
Also includes function to parse parameters which can be passed to
driver on device initialisation.
Signed-off-by: Declan Doherty
---
doc/guides/rel_notes/release_17_11.rst
: Declan Doherty
---
doc/guides/rel_notes/deprecation.rst | 6 ++
drivers/crypto/qat/qat_crypto.c| 3 +-
drivers/crypto/qat/rte_qat_cryptodev.c | 55 +++
lib/librte_cryptodev/Makefile | 1 -
lib/librte_cryptodev/rte_cryptodev_pci.h
calls to the bus dependent functions and
updates all crypto PMDs to use the newly introduced device independent
functions.
Declan Doherty (3):
cryptodev: add new APIs to assist PMD initialisation
cryptodev: break dependency on virtual device bus
cryptodev: break dependency on rte_pci.h
doc
Adds new PMD assist functions which are bus independent for driver to
create and destroy new device instances.
Also includes function to parse parameters which can be passed to
driver on device initialisation.
Signed-off-by: Declan Doherty
---
lib/librte_cryptodev/rte_cryptodev.h
-by: Declan Doherty
---
drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 55
drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 72 +++
drivers/crypto/armv8/rte_armv8_pmd.c | 41 +++--
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c| 11 +--
drivers/crypto
: 46fb43683679 ("bond: add mode 4")
Signed-off-by: Declan Doherty
---
drivers/net/bonding/rte_eth_bond_8023ad.c | 37 +--
1 file changed, 15 insertions(+), 22 deletions(-)
diff --git a/drivers/net/bonding/rte_eth_bond_8023ad.c
b/drivers/n
hich wish to support this functionality.
On Thu, Sep 7, 2017 at 9:35 AM, Mohammad Abdul Awal <
mohammad.abdul.a...@intel.com> wrote:
Signed-off-by: Mohammad Abdul Awal
Signed-off-by: Remy Horton
Signed-off-by: Declan Doherty
---
This RFC introduces a port representor based model for t
On 12/07/2017 9:15 PM, Jan Blunck wrote:
This function is an alias for rte_vdev_init() which is scheduled to move
out of the rte_eal library. Lets deprecate this function to be able to
remove it from the cryptodev library in 17.11.
Signed-off-by: Jan Blunck
---
...
Acked-by: Declan
lo de Lara
---
...
Acked-by: Declan Doherty
: Pablo de Lara
---
...
Acked-by: Declan Doherty
lsc_flag = 1;
+
/* Update primary id, take first active slave from list or if
none
* available set to -1 */
if (port_id == internals->current_primary_port) {
Acked-by: Declan Doherty
BONDING_MODE_ACTIVE_BACKUP, rte_socket_id());
TEST_ASSERT(bonded_port_id > 0, "failed to create bonded device");
Acked-by: Declan Doherty
top(struct rte_eth_dev
*eth_dev __rte_unused)
goto err;
pci_dev->device.numa_node = socket_id;
+ pci_dev->device.name = eth_dev->data->name;
pci_drv->driver.name = virtual_ethdev_driver_name;
pci_drv->id_table = id_table;
Acked-by: Declan Doherty
te;
+
if (valid_slave_port_id(slave_port_id, internals->mode) != 0)
return -1;
-
internals->user_defined_primary_port = 1;
internals->primary_port = slave_port_id;
Acked-by: Declan Doherty
_RING_SIZE 1024
#define RXTX_QUEUE_COUNT 4
-#define BONDED_DEV_NAME ("rssconf_bond_dev")
+#define BONDED_DEV_NAME ("net_bonding_rss")
#define SLAVE_DEV_NAME_FMT ("net_null%d")
#define SLAVE_RXTX_QUEUE_FMT ("rssconf_slave%d_q%d")
Acked-by: Declan Doherty
Hey Akhil, I like the proposal of allowing the rte_secruity API to be
supported on both NIC and crypto devices as I think it allows us to
cover all the protocol offload scenarios in a consist manner.
The main concern I have is in regards to the device identification in a
consistent manner betw
static int
test_balance_l23_tx_burst_ipv4_toggle_ip_addr(void)
{
- return balance_l23_tx_burst(0, 1, 1, 0);
+ return balance_l23_tx_burst(0, 1, 0, 1);
}
static int
Acked-by: Declan Doherty
On 19/07/2017 3:54 PM, Daniel Mrzyglod wrote:
Signed-off-by: Daniel Mrzyglod
---
...
Acked-by: Declan Doherty
On 19/07/2017 3:46 PM, Daniel Mrzyglod wrote:
This patch add support for different aggregator modes in similar manner
that is provided in linux kernel.
testpmd> set bonding agg_mode
testpmd> show bonding config
Signed-off-by: Daniel Mrzyglod
---
...
Acked-by: Declan Doherty
changed, 274 insertions(+), 14 deletions(-)
diff --git a/drivers/net/bonding/rte_eth_bond_8023ad.c
b/drivers/net/bonding/rte_eth_bond_8023ad.c
index a2313b327..eb273988a 100644
--- a/drivers/net/bonding/rte_eth_bond_8023ad.c
...
Acked-by: Declan Doherty
status bit is set. Prior to put this operation to output
buffer, scheduler clears this bit, so the application gets
unmodified status from crypto pmd.
Fixes: 4c07e0552f0a ("crypto/scheduler: add multicore scheduling mode")
Signed-off-by: Kirill Rybalchenko
---
...
Acked-by: Declan Doherty
of public API.
Signed-off-by: Kirill Rybalchenko
---
...
Acked-by: Declan Doherty
1 - 100 of 587 matches
Mail list logo