Skip to contentSkip to conversation

drivers: ipmi: Modify max length of IPMB packet

PATCH New Vijay Khemka 2 participants 2 messages Dec 11, 2019 IPMI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers: ipmi: Modify max length of IPMB packet

As per IPMB specification, maximum packet size supported is 255, modified Max length to 240 from 128 to accommodate more data.

---
 drivers/char/ipmi/ipmb_dev_int.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/char/ipmi/ipmb_dev_int.c +1 -1
index 68a254c0dd92..382e4a1df510 100644
@@ -19,7 +19,7 @@
 #include <linux/spinlock.h>
 #include <linux/wait.h>
 
-#define MAX_MSG_LEN		128
+#define MAX_MSG_LEN		240
 #define IPMB_REQUEST_LEN_MIN	7
 #define NETFN_RSP_BIT_MASK	0x4
 #define REQUEST_QUEUE_MAX_LEN	256
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 drivers: ipmi: Modify max length of IPMB packet

Quoted 2 lines · Vijay Khemka

As per IPMB specification, maximum packet size supported is 255, modified Max length to 240 from 128 to accommodate more data.

This is in my next tree.

Thanks,

-corey

Quoted 22 lines
---
 drivers/char/ipmi/ipmb_dev_int.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/char/ipmi/ipmb_dev_int.c +1 -1
index 68a254c0dd92..382e4a1df510 100644
@@ -19,7 +19,7 @@
 #include <linux/spinlock.h>
 #include <linux/wait.h>
 
-#define MAX_MSG_LEN		128
+#define MAX_MSG_LEN		240
 #define IPMB_REQUEST_LEN_MIN	7
 #define NETFN_RSP_BIT_MASK	0x4
 #define REQUEST_QUEUE_MAX_LEN	256
Signature · 1 line
2.17.1