git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/mlx5: move Linux-specific functions
[dpdk.git]
/
drivers
/
net
/
bonding
/
rte_eth_bond_pmd.c
diff --git
a/drivers/net/bonding/rte_eth_bond_pmd.c
b/drivers/net/bonding/rte_eth_bond_pmd.c
index
a2d13d9
..
612a645
100644
(file)
--- a/
drivers/net/bonding/rte_eth_bond_pmd.c
+++ b/
drivers/net/bonding/rte_eth_bond_pmd.c
@@
-21,8
+21,8
@@
#include <rte_string_fns.h>
#include "rte_eth_bond.h"
#include <rte_string_fns.h>
#include "rte_eth_bond.h"
-#include "
rte_
eth_bond_private.h"
-#include "
rte_
eth_bond_8023ad_private.h"
+#include "eth_bond_private.h"
+#include "eth_bond_8023ad_private.h"
#define REORDER_PERIOD_MS 10
#define DEFAULT_POLLING_INTERVAL_10_MS (10)
#define REORDER_PERIOD_MS 10
#define DEFAULT_POLLING_INTERVAL_10_MS (10)
@@
-489,9
+489,9
@@
update_client_stats(uint32_t addr, uint16_t port, uint32_t *TXorRXindicator)
#endif
static void
#endif
static void
-mode6_debug(const char __
attribute__((unused))
*info,
+mode6_debug(const char __
rte_unused
*info,
struct rte_ether_hdr *eth_h, uint16_t port,
struct rte_ether_hdr *eth_h, uint16_t port,
- uint32_t __
attribute__((unused))
*burstnumber)
+ uint32_t __
rte_unused
*burstnumber)
{
struct rte_ipv4_hdr *ipv4_h;
#ifdef RTE_LIBRTE_BOND_DEBUG_ALB
{
struct rte_ipv4_hdr *ipv4_h;
#ifdef RTE_LIBRTE_BOND_DEBUG_ALB
@@
-2439,7
+2439,8
@@
bond_ethdev_link_update(struct rte_eth_dev *ethdev, int wait_to_complete)
bond_ctx->mode4.slave_link.link_autoneg;
ethdev->data->dev_link.link_duplex =
bond_ctx->mode4.slave_link.link_duplex;
bond_ctx->mode4.slave_link.link_autoneg;
ethdev->data->dev_link.link_duplex =
bond_ctx->mode4.slave_link.link_duplex;
- /* fall through to update link speed */
+ /* fall through */
+ /* to update link speed */
case BONDING_MODE_ROUND_ROBIN:
case BONDING_MODE_BALANCE:
case BONDING_MODE_TLB:
case BONDING_MODE_ROUND_ROBIN:
case BONDING_MODE_BALANCE:
case BONDING_MODE_TLB: