numam-dpdk/drivers/net
Adrien Mazarguil fee75e14f3 net/mlx4: simplify trigger code for flow rules
Since flow rules synchronization function mlx4_flow_sync() takes into
account the state of the device (whether it is started), trigger functions
mlx4_flow_start() and mlx4_flow_stop() are redundant. Standardize on
mlx4_flow_sync().

Use this opportunity to enhance this function with better error reporting
as the inability to start the device due to a problem with a flow rule
otherwise results in a nondescript error code.

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
2017-10-13 01:18:48 +01:00
..
af_packet ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
ark ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
avp ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
bnx2x ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
bnxt net/bnxt: fix port id type 2017-10-13 01:17:49 +01:00
bonding ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
cxgbe mk: sort source files before compilation 2017-10-12 22:31:33 +02:00
dpaa ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
dpaa2 ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
e1000 mk: sort source files before compilation 2017-10-12 22:31:33 +02:00
ena ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
enic ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
failsafe ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
fm10k mk: sort source files before compilation 2017-10-12 22:31:33 +02:00
i40e net/i40e: fix mbuf free in vector Tx 2017-10-13 01:15:10 +01:00
ixgbe mk: sort source files before compilation 2017-10-12 22:31:33 +02:00
kni ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
liquidio net/liquidio: fix port id type 2017-10-13 01:17:49 +01:00
mlx4 net/mlx4: simplify trigger code for flow rules 2017-10-13 01:18:48 +01:00
mlx5 ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
mrvl ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
nfp ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
null ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
octeontx ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
pcap ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
qede mk: sort source files before compilation 2017-10-12 22:31:33 +02:00
ring ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
sfc mk: sort source files before compilation 2017-10-12 22:31:33 +02:00
softnic net/softnic: add TM hierarchy related ops 2017-10-12 01:52:48 +01:00
szedata2 ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
tap ethdev: expose flow API error helper 2017-10-13 01:18:47 +01:00
thunderx mk: sort source files before compilation 2017-10-12 22:31:33 +02:00
vhost ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
virtio ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
vmxnet3 ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
Makefile net/softnic: add softnic PMD 2017-10-12 01:52:38 +01:00