make a couple eth_dev_ops const
cover make a couple eth_dev_ops const
Really trivial patches.
I also consider this a litmus test of how long it takes DPDK project to merge trivial maintaince patches.
Stephen Hemminger (2):
bnx: make eth_dev_ops const
ena: make eth_dev_ops const
drivers/net/bnxt/bnxt_ethdev.c | 2 +- drivers/net/ena/ena_ethdev.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.11.0
Quoted 1 line · Stephen Hemminger
Really trivial patches.
Patches are not in patchwork, and not in the mail list.
Quoted 10 lines
I also consider this a litmus test of how long it takes DPDK project to merge trivial maintaince patches.
Stephen Hemminger (2):
bnx: makeeth_dev_opsconst
ena: makeeth_dev_opsconstdrivers/net/bnxt/bnxt_ethdev.c | 2 +- drivers/net/ena/ena_ethdev.c | 2 +-
Right, ena and bnxt are missing const for eth_dev_ops. Do you want me send patches?
Quoted 2 lines
2 files changed, 2 insertions(+), 2 deletions(-)
2017-01-12 21:54, Ferruh Yigit:
Quoted 7 lines · Stephen Hemminger
Quoted 1 line
Really trivial patches.
Patches are not in patchwork, and not in the mail list.
Quoted 2 lines
I also consider this a litmus test of how long it takes DPDK project to merge trivial maintaince patches.
This is a nice example of why patches are not merged timely, sometimes they are not received at all :)
In order to reduce the time needed to merge, could you please run devtools/check-git-log.sh ?
PATCH 1/1 net/bnxt: make eth dev ops struct const
In reply to Stephen Hemminger--- drivers/net/bnxt/bnxt_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/bnxt/bnxt_ethdev.c +1 -1
@@ -1002,7 +1002,7 @@ static int bnxt_flow_ctrl_set_op(struct rte_eth_dev *dev,* Initialization */ -static struct eth_dev_ops bnxt_dev_ops = { +static const struct eth_dev_ops bnxt_dev_ops = { .dev_infos_get = bnxt_dev_info_get_op, .dev_close = bnxt_dev_close_op, .dev_configure = bnxt_dev_configure_op,
Signature · 1 line
2.9.3
PATCH 1/1 net/ena: make eth dev ops struct const
--- drivers/net/ena/ena_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ena/ena_ethdev.c +1 -1
@@ -227,7 +227,7 @@ static int ena_rss_reta_query(struct rte_eth_dev *dev, uint16_t reta_size);static int ena_get_sset_count (struct rte_eth_dev *dev,int sset); -static struct eth_dev_ops ena_dev_ops = { +static const struct eth_dev_ops ena_dev_ops = { .dev_configure = ena_dev_configure, .dev_infos_get = ena_infos_get, .rx_queue_setup = ena_rx_queue_setup,
Signature · 1 line
2.9.3
Re: [PATCH] net/bnxt: make eth dev ops struct const
In reply to Ferruh YigitQuoted 2 lines · Ferruh Yigit
Reported-by Stephen Hemminger <[email protected]>Signed-off-by Ferruh Yigit <[email protected]>
Both applied to dpdk-next-net/master, thanks.
Re: [PATCH] net/bnxt: make eth dev ops struct const
2017-01-16 13:44, Ferruh Yigit:
Quoted 5 lines · Ferruh Yigit
Quoted 2 lines
Reported-by Stephen Hemminger <[email protected]>Signed-off-by Ferruh Yigit <[email protected]>Both applied to dpdk-next-net/master, thanks.
I must admit it is the force of Stephen:
he sends just a cover letter and do not reply, so you do the patch for him :)
Re: [PATCH] net/bnxt: make eth dev ops struct const
Quoted 9 lines · On Tue, 17 Jan 2017 21:57:33 +0100 Thomas Monjalon <[email protected]>…
2017-01-16 13:44, Ferruh Yigit:
Quoted 5 lines · Ferruh Yigit
Quoted 2 lines
Reported-by Stephen Hemminger <[email protected]>Signed-off-by Ferruh Yigit <[email protected]>Both applied to dpdk-next-net/master, thanks.
I must admit it is the force of Stephen:
he sends just a cover letter and do not reply, so you do the patch for him :)
Actually I did do the patches but git send-email ate them :-)
Re: [PATCH] net/bnxt: make eth dev ops struct const
In reply to Ferruh YigitQuoted 6 lines · Ferruh Yigit
Quoted 2 lines · Ferruh Yigit
Reported-by Stephen Hemminger <[email protected]>Signed-off-by Ferruh Yigit <[email protected]>Both applied to dpdk-next-net/master, thanks.
Updated mail address of Stephen to the mail address initially used: