xref: /spdk/test/common/config/pkgdep/patches/ice/0001-devlink_param.patch (revision 92b7734c39d3e4ca89dac6b296a4c6aff8cacc46)
1*92b7734cSMichal BergerSee: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5625ca5640
2*92b7734cSMichal Berger---
3*92b7734cSMichal Berger src/ice_devlink.c | 12 ++++++------
4*92b7734cSMichal Berger 1 file changed, 6 insertions(+), 6 deletions(-)
5*92b7734cSMichal Berger
6*92b7734cSMichal Bergerdiff --git a/src/ice_devlink.c b/src/ice_devlink.c
7*92b7734cSMichal Bergerindex 623000e..a7fbe26 100644
8*92b7734cSMichal Berger--- a/src/ice_devlink.c
9*92b7734cSMichal Berger+++ b/src/ice_devlink.c
10*92b7734cSMichal Berger@@ -502,7 +502,7 @@ ice_devlink_minsrev_get(struct devlink *devlink, u32 id, struct devlink_param_gs
11*92b7734cSMichal Berger  * Returns: zero on success, or an error code on failure.
12*92b7734cSMichal Berger  */
13*92b7734cSMichal Berger static int
14*92b7734cSMichal Berger-ice_devlink_minsrev_set(struct devlink *devlink, u32 id, struct devlink_param_gset_ctx *ctx)
15*92b7734cSMichal Berger+ice_devlink_minsrev_set(struct devlink *devlink, u32 id, struct devlink_param_gset_ctx *ctx, struct netlink_ext_ack *extack)
16*92b7734cSMichal Berger {
17*92b7734cSMichal Berger 	struct ice_pf *pf = devlink_priv(devlink);
18*92b7734cSMichal Berger 	struct device *dev = ice_pf_to_dev(pf);
19*92b7734cSMichal Berger@@ -723,7 +723,7 @@ static int ice_devlink_txbalance_get(struct devlink *devlink, u32 id,
20*92b7734cSMichal Berger  * Returns zero on success and negative value on failure.
21*92b7734cSMichal Berger  */
22*92b7734cSMichal Berger static int ice_devlink_txbalance_set(struct devlink *devlink, u32 id,
23*92b7734cSMichal Berger-				     struct devlink_param_gset_ctx *ctx)
24*92b7734cSMichal Berger+				     struct devlink_param_gset_ctx *ctx, struct netlink_ext_ack *extack)
25*92b7734cSMichal Berger {
26*92b7734cSMichal Berger 	struct ice_pf *pf = devlink_priv(devlink);
27*92b7734cSMichal Berger 	struct device *dev = ice_pf_to_dev(pf);
28*92b7734cSMichal Berger@@ -838,7 +838,7 @@ static int ice_devlink_loopback_get(struct devlink *devlink, u32 id,
29*92b7734cSMichal Berger  * Returns zero on success.
30*92b7734cSMichal Berger  */
31*92b7734cSMichal Berger static int ice_devlink_loopback_set(struct devlink *devlink, u32 id,
32*92b7734cSMichal Berger-				    struct devlink_param_gset_ctx *ctx)
33*92b7734cSMichal Berger+				    struct devlink_param_gset_ctx *ctx, struct netlink_ext_ack *extack)
34*92b7734cSMichal Berger {
35*92b7734cSMichal Berger 	int new_loopback_mode = ice_devlink_loopback_str_to_mode(ctx->val.vstr);
36*92b7734cSMichal Berger 	struct ice_pf *pf = devlink_priv(devlink);
37*92b7734cSMichal Berger@@ -2957,7 +2957,7 @@ ice_devlink_tc_inline_fd_validate(struct devlink *devlink, u32 id,
38*92b7734cSMichal Berger  */
39*92b7734cSMichal Berger static int
40*92b7734cSMichal Berger ice_devlink_tc_inline_fd_set(struct devlink *devlink, u32 id,
41*92b7734cSMichal Berger-			     struct devlink_param_gset_ctx *ctx)
42*92b7734cSMichal Berger+			     struct devlink_param_gset_ctx *ctx, struct netlink_ext_ack *extack)
43*92b7734cSMichal Berger {
44*92b7734cSMichal Berger 	struct ice_pf *pf = devlink_priv(devlink);
45*92b7734cSMichal Berger 	struct ice_vsi *vsi = pf->vsi[0];
46*92b7734cSMichal Berger@@ -3047,7 +3047,7 @@ ice_devlink_tc_qps_per_poller_validate(struct devlink *devlink, u32 id,
47*92b7734cSMichal Berger  */
48*92b7734cSMichal Berger static int
49*92b7734cSMichal Berger ice_devlink_tc_qps_per_poller_set(struct devlink *devlink, u32 id,
50*92b7734cSMichal Berger-				  struct devlink_param_gset_ctx *ctx)
51*92b7734cSMichal Berger+				  struct devlink_param_gset_ctx *ctx, struct netlink_ext_ack *extack)
52*92b7734cSMichal Berger {
53*92b7734cSMichal Berger 	struct ice_pf *pf = devlink_priv(devlink);
54*92b7734cSMichal Berger 	struct ice_vsi *ch_vsi;
55*92b7734cSMichal Berger@@ -3135,7 +3135,7 @@ ice_devlink_tc_poller_timeout_validate(struct devlink *devlink, u32 id,
56*92b7734cSMichal Berger  */
57*92b7734cSMichal Berger static int
58*92b7734cSMichal Berger ice_devlink_tc_poller_timeout_set(struct devlink *devlink, u32 id,
59*92b7734cSMichal Berger-				  struct devlink_param_gset_ctx *ctx)
60*92b7734cSMichal Berger+				  struct devlink_param_gset_ctx *ctx, struct netlink_ext_ack *extack)
61*92b7734cSMichal Berger {
62*92b7734cSMichal Berger 	struct ice_pf *pf = devlink_priv(devlink);
63*92b7734cSMichal Berger 	struct ice_vsi *ch_vsi;
64*92b7734cSMichal Berger--
65*92b7734cSMichal Berger
66